pub struct FisherDiagonal {
pub values: Vec<f32>,
pub phi_weight: f32,
pub mode: PlasticityMode,
}Expand description
Fisher Information diagonal approximation for EWC.
Fields§
§values: Vec<f32>Fisher Information for each weight dimension
phi_weight: f32Φ-weighted importance multiplier (1.0 = neutral, >1.0 = protect more)
mode: PlasticityModeWhich plasticity mode computed this
Trait Implementations§
Source§impl Clone for FisherDiagonal
impl Clone for FisherDiagonal
Source§fn clone(&self) -> FisherDiagonal
fn clone(&self) -> FisherDiagonal
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 FisherDiagonal
impl RefUnwindSafe for FisherDiagonal
impl Send for FisherDiagonal
impl Sync for FisherDiagonal
impl Unpin for FisherDiagonal
impl UnsafeUnpin for FisherDiagonal
impl UnwindSafe for FisherDiagonal
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