code: def testSparseTensorLeftAlign(self):
      with tf.compat.v1.Graph().as_default():
          with self.test_session() as sess:
              x = tf.SparseTensor(
                  indices=[
                      [0, 3],
                      [1, 2],
                      [1, 4],
                      [3, 2],
                      [3, 4],
                      [5, 0],
                      [6, 1],
                  ],
                  values=[15, 10, 20, 17, -1111, 13, 21],
                  dense_shape=[7, 5],
              )
              y = mappers.sparse_tensor_left_align(x)
              expected_indices = [
                  [0, 0],
                  [1, 0],
                  [1, 1],
                  [3, 0],
                  [3, 1],
                  [5, 0],
                  [6, 0],
              ]
              self.assertAllEqual(sess.run(y.indices), expected_indices)
  
imports: import numpy
  import tensorflow
  from tensorflow_transform import mappers
  from tensorflow_transform import test_case
label_desc: Use image node_id 43 for calling the MappersTest obj's underlying member method code with example usage: obj.testSparseTensorLeftAlign() without return types