Example of Implicitqp with local variables

Hi,
I’m trying to train a nonlinear statespace model with implicitqp function and I’m wondering if there are examples with local variables being used. The example on the Edward github is a bayesian linear regression with no local variables. Thanks in advance!