[object Object]

[object Object][object Object]undefined
[object Object]
  • Function: performs the arcsine operation on each element of the input matrix and outputs the result.

  • Formula:

    outi=sin1(inputi)out_{i}=sin^{-1}(input_{i})
[object Object]
  • [object Object] and [object Object] implement the same function in different ways. Select a proper operator based on your requirements.
    • [object Object]: An output tensor object needs to be created to store the computation result.
    • [object Object]: No output tensor object needs to be created, and the computation result is written in place to the input tensor's memory.
  • Each operator is divided into two phases (../common/Two-Phase Interface.md). You must call aclnnAsinGetWorkspaceSize or aclnnInplaceAsinGetWorkspaceSize to obtain the workspace size required for computation and the executor that contains the operator computation process, and then call aclnnAsin or aclnnInplaceAsin to perform computation.
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
  • Parameters:

    [object Object]
    • For the [object Object]Atlas A3 training products/Atlas A3 inference products[object Object], the self and out data types also support BFLOAT16. When the data type is BFLOAT16, the data is converted to FLOAT16 for computation and then converted to BFLOAT16 for output.
  • Returns:

    [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]
  • Returns:

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

[object Object]
  • Parameters:

    [object Object]
    • For the [object Object]Atlas A3 training products/Atlas A3 inference products[object Object], the selfRef data type supports BFLOAT16.
  • Returns:

    [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]
  • Returns:

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

[object Object]
  • Deterministic computation:
    • [object Object] and [object Object] each default to a deterministic implementation.
[object Object]

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

Sample code of aclnnAsin:

[object Object]

Sample code of aclnnInplaceAsin:

[object Object]