Skip to content

Commit

Permalink
Merge pull request #7907 from jakevdp:take-arraylike
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 396584251
  • Loading branch information
jax authors committed Sep 14, 2021
2 parents c365d7f + 066a3bd commit 788ecc5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jax/_src/numpy/lax_numpy.py
Original file line number Diff line number Diff line change
Expand Up @@ -5079,6 +5079,7 @@ def take(a, indices, axis: Optional[int] = None, out=None, mode=None):
def _take(a, indices, axis: Optional[int] = None, out=None, mode=None):
if out is not None:
raise NotImplementedError("The 'out' argument to jnp.take is not supported.")
_check_arraylike("take", a)
a = asarray(a)
indices = asarray(indices)

Expand Down

0 comments on commit 788ecc5

Please sign in to comment.