docstr: A report manager that writes statistics on standard output as well as
  (optionally) TensorBoard
  
  Args:
      report_every(int): Report status every this many sentences
      tensorboard_writer(:obj:`tensorboard.SummaryWriter`):
          The TensorBoard Summary writer to use or None
docstr_tok: ["A","report","manager","that","writes","statistics","on","standard","output","as","well","as","(","optionally",")","TensorBoard","Args",":","report_every","(","int",")",":","Report","status","every","this","many","sentences","tensorboard_writer","(",":","obj",":","`","tensorboard.SummaryWriter","`",")",":","The","TensorBoard","Summary","writer","to","use","or","None"]
code: def __init__(
      self, report_every, start_time=-1.0, tensorboard_writer=None
  ):
      """
      A report manager that writes statistics on standard output as well as
      (optionally) TensorBoard
  
      Args:
          report_every(int): Report status every this many sentences
          tensorboard_writer(:obj:`tensorboard.SummaryWriter`):
              The TensorBoard Summary writer to use or None
      """
      super(ReportMgr, self).__init__(report_every, start_time)
      self.tensorboard_writer = tensorboard_writer
  
imports: import time
  from datetime import datetime
  import onmt
  from onmt.utils.logging import logger
label_desc: Use image node_id 1 to create a new ReportMgr object from inherited base classes: ReportMgrBase with example: obj = ReportMgr(report_every, start_time, tensorboard_writer)