LogicalOrΒΆ

Compute the truth value of x1 OR x2 element-wise.

Abstract Signature:

LogicalOr(x1: Tensor, x2: Tensor)

PyTorch

API: torch.logical_or
Strategy: Direct Mapping

JAX (Core)

API: jax.numpy.logical_or
Strategy: Infix (|)

NumPy

API: numpy.logical_or
Strategy: Infix (|)

Keras

API: keras.ops.logical_or
Strategy: Direct Mapping

TensorFlow

API: tf.math.logical_or
Strategy: Direct Mapping

Apple MLX

API: mlx.core.logical_or
Strategy: Direct Mapping