FilesLast commitLast update
17 days ago
2 months ago
3 months ago
1 month ago
10 days ago
2 days ago
2 months ago
10 days ago
2 days ago
28 days ago
9 days ago
README

Log1p

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 log(1+x) for the elements in the input tensor x element-wise, and saves the result to the output tensor y.
  • Computation formula:

y=loge(x+1)y = log_{e}(x+1)

Parameter Description

Parameter Name Input/Output/Attribute Description Data Type Data Format
x Input Input tensor, which is x in the formula. FLOAT, FLOAT16, BFLOAT16 ND
y Output Output tensor, which is y in the formula, and its shape is the same as that of x. FLOAT, FLOAT16, BFLOAT16 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_log1p Invokes the Log1p operator through the aclnnLog1p or aclnnInplaceLog1p API.