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

Replace deprecated jax.tree_map function with jax.tree_util.tree_map #1188

Merged
merged 1 commit into from
Jun 18, 2024

Conversation

KazukiOhta
Copy link
Contributor

The use of jax.tree_map triggers the following warning.

DeprecationWarning: jax.tree_map is deprecated: use jax.tree.map (jax v0.4.25 or newer) or jax.tree_util.tree_map (any JAX version).

Therefore jax.tree_map is replaced by jax.tree_util.tree_map which is available in any JAX version.

The use of `jax.tree_map` triggers the following warning. 

```
DeprecationWarning: jax.tree_map is deprecated: use jax.tree.map (jax v0.4.25 or newer) or jax.tree_util.tree_map (any JAX version).
```

Therefore `jax.tree_map` is replaced by `jax.tree_util.tree_map` which is available in any JAX version.
@sotetsuk
Copy link
Owner

Thank you for your contribution! 🙏

@sotetsuk sotetsuk merged commit d485956 into sotetsuk:main Jun 18, 2024
@KazukiOhta
Copy link
Contributor Author

Thank you too for providing a nice implementation of Gumbel AlphaZero.

@KazukiOhta KazukiOhta deleted the patch-1 branch June 18, 2024 11:32
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.

2 participants