Should this be  ft = theano_code(f(t))?