Skip to content

Commit

Permalink
[JAX] Replace uses of jax.interpreters.xla.DeviceArray with jax.Array.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 508609103
  • Loading branch information
Dopamine Team authored and joshgreaves committed Feb 27, 2023
1 parent 156a760 commit a9a8fc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dopamine/jax/networks.py
Expand Up @@ -348,7 +348,7 @@ class NoisyNetwork(nn.Module):
rng_key: jax.interpreters.xla.DeviceArray, key for JAX RNG.
eval_mode: bool, whether to turn off noise during evaluation.
"""
rng_key: jax.interpreters.xla.DeviceArray
rng_key: jax.Array
eval_mode: bool = False

@staticmethod
Expand Down

0 comments on commit a9a8fc0

Please sign in to comment.