class_docstr: Manages reporting of metrics.
class_docstr_tok: ["Manages","reporting","of","metrics","."]
code: def __init__(self, log_interval=10, logdir=None, smooth_interval=10):
      self._writer = None
      if logdir:
          self._writer = TensorBoardWriter(logdir)
      self._last_step = 0
      self._last_reported_step = None
      self._last_reported_time = None
      self._log_interval = log_interval
      self._smooth_interval = smooth_interval
      self._metrics = collections.defaultdict(collections.deque)
  
file_path: studio/studio/torch/summary.py
imports: import collections
  import six
  import time
label_desc: Use image node_id 1 to create a new Reporter object from inherited base classes: object with example: obj = Reporter(log_interval, logdir, smooth_interval)