pub struct AdagradParams {
pub learning_rate: f32,
pub lr_decay: f32,
pub epsilon: f32,
pub weight_decay: f32,
}Expand description
Hyper-parameters for GpuAdagrad.
Fields§
§learning_rate: f32Base step size.
lr_decay: f32Learning-rate decay applied per step.
epsilon: f32Denominator stabiliser.
weight_decay: f32Coupled L2 weight decay.
Trait Implementations§
Source§impl Clone for AdagradParams
impl Clone for AdagradParams
Source§fn clone(&self) -> AdagradParams
fn clone(&self) -> AdagradParams
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 moreimpl Copy for AdagradParams
Source§impl Debug for AdagradParams
impl Debug for AdagradParams
Source§impl Default for AdagradParams
impl Default for AdagradParams
Source§impl PartialEq for AdagradParams
impl PartialEq for AdagradParams
impl StructuralPartialEq for AdagradParams
Auto Trait Implementations§
impl Freeze for AdagradParams
impl RefUnwindSafe for AdagradParams
impl Send for AdagradParams
impl Sync for AdagradParams
impl Unpin for AdagradParams
impl UnsafeUnpin for AdagradParams
impl UnwindSafe for AdagradParams
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more