backup before computing mini-batch via theano
remove profiling statements