pub struct ELBO {
pub kl_term: f64,
pub reconstruction_term: f64,
}Expand description
Evidence Lower Bound (ELBO) for variational inference.
ℒ(q) = E_q[log p(x,z)] - E_q[log q(z)] = log p(x) - D_KL(q(z) ‖ p(z|x))
Fields§
§kl_term: f64D_KL(q‖p) component.
reconstruction_term: f64E_q[log p(x,z)] reconstruction term.
Implementations§
Auto Trait Implementations§
impl Freeze for ELBO
impl RefUnwindSafe for ELBO
impl Send for ELBO
impl Sync for ELBO
impl Unpin for ELBO
impl UnsafeUnpin for ELBO
impl UnwindSafe for ELBO
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more