FilesLast commitLast update
22 days ago
5 months ago
23 days ago
16 days ago
4 months ago
3 months ago
16 days ago
1 month ago
14 days ago
README

Polar

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: builds a complex tensor whose elements are the Cartesian coordinates corresponding to the polar coordinates, where the absolute value is abs and the angle is angle.

  • Computation formula:

    out=abs∗cos(angle)+abs∗sin(angle)∗jout = abs*cos(angle) + abs*sin(angle)*j

Parameter Description

Parameter Name Input/Output/Attribute Description Data Type Data Format
abs Input Absolute value, which is abs in the formula. FLOAT ND
angle Input Angle, which is angle in the formula. FLOAT ND
out Output out in the formula. COMPLEX64 ND

Constraint Description

None

Invocation Description

Invocation Method Invocation Sample Description
aclnn invocation test_aclnn_polar Invokes the Polar operator through the aclnnPolar API.