class_docstr: Dataset with elements chosen by a sampler
code: def __init__(self, dataset, sampler):
      self._dataset = dataset
      self._sampler = sampler
      self._indices = list(iter(sampler))
      self.handle = None
  
imports: import os
  from ...None import recordio, ndarray
  from ...util import default_array
label_desc: Use image node_id 1 to create a new _SampledDataset object from inherited base classes: Dataset with example: obj = _SampledDataset(dataset, sampler)