class_docstr: Tests for configuring Atari agents using gin.
  
    
class_docstr_tok: ["Tests","for","configuring","Atari","agents","using","gin","."]
docstr: Verify the default C51 configuration.
docstr_tok: ["Verify","the","default","C51","configuration","."]
code: def testDefaultC51Config(self):
      """Verify the default C51 configuration."""
      run_experiment.load_gin_configs(
          ["dopamine/agents/rainbow/configs/c51.gin"], []
      )
      agent = run_experiment.create_agent(
          None, atari_lib.create_atari_environment(game_name="Pong")
      )
      self.assertEqual(agent._num_atoms, 51)
      support = self.evaluate(agent._support)
      self.assertEqual(min(support), -10.0)
      self.assertEqual(max(support), 10.0)
      self.assertLen(support, 51)
      self.assertEqual(agent.gamma, 0.99)
      self.assertEqual(agent.update_horizon, 1)
      self.assertEqual(agent.min_replay_history, 20000)
      self.assertEqual(agent.update_period, 4)
      self.assertEqual(agent.target_update_period, 8000)
      self.assertEqual(agent.epsilon_train, 0.01)
      self.assertEqual(agent.epsilon_eval, 0.001)
      self.assertEqual(agent.epsilon_decay_period, 250000)
      self.assertEqual(agent._replay.memory._replay_capacity, 1000000)
      self.assertEqual(agent._replay.memory._batch_size, 32)
  
imports: import datetime
  import os
  import shutil
  from absl import flags
  from absl import logging
  from dopamine.discrete_domains import atari_lib
  from dopamine.discrete_domains import run_experiment
  import gin.tf
  import tensorflow
label_desc: Use image node_id 9 for calling the GinConfigTest obj's underlying member method code with example usage: obj.testDefaultC51Config() without return types