You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Jax recently started moving towards new style RNG-keys which entails changing calls to jax.random.PRNGKey for calls to jax.key. Additionally, seeds to numpy.random.RandomState from new-style keys (as in compute_cvt_centroids) must be first processed with jax.random.key_data otherwise we get a type error during conversion.
I am happy to write a pull request for this.
The text was updated successfully, but these errors were encountered:
Jax recently started moving towards new style RNG-keys which entails changing calls to
jax.random.PRNGKey
for calls tojax.key
. Additionally, seeds tonumpy.random.RandomState
from new-style keys (as incompute_cvt_centroids
) must be first processed withjax.random.key_data
otherwise we get a type error during conversion.I am happy to write a pull request for this.
The text was updated successfully, but these errors were encountered: