Model Training · Level 2 of 5
Batch
A collection of examples processed together in a computation.
A batch may be the full dataset or a smaller subset.
Example
A training step processes 64 images together.
Listen to the definition and example
Audio transcript
Batch. A collection of examples processed together in a computation. A batch may be the full dataset or a smaller subset. For example: A training step processes 64 images together.
Explore this concept
A useful analogy
A tray of examples handled together.
Technical detail
For N examples and batch size B, batch shapes typically begin with an axis of length B. The last batch may be smaller.
Start with
Related concepts
Quick recall question
Try answering before looking back at the definition.