Iteration
One cycle of the optimizer's work: compute the gradient and update the parameters.
Iteration vs Epoch
| Iteration | Epoch | |
|---|---|---|
| What it is | one update of the parameters | one full pass over the dataset |
| How many | depends on the number of batches | usually tens or hundreds |
If the dataset is split into 10 mini-batches, then one epoch is 10 iterations.