PyTorch
API: —
Strategy: Macro 'torch.tensor({value}, dtype=torch.int64)'
JAX (Core)
API: jax.numpy.uint64
Strategy: Direct Mapping
NumPy
API: numpy.uint64
Strategy: Direct Mapping
Keras
API: keras.ops.cast
Strategy: Macro 'keras.ops.cast({value}, 'uint64')'
TensorFlow
API: tf.cast
Strategy: Macro 'tf.cast({value}, tf.uint64)'
Apple MLX
API: mlx.core.array
Strategy: Macro 'mlx.core.array({value}, dtype=mlx.core.uint64)'
Flax NNX
API: jax.numpy.uint64
Strategy: Direct Mapping
PaxML / Praxis
API: jax.numpy.uint64
Strategy: Direct Mapping