old_contents: # Copyright 2018 DeepMind Technologies Limited. All rights reserved.
  #
  # Licensed under the Apache License, Version 2.0 (the "License");
  # you may not use this file except in compliance with the License.
  # You may obtain a copy of the License at
  #
  #     http://www.apache.org/licenses/LICENSE-2.0
  #
  # Unless required by applicable law or agreed to in writing, software
  # distributed under the License is distributed on an "AS IS" BASIS,
  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  # See the License for the specific language governing permissions and
  # limitations under the License.
  
  """Implementation of a deep Q-networks (DQN) agent."""
  
  from acme.agents.jax.dqn.actor import behavior_policy
  from acme.agents.jax.dqn.actor import default_behavior_policy
  from acme.agents.jax.dqn.actor import DQNPolicy
  from acme.agents.jax.dqn.actor import Epsilon
  from acme.agents.jax.dqn.actor import EpsilonPolicy
  from acme.agents.jax.dqn.builder import DQNBuilder
  from acme.agents.jax.dqn.config import DQNConfig
  from acme.agents.jax.dqn.learning import DQNLearner
  from acme.agents.jax.dqn.learning_lib import LossExtra
  from acme.agents.jax.dqn.learning_lib import LossFn
  from acme.agents.jax.dqn.learning_lib import ReverbUpdate
  from acme.agents.jax.dqn.learning_lib import SGDLearner
  from acme.agents.jax.dqn.losses import PrioritizedDoubleQLearning
  from acme.agents.jax.dqn.losses import QrDqn
  from acme.agents.jax.dqn.networks import DQNNetworks
  
new_contents: # Copyright 2018 DeepMind Technologies Limited. All rights reserved.
  #
  # Licensed under the Apache License, Version 2.0 (the "License");
  # you may not use this file except in compliance with the License.
  # You may obtain a copy of the License at
  #
  #     http://www.apache.org/licenses/LICENSE-2.0
  #
  # Unless required by applicable law or agreed to in writing, software
  # distributed under the License is distributed on an "AS IS" BASIS,
  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  # See the License for the specific language governing permissions and
  # limitations under the License.
  
  """Implementation of a deep Q-networks (DQN) agent."""
  
  from acme.agents.jax.dqn.actor import behavior_policy
  from acme.agents.jax.dqn.actor import default_behavior_policy
  from acme.agents.jax.dqn.actor import DQNPolicy
  from acme.agents.jax.dqn.actor import Epsilon
  from acme.agents.jax.dqn.actor import EpsilonPolicy
  from acme.agents.jax.dqn.builder import DQNBuilder
  from acme.agents.jax.dqn.config import DQNConfig
  from acme.agents.jax.dqn.learning import DQNLearner
  from acme.agents.jax.dqn.learning_lib import LossExtra
  from acme.agents.jax.dqn.learning_lib import LossFn
  from acme.agents.jax.dqn.learning_lib import ReverbUpdate
  from acme.agents.jax.dqn.learning_lib import SGDLearner
  from acme.agents.jax.dqn.losses import PrioritizedCategoricalDoubleQLearning
  from acme.agents.jax.dqn.losses import PrioritizedDoubleQLearning
  from acme.agents.jax.dqn.losses import QLearning
  from acme.agents.jax.dqn.losses import QrDqn
  from acme.agents.jax.dqn.networks import DQNNetworks
  
subject: Add visibility for Categorical and Q-learning losses.