code: def scalar(self, *args, **kwargs):
      return summary.scalar_pb(*args, **kwargs)
  
imports: import glob
  import os
  import numpy
  import tensorflow
  from tensorboard.compat import tf2
  from tensorboard.compat.proto import summary_pb2
  from tensorboard.plugins.scalar import metadata
  from tensorboard.plugins.scalar import summary
  from tensorboard.util import tensor_util
label_desc: Use image node_id 1 for calling the SummaryV2PbTest obj's underlying member method code with example usage: obj.scalar() and returns: summary