FilesLast commitLast update
2 months ago
2 months ago
16 days ago
7 days ago
7 days ago
2 months ago
7 days ago
8 days ago
1 month ago
14 days ago
README

Unpack

English | 简体中文

Product Support Status

Product Supported
Ascend 950PR&950DT products √
Atlas A3 products √
Atlas A2 products √
Atlas 200I/500 A2 inference products √
Atlas inference products √
Atlas training products √

Function Description

  • Operator function: splits a tensor along a dimension into multiple sub-tensors.

Parameter Description

Parameter Name Input/Output/Attribute Description Data Type Data Format
x Input Input tensor INT64, INT32, UINT32, FLOAT, FLOAT16, INT8, UINT8, BFLOAT16, INT16, UINT16, BOOL ND
num Input attribute Number of splits INT -
axis Input attribute Dimension along which the tensor is split INT -
y Output Size of the input tensor in the specified dimension INT64, INT32, UINT32, FLOAT, FLOAT16, INT8, UINT8, BFLOAT16, INT16, UINT16, BOOL ND

Constraint Description

None

Invocation Description

Invocation Method Invocation Sample Description
Graph-mode invocation test_geir_unpack Invokes the Unpack operator by building a graph through the operator IR.