class_docstr: Write events in TensorBoard format.
class_docstr_tok: ["Write","events","in","TensorBoard","format","."]
code: def __init__(self, logdir):
      if tb_summary is None:
          raise ValueError(
              "You must install TensorFlow "
              + "to use Tensorboard summary writer."
          )
      self._writer = tb_summary.FileWriter(logdir)
  
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 TensorBoardWriter object from inherited base classes: object with example: obj = TensorBoardWriter(logdir)