Testval for gp.Latent cannot be theano.shared?

You should be able to give a testval that’s a numpy array. Are you trying to do predictions with the GP? If so, you need to use the conditional distribution.