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

End

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

Marks the output of a subgraph. The End operator receives the input tensor x, and the shape and data type of the output y are consistent with those of the input x.

Parameter Description

Parameter Name Input/Output/Attribute Description Data Type Data Format
x Input Input tensor. TensorType::ALL() ND
peerIndex Attribute Index of the corresponding connected "placeholder" node. Int, with the default value 0 -
parentOpType Attribute Operator type of the original node. String, with the default value "" -
y Output Marked subgraph output tensor, whose shape and data type are consistent with those of the input x. TensorType::ALL() ND

Constraint Description

  • End is an internal node. The system automatically inserts it at subgraph boundaries during graph compilation. It must be used together with the paired PlaceHolder node and the peerIndex attribute, and cannot be compiled and executed independently in user-built graphs.

Invocation Description

The End operator is an internal basic operator. The system automatically inserts it during subgraph splitting, and it is not invoked separately.

Invocation Method Invocation Sample Description
Graph-mode invocation test_geir_end Invokes the End operator by building a graph through the operator IR