each call to theano_function runs on separate cache