FilesLast commitLast update
17 days ago
2 months ago
18 days ago
3 months ago
8 days ago
8 days ago
8 days ago
2 months ago
9 days ago
9 days ago
README

AngleV2

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 √
Kirin X90 processor series products √
Kirin 9030 processor series products √

Function Description

  • Operator function: computes the element-wise angle (in radians) of the input tensor.

  • Computation formula:

outputi=angle(inputi)output_i=angle(input_i)

Parameter Description

Parameter Name Input/Output/Attribute Description Data Type Data Format
x Input Input parameter for the angle computation, which is inputi in the formula. FLOAT16, FLOAT, COMPLEX64, BOOL, UINT8, INT8, INT16, INT32, INT64, BFLOAT16 ND
y Output Output parameter for the angle computation, which is outputi in the formula. FLOAT16, FLOAT, BFLOAT16 ND
  • Kirin X90/Kirin 9030 processor series products: COMPLEX is not supported.

Constraint Description

None

Invocation Description

Invocation Method Invocation Sample Description
aclnn invocation test_aclnn_angle_v2 Invokes the AngleV2 operator through the aclnnAngleV2 API.
Graph-mode invocation test_geir_angle_v2 Invokes the AngleV2 operator by building a graph through the operator IR.