pub struct TrainingReport {
pub steps: usize,
pub final_loss: f32,
pub parameter_count: usize,
pub checkpoint_path: Option<String>,
}Expand description
Summary returned after training via the high-level Trainer.
Fields§
§steps: usizeNumber of training steps completed.
final_loss: f32Final training loss.
parameter_count: usizeTotal number of parameters in the model.
checkpoint_path: Option<String>Path the checkpoint was saved to, if any.
Trait Implementations§
Source§impl Clone for TrainingReport
impl Clone for TrainingReport
Source§fn clone(&self) -> TrainingReport
fn clone(&self) -> TrainingReport
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 moreAuto Trait Implementations§
impl Freeze for TrainingReport
impl RefUnwindSafe for TrainingReport
impl Send for TrainingReport
impl Sync for TrainingReport
impl Unpin for TrainingReport
impl UnsafeUnpin for TrainingReport
impl UnwindSafe for TrainingReport
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