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-04-11 22:10:47 -07:00
2022-04-19 11:14:41 -07:00
2022-04-06 21:06:23 +01:00
2022-04-19 11:14:41 -07:00
2022-04-13 04:04:11 +08:00