pub struct ParamsAdaGrad {
pub lr: f64,
pub lr_decay: f64,
pub initial_acc: f64,
pub weight_decay: Option<Decay>,
pub eps: f64,
}Expand description
Parameters for the Adagrad optimiser
Fields§
§lr: f64Learning rate
lr_decay: f64Learning rate decay
initial_acc: f64Initial value of accumulator
weight_decay: Option<Decay>weight decay
eps: f64term added to the denominator to improve numerical stability
Trait Implementations§
Source§impl Clone for ParamsAdaGrad
impl Clone for ParamsAdaGrad
Source§fn clone(&self) -> ParamsAdaGrad
fn clone(&self) -> ParamsAdaGrad
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 Debug for ParamsAdaGrad
impl Debug for ParamsAdaGrad
Source§impl Default for ParamsAdaGrad
impl Default for ParamsAdaGrad
Source§impl PartialEq for ParamsAdaGrad
impl PartialEq for ParamsAdaGrad
Source§impl PartialOrd for ParamsAdaGrad
impl PartialOrd for ParamsAdaGrad
impl StructuralPartialEq for ParamsAdaGrad
Auto Trait Implementations§
impl Freeze for ParamsAdaGrad
impl RefUnwindSafe for ParamsAdaGrad
impl Send for ParamsAdaGrad
impl Sync for ParamsAdaGrad
impl Unpin for ParamsAdaGrad
impl UnwindSafe for ParamsAdaGrad
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