class_docstr: Tests for configuring Atari agents using gin.
  
    
class_docstr_tok: ["Tests","for","configuring","Atari","agents","using","gin","."]
docstr: Test ImplicitQuantile configuration overriding using IQN gin.
docstr_tok: ["Test","ImplicitQuantile","configuration","overriding","using","IQN","gin","."]
code: def testOverrideGinImplicitQuantile(self):
      """Test ImplicitQuantile configuration overriding using IQN gin."""
      logging.info("###### Training the Implicit Quantile agent #####")
      self._base_dir = os.path.join(
          "/tmp/dopamine_tests",
          datetime.datetime.utcnow().strftime("run_%Y_%m_%d_%H_%M_%S"),
      )
      logging.info("###### IQN base dir: %s", self._base_dir)
      gin_files = [
          "dopamine/agents/implicit_quantile/configs/"
          + "implicit_quantile.gin"
      ]
      gin_bindings = [
          "Runner.num_iterations=0",
          "WrappedPrioritizedReplayBuffer.replay_capacity = 1000",
      ]
      run_experiment.load_gin_configs(gin_files, gin_bindings)
      runner = run_experiment.Runner(
          self._base_dir,
          run_experiment.create_agent,
          atari_lib.create_atari_environment,
      )
      self.assertEqual(
          1000, runner._agent._replay.memory._replay_capacity
      )
      shutil.rmtree(self._base_dir)
  
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 13 for calling the GinConfigTest obj's underlying member method code with example usage: obj.testOverrideGinImplicitQuantile() without return types