code: def testSegmentIndicesSkipOne(self):
      with tf.compat.v1.Graph().as_default():
          input_tensor = tf.constant([0, 0, 2, 2])
          with tf.compat.v1.Session():
              self.assertAllEqual(
                  [0, 1, 0, 1],
                  mappers.segment_indices(input_tensor).eval(),
              )
  
imports: import numpy
  import tensorflow
  from tensorflow_transform import mappers
  from tensorflow_transform import test_case
label_desc: Use image node_id 3 for calling the MappersTest obj's underlying member method code with example usage: obj.testSegmentIndicesSkipOne() without return types