pub struct AdaGradConfig {
pub learning_rate: f64,
pub l2: f64,
pub epsilon: f64,
}Expand description
Configuration for AdaGrad.
Fields§
§learning_rate: f64Global learning rate. Must be finite and strictly positive.
l2: f64L2 regularization strength.
epsilon: f64Small constant added to the denominator for numerical stability.
Trait Implementations§
Source§impl Clone for AdaGradConfig
impl Clone for AdaGradConfig
Source§fn clone(&self) -> AdaGradConfig
fn clone(&self) -> AdaGradConfig
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 moreSource§impl Debug for AdaGradConfig
impl Debug for AdaGradConfig
Auto Trait Implementations§
impl Freeze for AdaGradConfig
impl RefUnwindSafe for AdaGradConfig
impl Send for AdaGradConfig
impl Sync for AdaGradConfig
impl Unpin for AdaGradConfig
impl UnsafeUnpin for AdaGradConfig
impl UnwindSafe for AdaGradConfig
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