Rate This Document
Findability
Accuracy
Completeness
Readability

Function Description

Operator Function

Returns the element-wise operation results between tensors source0 and source1, with support for reordering to arbitrary layouts and conversion to arbitrary data types.

Formula

The formula is .

Table 1 Operator operation

reduce_op

Function

add

Addition

minus

Subtraction

multiple

Multiplication

div

Division

gt

Greater than

ge

Greater than or equal to

lt

Less than

le

Less than or equal to

ne

Not equal to

The binary operator does not distinguish between forward and backward propagation.