blob: 3cf5101464be96d53193e05c956c9884cb290834 [file] [log] [blame]
``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
----------
.. code:: r
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. |
+----------------------------------------+------------------------------------------------------------+
Value
----------
``out`` The result mx.symbol
Link to Source Code: http://github.com/apache/incubator-mxnet/blob/1.6.0/src/operator/tensor/elemwise_binary_broadcast_op_logic.cc#L172