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

Sinh

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: performs the sinh computation on the input Tensor.

  • Computation formula:

    out= sinh(self)out = {\ {{sinh}{(self)}}}

Parameter Description

Parameter Name Input/Output/Attribute Description Data Type Data Format
x Input The input tensor x in the formula. INT8, INT16, INT32, INT64, UINT8, BOOL, FLOAT, BFLOAT16, FLOAT16, DOUBLE ND
y Output The output tensor y in the formula. FLOAT, BFLOAT16, FLOAT16, DOUBLE ND

Constraint Description

  • If the input type is INT8, INT16, INT32, INT64, UINT8, or BOOL, the input is converted to FLOAT32 for computation and the output is of the FLOAT32 type. Non-contiguous tensors are supported. The data format supports ND. The dimension of a non-contiguous tensor must not be greater than 8, and the input and output must have the same shape.

Invocation Description

Invocation Method Invocation Sample Description
aclnn invocation test_aclnn_sinh Invokes the Sinh operator through the aclnnSinh&aclnnInplaceSinh API.
Graph-mode invocation test_geir_sinh Invokes the Sinh operator by building a graph through the operator IR.