pub struct ModelStats {
pub trainable_parameters: u32,
pub epochs: BTreeMap<u8, Vec<EpochStats>>,
}Expand description
Model statistics.
Fields§
§trainable_parameters: u32Number of trainable parameters in the model.
epochs: BTreeMap<u8, Vec<EpochStats>>Map from epoch number to evaluation metrics at that epoch.
Because each model has evaluated multiple times, each epoch is associated with multiple metrics.
Trait Implementations§
Source§impl Debug for ModelStats
impl Debug for ModelStats
Source§impl Default for ModelStats
impl Default for ModelStats
Source§fn default() -> ModelStats
fn default() -> ModelStats
Returns the “default value” for a type. Read more
Source§impl PartialEq for ModelStats
impl PartialEq for ModelStats
impl StructuralPartialEq for ModelStats
Auto Trait Implementations§
impl Freeze for ModelStats
impl RefUnwindSafe for ModelStats
impl Send for ModelStats
impl Sync for ModelStats
impl Unpin for ModelStats
impl UnwindSafe for ModelStats
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