Enum candle_optimisers::lbfgs::StepConv
source · #[non_exhaustive]pub enum StepConv {
MinStep(f64),
RMSStep(f64),
}Expand description
Conditions for termination based on step size
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
MinStep(f64)
convergence based on max abs component of step
RMSStep(f64)
convergence based on root mean size of step
Trait Implementations§
source§impl PartialEq for StepConv
impl PartialEq for StepConv
source§impl PartialOrd for StepConv
impl PartialOrd for StepConv
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for StepConv
impl StructuralPartialEq for StepConv
Auto Trait Implementations§
impl RefUnwindSafe for StepConv
impl Send for StepConv
impl Sync for StepConv
impl Unpin for StepConv
impl UnwindSafe for StepConv
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