Mean
Returns the mean value of all elements in the input tensor.
Abstract Signature:
Mean(input: Tensor, dim: int, keepdim: bool = False)
PyTorch
API: torch.mean
Strategy: Direct Mapping
JAX (Core)
API: jax.numpy.mean
Strategy: Direct Mapping
NumPy
API: numpy.mean
Strategy: Direct Mapping
Keras
API: keras.ops.mean
Strategy: Direct Mapping
TensorFlow
API: tf.math.reduce_mean
Strategy: Direct Mapping
Apple MLX
API: mlx.core.mean
Strategy: Direct Mapping
Flax NNX
API: jnp.mean
Strategy: Direct Mapping
PaxML / Praxis
API: jnp.mean
Strategy: Direct Mapping