TensorPlay
API symbolsutils
Copy
View MarkdownDownload .md

ChainDataset

class tensorplay.utils.data.ChainDataset(datasets: Iterable[Dataset])[source]

Dataset for chaining multiple IterableDataset s.

This class is useful to assemble different existing dataset streams. The chaining operation is done on-the-fly, so concatenating large-scale datasets with this class will be efficient.

Parameters:

datasets (iterable of IterableDataset) – datasets to be chained together

Ask DeepWiki