mx.nd.broadcast.equal

Description

Returns the result of element-wise equal to (==) comparison operation with broadcasting.

Example:

x = [[ 1.,  1.,  1.],
[ 1.,  1.,  1.]]

y = [[ 0.],
[ 1.]]

broadcast_equal(x, y) = [[ 0.,  0.,  0.],
[ 1.,  1.,  1.]]

Arguments

Argument

Description

lhs

NDArray-or-Symbol.

First input to the function

rhs

NDArray-or-Symbol.

Second input to the function