docstr: Log a scalar variable.
docstr_tok: ["Log","a","scalar","variable","."]
code: def scalar_summary(self, tag, value, step):
      """Log a scalar variable."""
      summary = tf.Summary(
          value=[tf.Summary.Value(tag=tag, simple_value=value)]
      )
      self.writer.add_summary(summary, step)
  
file_path: pytorch-tutorial/tutorials/04-utils/tensorboard/logger.py
imports: import tensorflow
  import numpy
  import scipy.misc
label_desc: Use image node_id 2 for calling the Logger obj's underlying member method code with example usage: obj.scalar_summary(tag, value, step) without return types