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 __len__(self) -> int:
      return len(self.data_source)
  
imports: import torch
  from torch import Tensor
  from typing import Iterator, Iterable, Optional, Sequence, List, TypeVar, Generic, Sized, Union
label_desc: Use image node_id 3 for calling the SequentialSampler obj's underlying member method code with example usage: obj.__len__() and returns: len