code: def dict_to_tb_scalar(self, scope_name, stats, step):
      for key, value in stats.items():
          self.writer.add_scalar(
              "{}/{}".format(scope_name, key), value, step
          )
  
file_path: TTS/TTS/utils/tensorboard_logger.py
imports: import traceback
  from tensorboardX import SummaryWriter
label_desc: Use image node_id 3 for calling the TensorboardLogger obj's underlying member method code with example usage: obj.dict_to_tb_scalar(scope_name, stats, step) without return types