pub struct ELBOResult {
pub elbo: f64,
pub log_likelihood: f64,
pub kl_divergence: f64,
pub grad_mean: Array1<f64>,
pub grad_cov: Array2<f64>,
}Expand description
Structure to hold ELBO computation results
Fields§
§elbo: f64elbo
log_likelihood: f64log_likelihood
kl_divergence: f64kl_divergence
grad_mean: Array1<f64>grad_mean
grad_cov: Array2<f64>grad_cov
Trait Implementations§
Source§impl Clone for ELBOResult
impl Clone for ELBOResult
Source§fn clone(&self) -> ELBOResult
fn clone(&self) -> ELBOResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ELBOResult
impl RefUnwindSafe for ELBOResult
impl Send for ELBOResult
impl Sync for ELBOResult
impl Unpin for ELBOResult
impl UnwindSafe for ELBOResult
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more