You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
original numpy is mistreating jnp.ndarray for some reason; changing the shape of idxs can lead to various errors.
Continuing from above: arr[jnp.zeros((2, 4), dtype=jnp.int32)].shape prints (4,) arr[jnp.zeros((3, 4), dtype=jnp.int32)].shape raises: IndexError: too many indices for array
The other 3/4 combinations are all correct for these cases.
The text was updated successfully, but these errors were encountered:
prints:
original numpy is mistreating
jnp.ndarray
for some reason; changing the shape of idxs can lead to various errors.Continuing from above:
arr[jnp.zeros((2, 4), dtype=jnp.int32)].shape
prints (4,)arr[jnp.zeros((3, 4), dtype=jnp.int32)].shape
raises:IndexError: too many indices for array
The other 3/4 combinations are all correct for these cases.
The text was updated successfully, but these errors were encountered: