Glossary: Deep Learning Basics
__getitem__
Also written: __len__
The two methods a custom Dataset must define: `__len__` returns the number of examples and `__getitem__` returns example `i`.
Glossary: Deep Learning Basics
Also written: __len__
The two methods a custom Dataset must define: `__len__` returns the number of examples and `__getitem__` returns example `i`.