class_docstr: A JAX implementation of the DQN agent.
class_docstr_tok: ["A","JAX","implementation","of","the","DQN","agent","."]
code: def set_collector_dispatcher(self, collector_dispatcher):
      self.collector_dispatcher = collector_dispatcher
      # Ensure we have a collector allowlist defined.
      if not hasattr(self, "_collector_allowlist"):
          self._collector_allowlist = ("tensorboard",)
  
imports: import collections
  import functools
  import inspect
  import math
  import time
  from absl import logging
  from dopamine.agents.dqn import dqn_agent
  from dopamine.jax import losses
  from dopamine.jax import networks
  from dopamine.metrics import statistics_instance
  from dopamine.replay_memory import circular_replay_buffer
  from dopamine.replay_memory import prioritized_replay_buffer
  import gin
  import jax
  import jax.numpy
  import numpy
  import optax
  import tensorflow
label_desc: Use image node_id 15 for calling the JaxDQNAgent obj's underlying member method code with example usage: obj.set_collector_dispatcher(collector_dispatcher) without return types