MinScalarType ============= Returns the data type with the smallest size and scalar kind which can hold its value. **Abstract Signature:** ``MinScalarType(a: Tensor)`` .. raw:: html

PyTorch

API:
Strategy: Plugin (numpy_fallback)

JAX (Core)

API: jax.numpy.min_scalar_type
Strategy: Direct Mapping

NumPy

API: numpy.min_scalar_type
Strategy: Direct Mapping

Keras

API:
Strategy: Plugin (numpy_fallback)

TensorFlow

API:
Strategy: Plugin (numpy_fallback)

Apple MLX

API:
Strategy: Plugin (numpy_fallback)

Flax NNX

API: jax.numpy.min_scalar_type
Strategy: Direct Mapping

PaxML / Praxis

API: jax.numpy.min_scalar_type
Strategy: Direct Mapping