jax_precision
utils.jax_precision
JAX’s 64-bit switch under the one spelling every supported JAX release accepts.
Functions
| Name | Description |
|---|---|
| enable_x64 | A context in which JAX computes in 64 bits when enabled, in 32 bits otherwise. |
enable_x64
utils.jax_precision.enable_x64(enabled=True)A context in which JAX computes in 64 bits when enabled, in 32 bits otherwise.
JAX 0.5 moved the context manager from jax.experimental to the top level, and Intel Macs stay on 0.4.x, where only the experimental spelling exists.