How many epochs lesson5-sgd-mnist.ipynb

About the notebook lesson5-sgd-mnist.ipynb in lesson 5, where the number of epochs is specified?

When comparing the loss plot using optimizer Adam vs SGD, it seems to me the x-axis represents the number of epochs. But I am not sure where epoch is defined.