API symbolsutils
Copy
IterableDataset
- class tensorplay.utils.data.IterableDataset[source]
An iterable Dataset.
All datasets that represent an iterable of data samples should subclass it. Such form of datasets is particularly useful when data come from a stream.
All subclasses should overwrite
__iter__(), which would return an iterator of samples in this dataset.When a subclass is used with
DataLoader, each item in the dataset will be yielded from the DataLoader iterator.
Help improve this page
Found an error, an unclear step, or a missing example?
Was this page helpful?
