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
Currently we cannot do write part of a tensor using numpy syntax:
importjax.numpyasjnv=jn.arange(10)
v[2:4] +=1# TypeError: '<class 'jax.interpreters.xla.DeviceArray'>' object does not support item assignment.# JAX arrays are immutable; perhaps you want jax.ops.index_update or jax.ops.index_add instead?
Currently we cannot do write part of a tensor using numpy syntax:
However in numpy it works
I'm interested in prototyping feasibility but I also wonder if it's a desirable feature generally speaking. Feedback welcome.
The text was updated successfully, but these errors were encountered: