neural network tools for Theano