#[non_exhaustive]pub struct TrainingSummaryConfig {
pub error_alpha: f64,
}Expand description
Configuration for TrainingSummary.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.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