code: def testDocStringExample(self):
      splits = [0, 3, 3, 5, 6, 9]
      expected = [0, 0, 0, 2, 2, 3, 4, 4, 4]
      segment_ids = segment_id_ops.row_splits_to_segment_ids(splits)
      self.assertAllEqual(segment_ids, expected)
  
file_path: tensorflow/tensorflow/python/ops/ragged/ragged_row_splits_to_segment_ids_op_test.py
imports: from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops.ragged import segment_id_ops
  from tensorflow.python.platform import googletest
label_desc: Use image node_id 1 for calling the RaggedSplitsToSegmentIdsOpTest obj's underlying member method code with example usage: obj.testDocStringExample() without return types