Peter Hawkins a52f07a21b Add an optional mode= argument to jnp.take_along_axis.
This allows users of jnp.take_along_axis to override the out-of-bounds indexing behavior.
Default to "clip", which for the forward computation is identical to the current behavior. In a future change, we will change this to "fill".
2022-04-19 16:07:00 -04:00
..
2022-03-10 10:39:52 -05:00
2022-04-15 04:17:27 +08:00
2022-04-13 18:31:27 +00:00