Enum candle_optimisers::lbfgs::GradConv
source · #[non_exhaustive]pub enum GradConv {
MinForce(f64),
RMSForce(f64),
}Expand description
Conditions for terminsation based on gradient
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.
MinForce(f64)
convergence based on max abs component of gradient
RMSForce(f64)
convergence based on mean force
Trait Implementations§
source§impl PartialEq for GradConv
impl PartialEq for GradConv
source§impl PartialOrd for GradConv
impl PartialOrd for GradConv
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 GradConv
impl StructuralPartialEq for GradConv
Auto Trait Implementations§
impl RefUnwindSafe for GradConv
impl Send for GradConv
impl Sync for GradConv
impl Unpin for GradConv
impl UnwindSafe for GradConv
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