code: def scalar_summary(self, tag, value, step):
      summary = Summary(
          value=[Summary.Value(tag=tag, simple_value=value)]
      )
      self.summary_writer.add_summary(summary, global_step=step)
  
file_path: ENAS-pytorch/tensorboard.py
imports: import PIL
  import scipy.misc
  from io import BytesIO
  import tensorboardX
  from tensorboardX.summary import Summary
label_desc: Use image node_id 3 for calling the TensorBoard obj's underlying member method code with example usage: obj.scalar_summary(tag, value, step) without return types