pub struct RmsPropFloat {
pub decay: f64,
pub epsilon: f64,
}Expand description
RMSprop for floating-point networks (C++ RmsPropOptimizerFloat): the
hyperparameters are f64, cast to the network’s type where they are used,
and the square root is taken in f64.
Implemented for f32 and f64 networks; needs the std feature or libm.
Fields§
§decay: f64Decay of the running mean of squared gradients (C++ default 0.9).
epsilon: f64Added to the root of that mean (C++ default 1e-8).
Implementations§
Trait Implementations§
Source§impl Clone for RmsPropFloat
impl Clone for RmsPropFloat
impl Copy for RmsPropFloat
Source§impl Debug for RmsPropFloat
impl Debug for RmsPropFloat
Source§impl Default for RmsPropFloat
Available on crate features libm or std only.
impl Default for RmsPropFloat
Available on crate features
libm or std only.Source§impl PartialEq for RmsPropFloat
impl PartialEq for RmsPropFloat
impl StructuralPartialEq for RmsPropFloat
Auto Trait Implementations§
impl Freeze for RmsPropFloat
impl RefUnwindSafe for RmsPropFloat
impl Send for RmsPropFloat
impl Sync for RmsPropFloat
impl Unpin for RmsPropFloat
impl UnsafeUnpin for RmsPropFloat
impl UnwindSafe for RmsPropFloat
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