View source on GitHub |
Computes the element-wise logical OR of the given input tensors.
tf.keras.ops.logical_or(
x1, x2
)
Zeros are treated as False
and non-zeros are treated as True
.
Args | |
---|---|
x1
|
Input tensor. |
x2
|
Input tensor. |
Returns | |
---|---|
Output tensor, element-wise logical OR of the inputs. |