code: def testHashStringsNoKeySparseInput(self):
      strings = tf.SparseTensor(
          indices=[[0, 0], [0, 1], [1, 0]],
          values=["Dog", "Cat", ""],
          dense_shape=[2, 2],
      )
      hash_buckets = 17
      expected_indices = [[0, 0], [0, 1], [1, 0]]
      expected_values = [12, 4, 11]
      expected_shape = [2, 2]
      hashed_strings = mappers.hash_strings(strings, hash_buckets)
      self.assertSparseOutput(
          expected_indices=expected_indices,
          expected_values=expected_values,
          expected_shape=expected_shape,
          actual_sparse_tensor=hashed_strings,
          close_values=False,
      )
  
imports: import numpy
  import tensorflow
  from tensorflow_transform import mappers
  from tensorflow_transform import test_case
label_desc: Use image node_id 27 for calling the MappersTest obj's underlying member method code with example usage: obj.testHashStringsNoKeySparseInput() without return types