pub struct AdvancedOptions {
pub adaptive_t: bool,
pub t_min: f32,
pub t_max: f32,
pub t_lr: f32,
pub weight_lr: f32,
pub weight_min: f32,
pub weight_max: f32,
pub prune_threshold: u32,
pub prune_weight: f32,
}Expand description
§Overview
Configuration for advanced training features.
Fields§
§adaptive_t: bool§t_min: f32§t_max: f32§t_lr: f32§weight_lr: f32§weight_min: f32§weight_max: f32§prune_threshold: u32§prune_weight: f32Trait Implementations§
Source§impl Clone for AdvancedOptions
impl Clone for AdvancedOptions
Source§fn clone(&self) -> AdvancedOptions
fn clone(&self) -> AdvancedOptions
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 AdvancedOptions
impl Debug for AdvancedOptions
Auto Trait Implementations§
impl Freeze for AdvancedOptions
impl RefUnwindSafe for AdvancedOptions
impl Send for AdvancedOptions
impl Sync for AdvancedOptions
impl Unpin for AdvancedOptions
impl UnwindSafe for AdvancedOptions
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