[object Object]

[object Object][object Object]undefined
[object Object]
  • Description: Computes the inverse error function (erfinv) for each element in the input tensor, returning the quantile value of the standard normal distribution corresponding to each element.
  • Formula:y=erfinv(x)x=erf(y)=2π0yet2dty = erfinv(x) \\ x = erf(y)=\frac{2}{\sqrt{\pi } } \int_{0}^{y} e^{-t^{2} } \mathrm{d}t
[object Object]
  • 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]
[object Object]
  • Parameters

    [object Object]
    • [object Object]Atlas training series products[object Object]: The data type can be FLOAT or FLOAT16.
  • Returns

    aclnnStatus: 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

    aclnnStatus: status code. For details, see .

[object Object]
  • Parameters

    [object Object]
    • [object Object]Atlas training series products[object Object]: The data type can be FLOAT or FLOAT16.
  • Returns

    aclnnStatus: 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

    aclnnStatus: status code. For details, see .

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

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

[object Object]