http://deeplearning.net/software/theano/tutorial/index.html#tutorial