pub struct ModelTrainingReport {
pub steps: usize,
pub final_loss: f32,
pub best_loss: f32,
pub best_loss_step: usize,
pub training_window_count: usize,
pub parameter_count: usize,
}Fields§
§steps: usize§final_loss: f32§best_loss: f32The lowest loss observed across all training steps.
best_loss_step: usizeThe step at which best_loss was recorded.
training_window_count: usize§parameter_count: usizeTrait Implementations§
Source§impl Clone for ModelTrainingReport
impl Clone for ModelTrainingReport
Source§fn clone(&self) -> ModelTrainingReport
fn clone(&self) -> ModelTrainingReport
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 ModelTrainingReport
impl Debug for ModelTrainingReport
Source§impl PartialEq for ModelTrainingReport
impl PartialEq for ModelTrainingReport
Source§fn eq(&self, other: &ModelTrainingReport) -> bool
fn eq(&self, other: &ModelTrainingReport) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ModelTrainingReport
Auto Trait Implementations§
impl Freeze for ModelTrainingReport
impl RefUnwindSafe for ModelTrainingReport
impl Send for ModelTrainingReport
impl Sync for ModelTrainingReport
impl Unpin for ModelTrainingReport
impl UnsafeUnpin for ModelTrainingReport
impl UnwindSafe for ModelTrainingReport
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