wrapper for theano/pylearn2/cuda-convnet