[object Object]

[object Object][object Object]undefined
[object Object]
  • Function: Reverses the specified dimension of an n-dimensional tensor.
  • Formula:out(i0,i1,,in1)=input(j0,j1,,jn1)\operatorname{out}(i_0, i_1, \ldots, i_{n-1}) = \operatorname{input}(j_0, j_1, \ldots, j_{n-1}) nn is the dimension of the input tensor, and jk=dimSize(k)1ikj_k = \operatorname{dimSize}(k) - 1 - i_k, dimSize(k)\operatorname{dimSize} (k)indicates the length of the kkth axis.
[object Object]

Each operator has calls. First, aclnnFlipGetWorkspaceSize is called to obtain the workspace size required for computation and the executor that contains the operator computation flow. Then, aclnnFlip is called to perform computation.

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

    [object Object]
    • [object Object]Atlas training products[object Object] and [object Object]Atlas inference products[object Object]: The BFLOAT16 data type is not supported.
  • 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:
    • aclnnFlip defaults to a deterministic implementation.
[object Object]

The following example is for reference only. For details, see .

[object Object]