This API performs the exponential operation on each tensor in the input tensor list x. The exponent is the tensor scale, which corresponds to
[object Object]in the formula.Formula:
Each operator has calls. First, aclnnForeachPowScalarGetWorkspaceSize is called to obtain the input parameters and compute the required workspace size based on the process. Then, aclnnForeachPowScalar is called 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 thrown.
[object Object]
- Deterministic computation:
- aclnnForeachPowScalar defaults to a deterministic implementation.
The following example is for reference only. For details, see .
[object Object]