I am sorry for asking lots of questions.
I have designed a training loop to train my
SVI as below:
# set SVI svi = SVI(myPyroModel, guide, optimizer, loss=Trace_ELBO()) # simple training loop for i in range(num_iter): svi.step()
My question is, when I train my
svi in this way, does the
myPyroModel inside the call
svi = SVI(myPyroModel, guide, optimizer, loss=Trace_ELBO()) also get trained and modified appropriately?