pub struct OptimizerSelector {
pub model_size: usize,
pub time_sensitive: bool,
pub memory_constrained: bool,
pub fast_convergence: bool,
pub robustness_priority: bool,
pub advanced_features: bool,
}Expand description
Optimizer Performance Analysis and Selection Tool
Helps users choose the right optimizer based on their requirements including performance characteristics, model size, and training objectives.
Fields§
§model_size: usizeModel parameter count
time_sensitive: boolTraining duration requirements (training time sensitivity)
memory_constrained: boolMemory constraints
fast_convergence: boolConvergence speed priority
robustness_priority: boolRobustness requirements (handling diverse training conditions)
advanced_features: boolAdvanced features requirements (entropy weighting, adaptive norms)
Implementations§
Source§impl OptimizerSelector
impl OptimizerSelector
pub fn new(model_size: usize) -> Self
pub fn time_sensitive(self, sensitive: bool) -> Self
pub fn memory_constrained(self, constrained: bool) -> Self
pub fn fast_convergence(self, fast: bool) -> Self
pub fn robustness_priority(self, robust: bool) -> Self
pub fn advanced_features(self, advanced: bool) -> Self
Sourcepub fn get_recommendations(&self) -> Vec<OptimizerRecommendation>
pub fn get_recommendations(&self) -> Vec<OptimizerRecommendation>
Get optimizer recommendations ranked by suitability
Sourcepub fn generate_report(&self) -> String
pub fn generate_report(&self) -> String
Generate a detailed report with recommendations
Trait Implementations§
Source§impl Clone for OptimizerSelector
impl Clone for OptimizerSelector
Source§fn clone(&self) -> OptimizerSelector
fn clone(&self) -> OptimizerSelector
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 moreAuto Trait Implementations§
impl Freeze for OptimizerSelector
impl RefUnwindSafe for OptimizerSelector
impl Send for OptimizerSelector
impl Sync for OptimizerSelector
impl Unpin for OptimizerSelector
impl UnwindSafe for OptimizerSelector
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more