code: def testScalarSummaryDefaultName(self):
      with self.cached_session() as sess:
          const = constant_op.constant([10.0, 20.0])
          summ = logging_ops.scalar_summary(["c1", "c2"], const)
          value = self.evaluate(summ)
      self.assertEqual([], summ.get_shape())
      self.assertProtoEquals(
          """
        value { tag: "c1" simple_value: 10.0 }
        value { tag: "c2" simple_value: 20.0 }
        """,
          self._AsSummary(value),
      )
  
file_path: tensorflow-upstream/tensorflow/python/kernel_tests/summary_ops/summary_v1_ops_test.py
imports: from tensorflow.core.framework import summary_pb2
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import logging_ops
  from tensorflow.python.platform import test
  from tensorflow.python.summary import summary
label_desc: Use image node_id 3 for calling the SummaryV1OpsTest obj's underlying member method code with example usage: obj.testScalarSummaryDefaultName() without return types