class_docstr: Samples elements from a given list of indices.
  Args:
      indices (sequence): a sequence of indices
class_docstr_tok: ["Samples","elements","from","a","given","list","of","indices",".","Args",":","indices","(","sequence",")",":","a","sequence","of","indices"]
code: def __iter__(self) -> Iterator[int]:
      for i in self.indices:
          yield i
  
imports: from typing import Iterator, Sequence
  from torch.utils.data.sampler import Sampler
label_desc: Use image node_id 2 for calling the FixedSampler obj's underlying member method code with example usage: obj.__iter__() without return types