This repository was archived by the owner on Oct 31, 2025. It is now read-only.
Commit 37a71d6
Fix issues related to new behavior of JAX DeviceArray.copy()
In jax-ml/jax#10069, JAX changes the behavior of DeviceArray.copy() so that it returns a DeviceArray rather than returning a numpy array. For converting a DeviceArray to numpy, the preferred method is now np.asarray(device_array).
PiperOrigin-RevId: 4387119261 parent 83252f9 commit 37a71d6
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
271 | 271 | | |
272 | 272 | | |
273 | 273 | | |
| 274 | + | |
274 | 275 | | |
275 | 276 | | |
276 | 277 | | |
| |||
0 commit comments