-
Notifications
You must be signed in to change notification settings - Fork 228
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove use of jax.numpy.onp, which was an accidental export of classi…
…c NumPy from the jax.numpy namespace. Instead, `import numpy as onp` directly where needed. PiperOrigin-RevId: 310191530
- Loading branch information
1 parent
1a1ffc8
commit 272dc5e
Showing
3 changed files
with
11 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
272dc5e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When installing using pip3, the bug on line 421 of
batch.py
still exists (i.e.,np.onp
) and this make the commandpython3.6 examples/function_space.py
terminates.