tf.math.logical_or

Returns the truth value of x OR y element-wise.

Main aliases

tf.logical_or

Compat aliases for migration

See Migration guide for more details.

tf.compat.v1.logical_or, tf.compat.v1.math.logical_or, `tf.compat.v2.logical_or`, `tf.compat.v2.math.logical_or`

x A Tensor of type bool.
y A Tensor of type bool.
name A name for the operation (optional).

A Tensor of type bool.