oa::ml::optim::ParameterGroup
A named parameter group for differential optimizer treatment. Groups are construction-time configuration: lr_scale multiplies the optimizer’s base learning rate for member parameters, weight_decay replaces the optimizer-level decay when present (Some(0.0) is the decay exclusion), and frozen parameters keep both their values and their optimizer moments untouched across updates. The name is diagnostic; it participates in validation errors. Group membership must be disjoint and cover the optimizer’s whole parameter set.
Declaration
pub struct ParameterGroup { pub name: String, pub parameters: Vec<Parameter>, pub lr_scale: f32, pub weight_decay: Option<f32>, pub frozen: bool, }Public Rust declaration.
Public Methods
Associated Functions
Public Data Members
nameStringfieldparametersVec<Parameter>fieldlr_scalef32fieldweight_decayOption<f32>fieldfrozenboolfieldPublic 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.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.