我要评分
获取效率
正确性
完整性
易理解

Function Description

Operator Function

Returns the element-wise operation results between tensors source0 and source1, reformattable into arbitrary layouts and data types. Formula:

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 involve forward or back propagation.