TensorPlay
API symbolsutils
Copy
View MarkdownDownload .md

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.

Ask DeepWiki