Samples and notes from Theano documentation.