code: def __init__(self, data_iter):
      self.data_iter = data_iter
  
file_path: colossalai/examples/tutorial/sequence_parallel/data/bert_helper.py
imports: import torch
  from colossalai.legacy.context import ParallelMode
  from colossalai.legacy.core import global_context
label_desc: Use image node_id 1 to create a new SequenceParallelDataIterator object  with example: obj = SequenceParallelDataIterator(data_iter)