class_docstr: Samples elements sequentially, always in the same order.
  
  Args:
      data_source (Dataset): dataset to sample from
class_docstr_tok: ["Samples","elements","sequentially",",","always","in","the","same","order",".","Args",":","data_source","(","Dataset",")",":","dataset","to","sample","from"]
code: def __iter__(self) -> Iterator[int]:
      return iter(range(len(self.data_source)))
  
imports: from typing import Iterator, Optional, Sized, Sequence
  import math
  from ....utils import require_not_none
label_desc: Use image node_id 2 for calling the SequentialSampler obj's underlying member method code with example usage: obj.__iter__() and returns: iter