This API is used to obtain the angle (in radians) of each element in the input tensor.
Formulas:
Each operator consists of two functions (../common/Two-Phase Interface.md). You must call the aclnnAngleV2GetWorkspaceSize API to obtain the workspace size required for computation and the executor that contains the operator execution process, and then call the aclnnAngleV2 API to perform the computation.
[object Object]
[object Object]
Parameter description:
[object Object]Returns
[object Object]: status code. For details, see .The first-phase API implements input parameter validation. The following error codes may be returned.
[object Object]
- Deterministic computation:
- The aclnnAngleV2 is implemented in deterministic mode by default.
The following example is for reference only. For details, see .
[object Object]