pub struct SensitivityScore {
pub name: String,
pub score: f32,
}Expand description
Sensitivity score for a single layer (lower = more sensitive).
Used by automatic mixed-precision selection to decide which layers should be kept at higher precision.
Fields§
§name: StringName of the global variable.
score: f32Estimated accuracy loss when quantizing this layer (0.0 = no loss).
Trait Implementations§
Source§impl Clone for SensitivityScore
impl Clone for SensitivityScore
Source§fn clone(&self) -> SensitivityScore
fn clone(&self) -> SensitivityScore
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SensitivityScore
impl RefUnwindSafe for SensitivityScore
impl Send for SensitivityScore
impl Sync for SensitivityScore
impl Unpin for SensitivityScore
impl UnsafeUnpin for SensitivityScore
impl UnwindSafe for SensitivityScore
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