code: def __init__(self, log_dir, model_name):
      self.model_name = model_name
      self.writer = SummaryWriter(log_dir)
      self.train_stats = {}
      self.eval_stats = {}
  
file_path: TTS/TTS/utils/tensorboard_logger.py
imports: import traceback
  from tensorboardX import SummaryWriter
label_desc: Use image node_id 1 to create a new TensorboardLogger object from inherited base classes: object with example: obj = TensorboardLogger(log_dir, model_name)