code: def testMergeTensorValueDenseDifferentShapesStrings(self):
      merged_tensor_values = util.merge_tensor_values(
          tensor_values=[
              np.array([[["apple"], ["banana"]]]),
              np.array([[["cherry", "date", "elderberry"]]]),
              np.array(
                  [
                      [
                          ["fig", "guava"],
                          ["honeydew", "imbe"],
                          ["jackfruit", "kiwi"],
                      ]
                  ]
              ),
          ]
      )
      self.assertAllEqual(
          np.array(
              [
                  # Row 0
                  [["apple", "", ""], ["banana", "", ""], ["", "", ""]],
                  # Row 1
                  [
                      ["cherry", "date", "elderberry"],
                      ["", "", ""],
                      ["", "", ""],
                  ],
                  # Row 2
                  [
                      ["fig", "guava", ""],
                      ["honeydew", "imbe", ""],
                      ["jackfruit", "kiwi", ""],
                  ],
              ]
          ),
          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 9 for calling the UtilTest obj's underlying member method code with example usage: obj.testMergeTensorValueDenseDifferentShapesStrings() without return types