pub struct RAdam { /* private fields */ }Expand description
R Adam optimiser
Described in On the Variance of the Adaptive Learning Rate and Beyond
Implementations§
Trait Implementations§
Source§impl OptimParams for RAdam
impl OptimParams for RAdam
Source§impl Optimizer for RAdam
impl Optimizer for RAdam
type Config = ParamsRAdam
fn new(vars: Vec<Var>, params: ParamsRAdam) -> Result<Self>
fn learning_rate(&self) -> f64
fn step(&mut self, grads: &GradStore) -> Result<()>
fn set_learning_rate(&mut self, lr: f64)
fn empty(config: Self::Config) -> Result<Self, Error>
fn backward_step(&mut self, loss: &Tensor) -> Result<(), Error>
fn from_slice(vars: &[&Var], config: Self::Config) -> Result<Self, Error>
Auto Trait Implementations§
impl Freeze for RAdam
impl !RefUnwindSafe for RAdam
impl Send for RAdam
impl Sync for RAdam
impl Unpin for RAdam
impl !UnwindSafe for RAdam
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