How does one sample a multivariate distribution in Pyro? I just want a (M, N)
Beta distribution, but the following doesn't work:
impor torch
import pyro
with pyro.plate("theta_plate", M):
theta = pyro.sample("theta",
pyro.distributions.Beta(concentration0=torch.ones(N),
concentration1=torch.ones(N)))
Use
to_event(n)
to declare depdent samples.