FilesLast commitLast update
10 months ago
2 months ago
9 months ago
10 months ago
1 month ago
7 months ago
3 months ago
1 month ago
12 days ago
README

InvertPermutation

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: computes the inverse permutation of the input tensor x.

  • Computation formula: y[x[i]] = i, where 0 <= i < len(x)

Parameter Description

Parameter Name Input/Output/Attribute Description Data Type Data Format
x Input Input tensor. INT32, INT64 1D
y Output Inverse permutation of the input tensor x INT32, INT64 1D

Constraint Description

  • None.

Invocation Description

Invocation Method Sample Code Description
Graph-mode invocation test_geir_invert_permutation Invokes the invert_permutation operator by building a graph through the operator IR.