@classmethod
    def subset_of(cls, subset, list_or_slice):
        return cls(subset[list_or_slice], subset.original_num_examples)
Construct a Subset that is a subset of another Subset.
dataset/ETHPy150Open mila-udem/fuel/fuel/utils/__init__.py/Subset.subset_of