zhusuan.variational.elbo¶
- class ELBO(generator, variational)[source]¶
Bases:
jittor.ModuleShort cut for class
EvidenceLowerBoundObjective
- class EvidenceLowerBoundObjective(generator, variational)[source]¶
Bases:
zhusuan.variational.elbo.ELBOThe class that represents the evidence lower bound (ELBO) objective for variational inference. It can be constructed like a Jittor’s Module by passing 2
BayesianNetinstances. For example, the generator network and the variational inference network in VAE. The model can calculate the ELBO’s value with observations passed.See also
For more details and examples, please refer to Variational Autoencoders and Bayesian Neural Networks
- Parameters
generator – A
BayesianNetinstance that typically defines the learning process.variational – A
BayesianNetinstance that defines the variational family.