code: def __iter__(self):
      return iter(range(self.start, self.end))
  
file_path: apex/tests/L0/run_transformer/test_batch_sampler.py
imports: import torch
  from torch.testing._internal import common_utils
  from torch.utils.data import Dataset
  from torch.utils.data import DataLoader
  from apex.transformer.pipeline_parallel.utils import _split_batch_into_microbatch
label_desc: Use image node_id 2 for calling the MyIterableDataset obj's underlying member method code with example usage: obj.__iter__() and returns: iter