FilesLast commitLast update
16 days ago
2 months ago
3 months ago
1 month ago
3 months ago
28 days ago
3 months ago
1 month ago
28 days ago
1 month ago
8 days ago
README

Erfc

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 complementary error function for each element in the input Tensor.

  • Computation formula:

y=erfc(x)=1−2π∫0xe−t2dty=erfc(x)=1-\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 erfc computation, which is x in the formula. BFLOAT16, FLOAT16, FLOAT ND
y Output Output parameter for the erfc computation, which is y in the formula. BFLOAT16, FLOAT16, FLOAT ND
  • Atlas A2 products, Atlas inference 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_erfc Invokes the Erfc operator through the aclnnErfc API.
Graph mode test_geir_erfc Invokes the Erfc operator by building a graph through the operator IR.