Hi all. I’ve had fun messing around with some simple models but am missing some understanding on a few points that I’m struggling to find addressed in the docs.
- What is the difference between PyroSample and pyro.sample?
- If I’m using a PyroModule to represent my model (as in the Bayesian regression example), and I only have global variables, is there any distinction between putting PyroSample calls in init() vs in forward() ?
- Are there best practice recommendations about structuring code: e.g. should the model usually be a PyroModule? Should the guide be a member function of that class? This seems to vary across the different examples I’ve looked at.
- Are there any full examples using AutoGuideList ?