modelzoo.transformers.pytorch.gpt2.input.DummyDataProcessor.DummyDataset#

class modelzoo.transformers.pytorch.gpt2.input.DummyDataProcessor.DummyDataset[source]#

Bases: torch.utils.data.Dataset

A Dummy map-style torch.utils.data.Dataset.

Methods

__call__(*args: Any, **kwargs: Any) Any#

Call self as a function.

__init__()[source]#
static __new__(cls, *args: Any, **kwargs: Any) Any#