pub struct EpochStats {
pub epoch: usize,
pub examples_processed: usize,
pub avg_quality: f32,
pub duration_secs: f64,
}Expand description
Epoch statistics
Fields§
§epoch: usizeEpoch number (0-indexed)
examples_processed: usizeExamples processed in this epoch
avg_quality: f32Average quality for this epoch
duration_secs: f64Duration in seconds
Trait 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 moreSource§impl Debug for EpochStats
impl Debug for EpochStats
Source§impl<'de> Deserialize<'de> for EpochStats
impl<'de> Deserialize<'de> for EpochStats
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for EpochStats
impl Display for EpochStats
Auto Trait Implementations§
impl Freeze for EpochStats
impl RefUnwindSafe for EpochStats
impl Send for EpochStats
impl Sync for EpochStats
impl Unpin 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