class_docstr: Dataset with a filter applied
code: def __init__(self, dataset, fn):
      self._dataset = dataset
      self._indices = [
          i for i, sample in enumerate(dataset) if fn(sample)
      ]
      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 _FilteredDataset object from inherited base classes: Dataset with example: obj = _FilteredDataset(dataset, fn)