class_docstr: Logger class.
code: def record_scalar(self, name, scalar, step):
      tf.summary.scalar(name, scalar, step)
      if name in self.xmanager:
          step = step.numpy() if isinstance(step, tf.Tensor) else step
          self.xmanager[name].create_measurement(
              objective_value=float(scalar), step=int(step)
          )
  
file_path: graphics/tensorflow_graphics/projects/points_to_3Dobjects/utils/logger.py
imports: import collections
  import os
  import tensorflow
label_desc: Use image node_id 2 for calling the Logger obj's underlying member method code with example usage: obj.record_scalar(name, scalar, step) without return types