pub struct OptimizationObjectives {
pub accuracy_weight: f64,
pub latency_weight: f64,
pub memory_weight: f64,
pub energy_weight: f64,
pub size_weight: f64,
pub training_time_weight: f64,
pub custom_weights: HashMap<String, f64>,
}Expand description
Multi-objective optimization targets
Fields§
§accuracy_weight: f64Accuracy weight (higher is better)
latency_weight: f64Latency weight (lower is better)
memory_weight: f64Memory weight (lower is better)
energy_weight: f64Energy weight (lower is better)
size_weight: f64Model size weight (lower is better)
training_time_weight: f64Training time weight (lower is better)
custom_weights: HashMap<String, f64>Custom objective weights
Trait Implementations§
Source§impl Clone for OptimizationObjectives
impl Clone for OptimizationObjectives
Source§fn clone(&self) -> OptimizationObjectives
fn clone(&self) -> OptimizationObjectives
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 OptimizationObjectives
impl Debug for OptimizationObjectives
Auto Trait Implementations§
impl Freeze for OptimizationObjectives
impl RefUnwindSafe for OptimizationObjectives
impl Send for OptimizationObjectives
impl Sync for OptimizationObjectives
impl Unpin for OptimizationObjectives
impl UnwindSafe for OptimizationObjectives
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> 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