oa::ml::optim::GradScalerState
Resume-relevant GradScaler state: the dynamic scale and the growth counter tracking consecutive finite steps. Configuration factors are construction-time constants and do not participate.
Declaration
pub struct GradScalerState { pub scale: f32, pub growth_tracker: u64, }Public Rust declaration.
Public Methods
Public Data Members
scalef32fieldgrowth_trackeru64fieldPublic Method Documentation
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.