pub struct AdvancedOptimizationConfig {Show 17 fields
pub enable_knowledge_distillation: bool,
pub distillation_temperature: f32,
pub distillation_alpha: f32,
pub enable_progressive_pruning: bool,
pub initial_pruning_ratio: f32,
pub final_pruning_ratio: f32,
pub pruning_steps: usize,
pub enable_mixed_precision: bool,
pub auto_precision_selection: bool,
pub performance_budget: f32,
pub accuracy_budget: f32,
pub enable_qat_simulation: bool,
pub qat_iterations: usize,
pub qat_learning_rate: f32,
pub enable_benchmark_optimization: bool,
pub target_platform: OptimizationPlatform,
pub optimization_objective: OptimizationObjective,
}Expand description
Advanced optimization configuration Advanced Optimization Config
Fields§
§enable_knowledge_distillation: boolEnable knowledge distillation
distillation_temperature: f32Knowledge distillation temperature
distillation_alpha: f32Knowledge distillation loss weight
enable_progressive_pruning: boolEnable progressive pruning
initial_pruning_ratio: f32Initial pruning ratio
final_pruning_ratio: f32Final pruning ratio
pruning_steps: usizeNumber of progressive pruning steps
enable_mixed_precision: boolEnable mixed-precision optimization
auto_precision_selection: boolAutomatic precision selection
performance_budget: f32Performance budget (RTF threshold)
accuracy_budget: f32Accuracy budget (minimum accuracy retention)
enable_qat_simulation: boolEnable quantization-aware training simulation
qat_iterations: usizeQAT simulation iterations
qat_learning_rate: f32QAT learning rate
enable_benchmark_optimization: boolEnable benchmark-driven optimization
target_platform: OptimizationPlatformTarget hardware platform
optimization_objective: OptimizationObjectiveOptimization objective
Trait Implementations§
Source§impl Clone for AdvancedOptimizationConfig
impl Clone for AdvancedOptimizationConfig
Source§fn clone(&self) -> AdvancedOptimizationConfig
fn clone(&self) -> AdvancedOptimizationConfig
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 AdvancedOptimizationConfig
impl Debug for AdvancedOptimizationConfig
Source§impl Default for AdvancedOptimizationConfig
impl Default for AdvancedOptimizationConfig
Source§impl<'de> Deserialize<'de> for AdvancedOptimizationConfig
impl<'de> Deserialize<'de> for AdvancedOptimizationConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AdvancedOptimizationConfig
impl RefUnwindSafe for AdvancedOptimizationConfig
impl Send for AdvancedOptimizationConfig
impl Sync for AdvancedOptimizationConfig
impl Unpin for AdvancedOptimizationConfig
impl UnwindSafe for AdvancedOptimizationConfig
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<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
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