code: def sample(self):
      return (
          b
          for i, b in enumerate(self.__idxs)
          if i // (self.bs or 1) % self.num_workers == self.offs
      )
  
imports: from __future__ import annotations
  from ..torch_basics import *
  from torch.utils.data.dataloader import _MultiProcessingDataLoaderIter, _SingleProcessDataLoaderIter, _DatasetKind
label_desc: Use image node_id 4 for calling the DataLoader obj's underlying member method code with example usage: obj.sample() and returns: unknown