pub struct BackgroundLoopConfig {
pub min_trajectories: usize,
pub base_lora_lr: f32,
pub ewc_lambda: f32,
pub extraction_interval: Duration,
}Expand description
Background loop configuration
Fields§
§min_trajectories: usizeMinimum trajectories to process
base_lora_lr: f32Base LoRA learning rate
ewc_lambda: f32EWC lambda
extraction_interval: DurationPattern extraction interval
Trait Implementations§
Source§impl Clone for BackgroundLoopConfig
impl Clone for BackgroundLoopConfig
Source§fn clone(&self) -> BackgroundLoopConfig
fn clone(&self) -> BackgroundLoopConfig
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 moreSource§impl Debug for BackgroundLoopConfig
impl Debug for BackgroundLoopConfig
Source§impl Default for BackgroundLoopConfig
impl Default for BackgroundLoopConfig
Source§impl From<&SonaConfig> for BackgroundLoopConfig
impl From<&SonaConfig> for BackgroundLoopConfig
Source§fn from(config: &SonaConfig) -> Self
fn from(config: &SonaConfig) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BackgroundLoopConfig
impl RefUnwindSafe for BackgroundLoopConfig
impl Send for BackgroundLoopConfig
impl Sync for BackgroundLoopConfig
impl Unpin for BackgroundLoopConfig
impl UnwindSafe for BackgroundLoopConfig
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