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
It seems that my mypy (version 0.942) is complaining that Haiku's random key generated by hk.next_rng_key() is not compatible with Jax's PRNGKeyArray type. The latter are the types of the key argument in various jax.random samplers.
Hi,
It seems that my mypy (version 0.942) is complaining that Haiku's random key generated by
hk.next_rng_key()
is not compatible with Jax'sPRNGKeyArray
type. The latter are the types of thekey
argument in variousjax.random
samplers.Example
Error
Apart from explicitly silencing these errors in mypy, are there any other suggestions to fix these errors?
Thanks in advance,
Hylke
Environment
The text was updated successfully, but these errors were encountered: