torch_blue.vi.utils.UnsupportedDistributionError

exception torch_blue.vi.utils.UnsupportedDistributionError

Bases: ValueError

Raised if a distribution is used in an unsupported way.

A Distribution may not support being used as prior, variational distribution or predictive distribution. When attempting to still use it in such a way this error is raised.