mx.nd.broadcast.logical.or

Description

Returns the result of element-wise logical or with broadcasting.

Example:

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

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

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

Arguments

Argument

Description

lhs

NDArray-or-Symbol.

First input to the function

rhs

NDArray-or-Symbol.

Second input to the function