Where ===== Select elements from two arrays based on a condition. **Abstract Signature:** ``Where(condition, x, y, size: int, fill_value)`` .. raw:: html

PyTorch

API: torch.where
Strategy: Direct Mapping

JAX (Core)

API: jax.numpy.where
Strategy: Direct Mapping

NumPy

API: numpy.where
Strategy: Direct Mapping

Keras

API: keras.ops.where
Strategy: Direct Mapping

TensorFlow

API: tf.where
Strategy: Direct Mapping

Apple MLX

API: mlx.core.where
Strategy: Direct Mapping

Flax NNX

API: optax.tree.where
Strategy: Direct Mapping