FilesLast commitLast update
17 days ago
2 months ago
3 months ago
1 month ago
11 days ago
3 days ago
7 months ago
11 days ago
3 days ago
1 month ago
9 days ago
README

Erf

English | 简体中文

Product Support Status

Product Supported
Ascend 950PR&950DT products √
Atlas A3 products √
Atlas A2 products √
Atlas 200I/500 A2 inference products ×
Atlas inference products ×
Atlas training products √

Function Description

  • Operator function: returns the value of the error function for each element in the input Tensor.

  • Computation formula:

y=2π∫0xe−t2dty=\frac{2}{\sqrt{\pi } } \int_{0}^{x} e^{-t^{2} } \mathrm{d}t

Parameter Description

Parameter Name Input/Output/Attribute Description Data Type Data Format
x Input Input parameter for the erf computation, which is x in the formula. BFLOAT16, FLOAT16, FLOAT ND
y Output Output parameter for the erf computation, which is y in the formula. BFLOAT16, FLOAT16, FLOAT ND
  • Atlas A2 products and Atlas training products: the BFLOAT16 data type is not supported.

Constraint Description

None

Invocation Description

Invocation Method Invocation Sample Description
aclnn invocation test_aclnn_erf Invokes the Erf operator through the aclnnErf API.