class chainer.datasets.DictDataset(**datasets)[source]

Dataset of a dictionary of datasets.

It combines multiple datasets into one dataset. Each example is represented by a dictionary mapping a key to an example of the corresponding dataset.

Parameters:datasets – Underlying datasets. The keys are used as the keys of each example. All datasets must have the same length.