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-19 11:14:41 -07:00
2022-03-08 09:37:33 -05:00
2022-04-19 11:14:41 -07:00
2022-04-11 22:10:47 -07:00
2022-04-13 18:31:27 +00:00
2022-02-24 09:36:28 -05:00
2022-04-06 21:06:23 +01:00
2021-12-21 15:11:08 -08:00
2021-04-19 08:53:12 -07:00
2022-04-11 22:10:47 -07:00
2021-10-07 18:59:13 -07:00
2021-01-13 10:26:35 -05:00
2021-09-28 11:04:02 -04:00