code: def testMergeTensorValueSparseDifferentShapes(self):
      merged_tensor_values = util.merge_tensor_values(
          tensor_values=[
              tf.compat.v1.SparseTensorValue(
                  indices=np.array([[0, 0, 0], [0, 1, 1]]),
                  values=np.array([10, 12]),
                  dense_shape=np.array([1, 2, 2]),
              ),
              tf.compat.v1.SparseTensorValue(
                  indices=np.array([[0, 2, 2]]),
                  values=np.array([22]),
                  dense_shape=np.array([1, 3, 3]),
              ),
              tf.compat.v1.SparseTensorValue(
                  indices=np.array([[0, 0, 4]]),
                  values=np.array([33]),
                  dense_shape=np.array([1, 1, 5]),
              ),
          ]
      )
  
      self.assertSparseTensorValueEqual(
          tf.compat.v1.SparseTensorValue(
              indices=np.array(
                  [[0, 0, 0], [0, 1, 1], [1, 2, 2], [2, 0, 4]]
              ),
              values=np.array([10, 12, 22, 33]),
              dense_shape=np.array([3, 3, 5]),
          ),
          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 12 for calling the UtilTest obj's underlying member method code with example usage: obj.testMergeTensorValueSparseDifferentShapes() without return types