Skip to content

Glossary: Deep Learning Basics

Dataset

Also written: torch.utils.data.Dataset

An object that knows how many examples there are (`__len__`) and how to fetch example `i` (`__getitem__`). You can write your own, like `SubscriberData`.

Where the book teaches it

Related terms

DataLoaderTensorDatasetrandom_split__getitem__