pub struct LossScalerStats {
pub current_scale: f64,
pub overflow_count: usize,
pub total_steps: usize,
pub overflow_rate: f64,
pub growth_tracker: usize,
}Expand description
Statistics about loss scaling.
Fields§
§current_scale: f64Current scale factor
overflow_count: usizeNumber of overflow events
total_steps: usizeTotal training steps
overflow_rate: f64Overflow rate (overflows / total steps)
growth_tracker: usizeCurrent growth tracker value
Trait Implementations§
Source§impl Clone for LossScalerStats
impl Clone for LossScalerStats
Source§fn clone(&self) -> LossScalerStats
fn clone(&self) -> LossScalerStats
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 LossScalerStats
impl Debug for LossScalerStats
Source§impl PartialEq for LossScalerStats
impl PartialEq for LossScalerStats
impl StructuralPartialEq for LossScalerStats
Auto Trait Implementations§
impl Freeze for LossScalerStats
impl RefUnwindSafe for LossScalerStats
impl Send for LossScalerStats
impl Sync for LossScalerStats
impl Unpin for LossScalerStats
impl UnwindSafe for LossScalerStats
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