The glossary
Every word you'll meet in AI and machine learning, explained in everyday language.
A PyTorch dataset that yields items one at a time as a stream, for data too big or too slow to index.
Step through: the generator is a card that remembers its paused line and its n. Its body only runs when next() or list() asks for a value, and each yield pauses it again.
Iterators and generators · The iteration protocol, yield, lazy pipelines and itertools, in small memory. About 45 minutes.
1286 terms in the glossary, each with the lesson that teaches it.
Every word you'll meet in AI and machine learning, explained in everyday language.
The iteration protocol, yield, lazy pipelines and itertools, in small memory.
Never trained an AI? Teach a small one to write, right in your browser. It takes about 20 seconds and needs no account. Teach it to write