pub struct RmspropParams {
pub learning_rate: f32,
pub alpha: f32,
pub epsilon: f32,
pub weight_decay: f32,
pub momentum: f32,
pub centered: bool,
}Expand description
Hyper-parameters for GpuRmsprop.
Fields§
§learning_rate: f32Step size.
alpha: f32Smoothing constant for the squared-gradient average.
epsilon: f32Denominator stabiliser.
weight_decay: f32Coupled L2 weight decay.
momentum: f32Momentum factor (0 disables the momentum buffer).
centered: boolSubtract the squared mean gradient from the variance estimate.
Trait Implementations§
Source§impl Clone for RmspropParams
impl Clone for RmspropParams
Source§fn clone(&self) -> RmspropParams
fn clone(&self) -> RmspropParams
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 RmspropParams
Source§impl Debug for RmspropParams
impl Debug for RmspropParams
Source§impl Default for RmspropParams
impl Default for RmspropParams
Source§impl PartialEq for RmspropParams
impl PartialEq for RmspropParams
impl StructuralPartialEq for RmspropParams
Auto Trait Implementations§
impl Freeze for RmspropParams
impl RefUnwindSafe for RmspropParams
impl Send for RmspropParams
impl Sync for RmspropParams
impl Unpin for RmspropParams
impl UnsafeUnpin for RmspropParams
impl UnwindSafe for RmspropParams
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