Trait candle_optimisers::OptimParams
source · pub trait OptimParams: Optimizer {
// Required methods
fn params(&self) -> &Self::Config;
fn set_params(&mut self, config: Self::Config);
}Expand description
Trait for optimisers to expose their parameters
Required Methods§
sourcefn set_params(&mut self, config: Self::Config)
fn set_params(&mut self, config: Self::Config)
set the current parameters of the Optimiser
Object Safety§
This trait is not object safe.