- Function: The erfinv function is the inverse function of the Gaussian error function erf. It returns the quantile of each element in the input tensor in the standard normal distribution function.
- Formula:
- aclnnErfinv and aclnnInplaceErfinv implement the same function. Select the appropriate operator based on actual service scenarios.
- aclnnErfinv: An output tensor object must be created to store the computation result.
- aclnnInplaceErfinv: No output tensor object needs to be created, and the computation result is stored in the memory of the input tensor.
- Each operator has calls. First, aclnnErfinvGetWorkspaceSize or aclnnInplaceErfinvGetWorkspaceSize is called to obtain the workspace size required for computation and the executor that contains the operator computation flow. Then, aclnnErfinv or aclnnInplaceErfinv is called to perform computation.
[object Object]
[object Object]
[object Object]
[object Object]
Parameters
[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]
Parameters
[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:
- aclnnErfinv and aclnnInplaceErfinv default to a deterministic implementation.
The following example is for reference only. For details, see .
[object Object]