code: def _SummarySingleValue(self, s):
      summ = summary_pb2.Summary()
      summ.ParseFromString(s)
      self.assertEqual(len(summ.value), 1)
      return summ.value[0]
  
file_path: tensorflow-upstream/tensorflow/python/kernel_tests/summary_ops/summary_v1_tensor_op_test.py
imports: import numpy
  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 tensor_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.platform import test
  from tensorflow.python.summary import summary
label_desc: Use image node_id 1 for calling the SummaryV1TensorOpTest obj's underlying member method code with example usage: obj._SummarySingleValue(s) and returns: summ