mx.symbol.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.]]

Usage

mx.symbol.broadcast_logical_or(...)

Arguments

Argument

Description

lhs

NDArray-or-Symbol.

First input to the function

rhs

NDArray-or-Symbol.

Second input to the function

name

string, optional.

Name of the resulting symbol.