Peter Hawkins 74346f464b [JAX] Change jnp.take_along_axis to return invalid (e.g. NaN) values for out-of-bounds indices.
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
2022-04-21 08:52:14 -07:00
..
2022-04-20 14:49:53 -07:00
2022-03-17 11:05:45 -07:00
2022-04-21 02:17:09 +08:00
2022-04-19 13:18:00 -07:00
2022-04-19 11:14:41 -07:00
2022-03-08 09:37:33 -05:00
2022-04-14 10:55:00 -07:00
2021-12-06 15:13:35 -08:00