Thanks @jpchen! It looks like I need to run
guide(None) to evaluate the parameter posteriors, but given that I initiated a RegressionModel class, this is what I'm getting when I run it:
(linear): Linear(in_features=2, out_features=1, bias=True)
I've even tried something like
svi_posterior = svi.run(build_linear_dataset(N, p=p, w = np.array([1., 0.5]), b = 4.)) and calling
guide on that object, but still same result.
Is there a way to evaluate the RegressionModel class to give me the actual params?