Pi == The mathematical constant Pi. .. raw:: html

PyTorch

API: torch.pi
Strategy: Macro 'torch.pi'

JAX (Core)

API: jax.numpy.pi
Strategy: Direct Mapping

NumPy

API: numpy.pi
Strategy: Direct Mapping

Keras

API: numpy.pi
Strategy: Macro 'keras.ops.pi'

TensorFlow

API: numpy.pi
Strategy: Macro 'math.pi'

Apple MLX

API: numpy.pi
Strategy: Direct Mapping

Flax NNX

API: jax.numpy.pi
Strategy: Macro 'jax.numpy.pi'

PaxML / Praxis

API: jax.numpy.pi
Strategy: Direct Mapping