This API is used to obtain the real part of each element in the input tensor.
Formula:
Each operator is divided into two phases (../common/Two-Phase Interface.md). You must call aclnnRealGetWorkspaceSize to obtain the workspace size required for computation and the executor that contains the operator computation process, and then call aclnnReal to perform computation.
[object Object]
[object Object]
Parameters:
[object Object]Returns:
[object Object]: status code. For details, see .The first-phase API implements input parameter verification. The following errors may be returned:
[object Object]
- Deterministic computation:
[object Object]defaults to a deterministic implementation.
The following example is for reference only. For details, see .
[object Object]