Any
Tests if any element in input evaluates to True.
Abstract Signature:
Any(input: Tensor, dim: int, keepdim: bool = False)
PyTorch
API: torch.any
Strategy: Direct Mapping
JAX (Core)
API: jnp.any
Strategy: Direct Mapping
NumPy
API: np.any
Strategy: Direct Mapping
Keras
API: keras.ops.any
Strategy: Direct Mapping
TensorFlow
API: tf.math.reduce_any
Strategy: Direct Mapping
Apple MLX
API: mx.any
Strategy: Direct Mapping
Flax NNX
API: jnp.any
Strategy: Direct Mapping
PaxML / Praxis
API: jnp.any
Strategy: Direct Mapping