pub enum ContinualLearningStrategy {
ElasticWeightConsolidation {
lambda: f64,
fisher_samples: usize,
},
ProgressiveNetworks {
max_columns: usize,
lateral_strength: f64,
},
ExperienceReplay {
buffer_size: usize,
replay_batch_size: usize,
replay_frequency: usize,
},
LearningWithoutForgetting {
temperature: f64,
distillation_weight: f64,
},
MemoryAugmented {
memory_size: usize,
read_heads: usize,
write_strength: f64,
},
GradientEpisodicMemory {
memory_size: usize,
tolerance: f64,
},
}Expand description
Continual learning strategy
Variants§
ElasticWeightConsolidation
Elastic Weight Consolidation (EWC)
Fields
ProgressiveNetworks
Progressive Neural Networks
Fields
ExperienceReplay
Experience Replay
Fields
LearningWithoutForgetting
Learning without Forgetting (LwF)
MemoryAugmented
Memory-Augmented Networks
Fields
GradientEpisodicMemory
Gradient Episodic Memory (GEM)
Trait Implementations§
Source§impl Clone for ContinualLearningStrategy
impl Clone for ContinualLearningStrategy
Source§fn clone(&self) -> ContinualLearningStrategy
fn clone(&self) -> ContinualLearningStrategy
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 ContinualLearningStrategy
impl RefUnwindSafe for ContinualLearningStrategy
impl Send for ContinualLearningStrategy
impl Sync for ContinualLearningStrategy
impl Unpin for ContinualLearningStrategy
impl UnwindSafe for ContinualLearningStrategy
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