LogicalXorΒΆ

Element-wise logical XOR.

Abstract Signature:

LogicalXor(input: Tensor, other: Tensor)

PyTorch

API: torch.logical_xor
Strategy: Direct Mapping

JAX (Core)

API: jax.numpy.logical_xor
Strategy: Direct Mapping

NumPy

API: numpy.logical_xor
Strategy: Direct Mapping

Keras

API: keras.ops.logical_xor
Strategy: Direct Mapping

TensorFlow

API: tf.math.logical_xor
Strategy: Direct Mapping

Apple MLX

API: β€”
Strategy: Macro 'mlx.core.not_equal({input}, {other})'

Flax NNX

API: jax.numpy.logical_xor
Strategy: Direct Mapping

PaxML / Praxis

API: jnp.logical_xor
Strategy: Direct Mapping