Y
Hacker News
new
|
ask
|
show
|
jobs
by
yobbo
636 days ago
Jax variables are immutable.
Code written for CuPy looks similar to numpy but very different from Jax.
2 comments
bbminner
636 days ago
Ah, well, that's interesting! Does anyone know how cupy manages tensor mutability?
link
kmaehashi
636 days ago
CuPy tensors (or `ndarray`) provide the same semantics as NumPy. In-place operations are permitted.
link
KeplerBoy
636 days ago
Ah yes, stumbled over that recently, but the error message is very helpful and it's a quick change.
link