PyTorch
API: torch.inf
Strategy: Direct Mapping
JAX (Core)
API: jax.numpy.inf
Strategy: Direct Mapping
NumPy
API: numpy.inf
Strategy: Direct Mapping
Keras
API: —
Strategy: Macro 'float('inf')'
TensorFlow
API: numpy.inf
Strategy: Direct Mapping
Apple MLX
API: —
Strategy: Macro 'float('inf')'