FilesLast commitLast update
19 days ago
2 months ago
3 months ago
18 days ago
23 days ago
5 days ago
11 days ago
1 month ago
11 days ago
11 days ago
18 days ago
12 days ago
README

Mul

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: performs element-wise multiplication of the two input tensors.

  • Computation formula:

y=x1×x2y = x_1 \times x_2

Parameter Description

Parameter Name Input/Output/Attribute Description Data Type Data Format
x1 Input Input parameter for the Mul computation, which is x1 in the formula. FLOAT, FLOAT16, BFLOAT16, DOUBLE, INT8, UINT8, INT16, INT32, INT64, COMPLEX32, COMPLEX64, BOOL ND
x2 Input Input parameter for the Mul computation, which is x2 in the formula. FLOAT, FLOAT16, BFLOAT16, DOUBLE, INT8, UINT8, INT16, INT32, INT64, COMPLEX32, COMPLEX64, BOOL ND
y Output Element-wise product result of the tensors, which is y in the formula. FLOAT, FLOAT16, BFLOAT16, DOUBLE, INT8, UINT8, INT16, INT32, INT64, COMPLEX32, COMPLEX64, BOOL ND

Constraint Description

None

Invocation Description

Invocation Method Invocation Sample Description
aclnn invocation test_aclnn_mul Invokes the Mul operator through the aclnnMul API.