code: def testHashStringsWithKeySparseInput(self):
      strings = tf.SparseTensor(
          indices=[[0, 0, 0], [0, 1, 1], [1, 1, 0], [2, 1, 0]],
          values=["$$$", "%^#", "&$!#@", "$$$"],
          dense_shape=[3, 3, 2],
      )
      hash_buckets = 173
      expected_indices = strings.indices
      expected_values = [16, 156, 9, 16]
      expected_shape = strings.dense_shape
      hashed_strings = mappers.hash_strings(
          strings, hash_buckets, key=[321, 555]
      )
      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 30 for calling the MappersTest obj's underlying member method code with example usage: obj.testHashStringsWithKeySparseInput() without return types