code: def testSplitTFIDFWithEmptyInput(self):
      # TODO(b/123242111): rewrite this test using public functions.
      with tf.compat.v1.Graph().as_default():
          tfidf = tf.SparseTensor(
              values=tf.constant([], shape=[0], dtype=tf.float32),
              indices=tf.constant([], shape=[0, 2], dtype=tf.int64),
              dense_shape=[2, 0],
          )
  
          _, weights = mappers._split_tfidfs_to_outputs(tfidf)
  
          with self.test_session() as sess:
              weights_shape = sess.run(weights.dense_shape)
      self.assertAllEqual(weights_shape, [2, 0])
  
imports: import numpy
  import tensorflow
  from tensorflow_transform import mappers
  from tensorflow_transform import test_case
label_desc: Use image node_id 25 for calling the MappersTest obj's underlying member method code with example usage: obj.testSplitTFIDFWithEmptyInput() without return types