Round
Round input evenly to the given number of decimals.
Abstract Signature:
Round(a: Tensor, decimals: int = 0, out: None)
PyTorch
API: torch.round
Strategy: Direct Mapping
JAX (Core)
API: jax.numpy.round
Strategy: Direct Mapping
NumPy
API: numpy.round
Strategy: Direct Mapping
Keras
API: keras.ops.round
Strategy: Direct Mapping
TensorFlow
API: tf.math.round
Strategy: Direct Mapping
Apple MLX
API: mlx.core.round
Strategy: Direct Mapping
Flax NNX
API: jax.numpy.ndarray.round
Strategy: Direct Mapping