Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Jax variables are immutable.

Code written for CuPy looks similar to numpy but very different from Jax.



Ah, well, that's interesting! Does anyone know how cupy manages tensor mutability?


CuPy tensors (or `ndarray`) provide the same semantics as NumPy. In-place operations are permitted.


Ah yes, stumbled over that recently, but the error message is very helpful and it's a quick change.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: