General code for theano based deep learning.