FilesLast commitLast update
19 days ago
2 months ago
3 months ago
1 month ago
13 days ago
5 days ago
6 months ago
13 days ago
5 days ago
1 month ago
11 days ago
README

Expm1

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: computes the power of the natural constant e with the input x as the exponent, and then subtracts 1 from the exponential computation result. For scenarios where x takes small values, this operator provides higher precision than directly computing the result with the formula.

  • Computation formula:

y=ex−1y=e^{x}-1

Parameter Description

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

Constraint Description

None

Invocation Description

Invocation Method Invocation Sample Description
aclnn invocation test_aclnn_expm1 Invokes the Expm1 operator through the aclnnExpm1 API.