Rate This Document
Findability
Accuracy
Completeness
Readability

Function Description

Operator Function

Performs operations of the same type on each element in a tensor, including abs, exp, and log.

Formula

Table 1 describes the operations supported by the Eltwise operator.

Table 1 Operation types

Operation

Propagation Direction

Formula

abs

Forward

exp

log

sqrt

round

tanh

relu

Forward

Backward

logistic

Forward

Backward

linear

Forward

Backward

Table 2 describes the meanings of the symbols in the preceding formulas.

Table 2 Formula parameters

Parameter

Description

s

Element in the src tensor.

d

Element in the dst tensor.

ds

Element in the diff_src tensor.

dd

Element in the diff_dst tensor.

α, β

Input parameters α and β of the constant floating-point type.