pub struct EpochStats {
pub epoch: usize,
pub avg_loss: f64,
pub learning_rate: f32,
pub pairs_processed: u64,
pub elapsed_secs: f64,
}Expand description
Recorded statistics for one epoch.
Fields§
§epoch: usize§avg_loss: f64§learning_rate: f32§pairs_processed: u64§elapsed_secs: f64Trait Implementations§
Source§impl Clone for EpochStats
impl Clone for EpochStats
Source§fn clone(&self) -> EpochStats
fn clone(&self) -> EpochStats
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 moreAuto Trait Implementations§
impl Freeze for EpochStats
impl RefUnwindSafe for EpochStats
impl Send for EpochStats
impl Sync for EpochStats
impl Unpin for EpochStats
impl UnsafeUnpin for EpochStats
impl UnwindSafe for EpochStats
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