code: def testDedupeSparseTensorPerRow(
      self,
      indices,
      values,
      dense_shape,
      expected_output_indices,
      expected_output_values,
      expected_output_shape,
  ):
      with tf.compat.v1.Graph().as_default():
          sp_input = tf.SparseTensor(
              indices=indices, values=values, dense_shape=dense_shape
          )
          output_tensor = mappers.deduplicate_tensor_per_row(sp_input)
          with tf.compat.v1.Session():
              output = output_tensor.eval()
              self.assertAllEqual(
                  output.indices, expected_output_indices
              )
              self.assertAllEqual(output.values, expected_output_values)
              self.assertAllEqual(
                  output.dense_shape, expected_output_shape
              )
  
imports: import numpy
  import tensorflow
  from tensorflow_transform import mappers
  from tensorflow_transform import test_case
label_desc: Use image node_id 12 for calling the MappersTest obj's underlying member method code with example usage: obj.testDedupeSparseTensorPerRow(indices, values, dense_shape, expected_output_indices, expected_output_values, expected_output_shape) without return types