pub struct KLDivergence;Expand description
KL divergence D_KL(P‖Q) = Σ P(x) log(P(x)/Q(x)).
Implementations§
Auto Trait Implementations§
impl Freeze for KLDivergence
impl RefUnwindSafe for KLDivergence
impl Send for KLDivergence
impl Sync for KLDivergence
impl Unpin for KLDivergence
impl UnsafeUnpin for KLDivergence
impl UnwindSafe for KLDivergence
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