Rint
Rounds the elements of x to the nearest integer.
Abstract Signature:
Rint(x: Tensor)
PyTorch
API: torch.round
Strategy: Direct Mapping
JAX (Core)
API: jax.numpy.rint
Strategy: Direct Mapping
NumPy
API: numpy.rint
Strategy: Direct Mapping
Keras
API: keras.ops.rint
Strategy: Direct Mapping
TensorFlow
API: tf.math.rint
Strategy: Direct Mapping
Apple MLX
API: mlx.core.round
Strategy: Direct Mapping