FilesLast commitLast update
4 months ago
28 days ago
4 months ago
4 months ago
2 months ago
9 months ago
1 month ago
6 days ago
README

AddExample

English | 简体中文

Product Support Status

Product Supported
Ascend 950PR&950DT products √
Atlas A3 products √
Atlas A2 products √

Function Description

  • Operator function: performs the addition computation.

  • Computation formula:

y=x1+x2y = x1 + x2

Parameter Description

Parameter Name Input/Output/Attribute Description Data Type Data Format
x1 Input Input parameter for the add_example computation, which is x1 in the formula. FLOAT, INT32 ND
x2 Input Input parameter for the add_example computation, which is x2 in the formula. FLOAT, INT32 ND
y Output Output parameter for the add_example computation, which is y in the formula. FLOAT, INT32 ND

Constraint Description

The input and output support only 4 dimensions.

Invocation Description

Invocation Method Invocation Sample Description
aclnn invocation test_aclnn_add_example See Operator Invocation to complete operator compilation and verification.
Graph-mode invocation test_geir_add_example