module ensae_teaching_dl.examples.keras_mnist Taken from mnist_cnn.py. Trains a simple convolution network on the MNIST dataset. Gets to 99.25% test accuracy after 12 epochs (there is still a lot of margin for parameter tuning). 16 seconds per epoch on a GRID K520 GPU. source on GitHub