In this tutorial we'll build a spatial transformer network that will transform MNIST digits for classification by a CNN:
Spatial transformer networks perform differentiable affine transformations on images, in this tutorial for the purpose of aiding classification of MNIST digits.