pub struct PlasticityDelta {
pub weight_id: WeightId,
pub delta: Vec<f32>,
pub mode: PlasticityMode,
pub ewc_penalty: f32,
pub phi_protection_applied: bool,
}Expand description
Δ-parameter update from plasticity engine.
Fields§
§weight_id: WeightId§delta: Vec<f32>§mode: PlasticityMode§ewc_penalty: f32§phi_protection_applied: boolTrait Implementations§
Source§impl Clone for PlasticityDelta
impl Clone for PlasticityDelta
Source§fn clone(&self) -> PlasticityDelta
fn clone(&self) -> PlasticityDelta
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 PlasticityDelta
impl RefUnwindSafe for PlasticityDelta
impl Send for PlasticityDelta
impl Sync for PlasticityDelta
impl Unpin for PlasticityDelta
impl UnsafeUnpin for PlasticityDelta
impl UnwindSafe for PlasticityDelta
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