FilesLast commitLast update
18 days ago
18 days ago
18 days ago
18 days ago
18 days ago
18 days ago
9 days ago
README

AippData

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

Used in dynamic AIPP (AI Pre-Processing) scenarios. When aipp-mode in the AIPP configuration file is set to dynamic, the framework automatically adds an AippData node at the end of the graph. The AippData operator directly passes the input tensor data to the output tensor out, and identifies the AIPP sequence number through the index attribute.

Parameter Description

Parameter Name Input/Output/Attribute Description Data Type Data Format
data Input Input tensor. In dynamic AIPP scenarios, this is usually uint8 data in NCHW or NHWC layout. TensorType::ALL() ND
index Attribute AIPP sequence number. Int, with the default value of 0 -
out Output Tensor that has the same shape and data type as the input tensor data. TensorType::ALL() ND

Constraint Description

  • The shape and data type of the output tensor out must be the same as those of the input tensor data.

Invocation Description

The AippData operator is automatically inserted by the framework in dynamic AIPP scenarios, and is not invoked separately.

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