class_docstr: Collector class for reporting statistics on Tensorboard.
code: def write(
      self, statistics: Sequence[statistics_instance.StatisticsInstance]
  ) -> None:
      with self.summary_writer.as_default():
          for s in statistics:
              if not self.check_type(s.type):
                  continue
              tf.summary.scalar(s.name, s.value, step=s.step)
  
file_path: dopamine/dopamine/metrics/tensorboard_collector.py
imports: from typing import Sequence
  from dopamine.metrics import collector
  from dopamine.metrics import statistics_instance
  import tensorflow
label_desc: Use image node_id 3 for calling the TensorboardCollector obj's underlying member method code with example usage: obj.write(statistics) without return types