Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issues related to new behavior of JAX DeviceArray.copy() #1734

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Apr 1, 2022

  1. 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: 438711926
    Jake VanderPlas authored and copybara-github committed Apr 1, 2022
    Configuration menu
    Copy the full SHA
    37a71d6 View commit details
    Browse the repository at this point in the history