code: def testMergeTensorValueSparse(self):
      merged_tensor_values = util.merge_tensor_values(
          tensor_values=[
              tf.compat.v1.SparseTensorValue(
                  indices=np.array([[0, 0], [0, 1]]),
                  values=np.array([1, 2]),
                  dense_shape=np.array([1, 2]),
              ),
              tf.compat.v1.SparseTensorValue(
                  indices=np.array([[0, 0], [0, 1]]),
                  values=np.array([3, 4]),
                  dense_shape=np.array([1, 2]),
              ),
              tf.compat.v1.SparseTensorValue(
                  indices=np.array([[0, 0], [0, 1]]),
                  values=np.array([5, 6]),
                  dense_shape=np.array([1, 2]),
              ),
          ]
      )
      self.assertSparseTensorValueEqual(
          tf.compat.v1.SparseTensorValue(
              indices=np.array(
                  [[0, 0], [0, 1], [1, 0], [1, 1], [2, 0], [2, 1]]
              ),
              values=np.array([1, 2, 3, 4, 5, 6]),
              dense_shape=np.array([3, 2]),
          ),
          merged_tensor_values,
      )
  
file_path: model-analysis/tensorflow_model_analysis/eval_saved_model/util_test.py
imports: import numpy
  import tensorflow
  from tensorflow_model_analysis.eval_saved_model import testutil
  from tensorflow_model_analysis.eval_saved_model import util
  from tensorflow.core.example import example_pb2
label_desc: Use image node_id 10 for calling the UtilTest obj's underlying member method code with example usage: obj.testMergeTensorValueSparse() without return types