pub struct RMSPropConfig<T: NabledReal = f64> {
pub learning_rate: T,
pub rho: T,
pub epsilon: T,
pub max_iterations: usize,
pub tolerance: T,
}Expand description
Configuration for RMSProp optimizer.
Fields§
§learning_rate: TBase learning rate.
rho: TExponential decay factor for squared gradients in [0, 1).
epsilon: TNumerical epsilon.
max_iterations: usizeMaximum optimization iterations.
tolerance: TGradient norm tolerance for convergence.
Trait Implementations§
Source§impl<T: Clone + NabledReal> Clone for RMSPropConfig<T>
impl<T: Clone + NabledReal> Clone for RMSPropConfig<T>
Source§fn clone(&self) -> RMSPropConfig<T>
fn clone(&self) -> RMSPropConfig<T>
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<T: Debug + NabledReal> Debug for RMSPropConfig<T>
impl<T: Debug + NabledReal> Debug for RMSPropConfig<T>
Source§impl<T: NabledReal> Default for RMSPropConfig<T>
impl<T: NabledReal> Default for RMSPropConfig<T>
impl<T: Copy + NabledReal> Copy for RMSPropConfig<T>
Auto Trait Implementations§
impl<T> Freeze for RMSPropConfig<T>where
T: Freeze,
impl<T> RefUnwindSafe for RMSPropConfig<T>where
T: RefUnwindSafe,
impl<T> Send for RMSPropConfig<T>
impl<T> Sync for RMSPropConfig<T>
impl<T> Unpin for RMSPropConfig<T>where
T: Unpin,
impl<T> UnsafeUnpin for RMSPropConfig<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for RMSPropConfig<T>where
T: UnwindSafe,
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