code: def __init__(
      self,
      logger,
      att_reporter=None,
      ctc_reporter=None,
      entries=None,
      epoch=0,
  ):
      """Init the extension
  
      :param SummaryWriter logger: The logger to use
      :param PlotAttentionReporter att_reporter: The (optional) PlotAttentionReporter
      :param entries: The entries to watch
      :param int epoch: The starting epoch
      """
      self._entries = entries
      self._att_reporter = att_reporter
      self._ctc_reporter = ctc_reporter
      self._logger = logger
      self._epoch = epoch
  
imports: from chainer.training.extension import Extension
label_desc: Use image node_id 1 to create a new TensorboardLogger object from inherited base classes: Extension with example: obj = TensorboardLogger(logger, att_reporter, ctc_reporter, entries, epoch)