FilesLast commitLast update
14 days ago
3 months ago
9 days ago
9 days ago
14 days ago
9 days ago
5 months ago
14 days ago
14 days ago
README

AsinhGrad

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 asinh_grad(y, dy), that is, the gradient of the inverse hyperbolic sine function.

  • Computation formula:

    dx=dycosh⁡(y)dx = \frac{dy}{\cosh(y)}

Parameter Description

Parameter Name Input/Output Description Data Type Data Format
y Input The input tensor of the forward computation, which corresponds to y in the formula and is the independent variable of the asinh function. FLOAT16, FLOAT, BFLOAT16 ND
dy Input The gradient tensor passed from upstream, which corresponds to dy in the formula. The data type must be exactly the same as that of y. FLOAT16, FLOAT, BFLOAT16 ND
dx Output The output input-gradient tensor, which corresponds to dx in the formula. The data type must be exactly the same as that of y. FLOAT16, FLOAT, BFLOAT16 ND

Constraint Description

None

Invocation Description

Invocation Method Sample Code Description
Graph mode test_geir_asinh_grad.cpp Invokes the AsinhGrad operator through the graph mode.