Abstract base class for MNIST loaders that implements common functionality.
The configuration for the MNIST loader.
Loads the MNIST test dataset.
Loads the MNIST training dataset.