modelzoo.transformers.pytorch.layers_api_demo.data.AlphabetDataset#

class modelzoo.transformers.pytorch.layers_api_demo.data.AlphabetDataset[source]#

Bases: torch.utils.data.Dataset

Methods

collate

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

Call self as a function.

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