pub struct TrainingSummaryConfig {
pub error_alpha: f64,
}Expand description
Configuration for TrainingSummary.
Fields§
§error_alpha: f64Alpha for the exponentially weighted recent error.
Must be in (0, 1]. Smaller values give a longer memory.
Trait Implementations§
Source§impl Clone for TrainingSummaryConfig
impl Clone for TrainingSummaryConfig
Source§fn clone(&self) -> TrainingSummaryConfig
fn clone(&self) -> TrainingSummaryConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TrainingSummaryConfig
impl Debug for TrainingSummaryConfig
Auto Trait Implementations§
impl Freeze for TrainingSummaryConfig
impl RefUnwindSafe for TrainingSummaryConfig
impl Send for TrainingSummaryConfig
impl Sync for TrainingSummaryConfig
impl Unpin for TrainingSummaryConfig
impl UnsafeUnpin for TrainingSummaryConfig
impl UnwindSafe for TrainingSummaryConfig
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