Inference from within the model with prediction result

quick follow up if anyone has trouble getting predictions

simply using y.eval… is incorrect as one needs to use the variational parameters!

this existing post (How to obtain prediction results) contains the solution which is essentially the same as above, except using ed.copy with an additional feeddict for the latent variables