FilesLast commitLast update
17 days ago
2 months ago
9 days ago
5 months ago
18 days ago
18 days ago
29 days ago
1 month ago
1 month ago
9 days ago
README

Sinc

English | 简体中文

Product Support Status

Product Supported
Ascend 950PR&950DT products √
Atlas A3 products x
Atlas A2 products x
Atlas 200I/500 A2 inference products ×
Atlas inference products ×
Atlas training products ×

Function Description

  • Operator function: performs the sinc computation on the input Tensor.

  • Computation formula:

    outi={1,selfi=0sin⁡(π∗selfi)/(π∗selfi),otherwiseout_i = \begin{cases} 1,\quad self_i = 0\\ \sin(\pi*self_i)/(\pi*self_i),\quad otherwise\\ \end{cases}

Parameter Description

Parameter Name Input/Output/Attribute Description Data Type Data Format
x Input The input tensor x in the formula. FLOAT, BFLOAT16, FLOAT16 ND
y Output The output tensor y in the formula. FLOAT, BFLOAT16, FLOAT16 ND

Constraint Description

The input and output must have the same shape and type.

Invocation Description

Invocation Method Invocation Sample Description
aclnn invocation test_aclnn_sinc Invokes the Sinc operator through the aclnnSinc&aclnnInplaceSinc API.
Graph-mode invocation test_geir_sinc Invokes the Sinc operator by building a graph through the operator IR.