[object Object]

[object Object][object Object]undefined
[object Object]

Exchanges any dimension of a tensor. For example, if the input [object Object] is a tensor with shape [2, 3, 5] and [object Object] is (2, 0, 1), the output is a tensor with shape [5, 2, 3].

[object Object]

Each operator has calls. First, aclnnPermuteGetWorkspaceSize is called to obtain the workspace size required for computation and the executor that contains the operator computation process. Then, aclnnPermute is called to perform computation.

[object Object]
[object Object]
[object Object]
  • Parameters

    [object Object]
    • For the [object Object]Atlas training products[object Object], the data type cannot be COMPLEX128, BFLOAT16, HIFLOAT8, FLOAT8_E5M2 or FLOAT8_E4M3FN.
    • For the [object Object]Atlas A2 training products/Atlas A2 inference products[object Object] and [object Object]Atlas A3 training products/Atlas A3 inference products[object Object], the data type cannot be HIFLOAT8, FLOAT8_E5M2 or FLOAT8_E4M3FN.
  • Return Value

    [object Object]: status code. For details, see .

    The first-phase API implements input parameter verification. The following errors may be thrown.

    [object Object]
[object Object]
  • Parameters

    [object Object]
  • Return Value

    [object Object]: status code. For details, see .

[object Object]
  • Deterministic computation:
    • aclnnPermute defaults to deterministic implementation.
[object Object]

The following examples are for reference only. For details, see .

[object Object]