code: def testDedupeDenseTensorPerRow(
      self, values, expected_indices, expected_output
  ):
      with tf.compat.v1.Graph().as_default():
          dense_input = tf.constant(values)
          output_tensor = mappers.deduplicate_tensor_per_row(
              dense_input
          )
          with tf.compat.v1.Session():
              output = output_tensor.eval()
              self.assertAllEqual(output.indices, expected_indices)
              self.assertAllEqual(output.values, expected_output)
  
imports: import numpy
  import tensorflow
  from tensorflow_transform import mappers
  from tensorflow_transform import test_case
label_desc: Use image node_id 13 for calling the MappersTest obj's underlying member method code with example usage: obj.testDedupeDenseTensorPerRow(values, expected_indices, expected_output) without return types