pub struct GradientStats {
pub max_abs_grad: f64,
pub max_hess: f64,
}Expand description
Local maxima for the quantization scales; the learner reduces them over ranks.
Fields§
§max_abs_grad: f64§max_hess: f64Trait Implementations§
Source§impl Clone for GradientStats
impl Clone for GradientStats
impl Copy for GradientStats
Source§impl Debug for GradientStats
impl Debug for GradientStats
Source§impl Default for GradientStats
impl Default for GradientStats
Source§impl PartialEq for GradientStats
impl PartialEq for GradientStats
impl StructuralPartialEq for GradientStats
Auto Trait Implementations§
impl Forget for GradientStats
impl Freeze for GradientStats
impl Move for GradientStats
impl RefUnwindSafe for GradientStats
impl Send for GradientStats
impl Sync for GradientStats
impl Unpin for GradientStats
impl UnsafeUnpin for GradientStats
impl UnwindSafe for GradientStats
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