code: def __init__(self, logdir="./log"):
      self.writer = SummaryWriter(logdir)
  
file_path: DeepKE/src/deepke/event_extraction/standard/degree/utils.py
imports: from tensorboardX import SummaryWriter
label_desc: Use image node_id 1 to create a new Summarizer object from inherited base classes: object with example: obj = Summarizer(logdir)