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 import path for tree_map #369

Merged
merged 1 commit into from
Jul 15, 2024
Merged

Fix import path for tree_map #369

merged 1 commit into from
Jul 15, 2024

Conversation

gileshd
Copy link
Collaborator

@gileshd gileshd commented Jul 15, 2024

jax.tree_map has been deprecated, see changelog

This PR replaces a few instances of importing jax.tree_map with the recommend jax.tree_util.tree_map (the option recommended for backwards compatibility).

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@gileshd gileshd merged commit be7212c into main Jul 15, 2024
2 checks passed
@gileshd gileshd deleted the ghd/fix-tree-map-import branch July 19, 2024 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant