Skip to content
This repository was archived by the owner on Oct 31, 2025. It is now read-only.

Conversation

@copybara-service
Copy link

@copybara-service copybara-service bot commented Apr 1, 2022

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).

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: 438711926
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

0 participants