mirror of
https://github.com/ROCm/jax.git
synced 2025-04-17 20:36:05 +00:00

Previously, out-of-bounds indices were clipped into range, but that behavior is error prone. We would rather fail in a more visible way when out-of-bounds indices are used. Future changes will migrate other JAX indexing operations to have the same semantics. PiperOrigin-RevId: 443390170