Realm

oa::ml::training::ExponentialScheduler

Exponential-decay schedule: base * gamma^step.

StRust public API

Declaration

pub struct ExponentialScheduler { /* private fields */ }
Public Rust declaration.

Public Methods

fn learning_rate(&self, step: u64) -> f32

Associated Functions

pub fn new(base_learning_rate: f32, gamma: f32) -> Result<Self>

Public Method Documentation

fn learning_rate( &self, step: u64 ) -> f32
No public source comment is attached to this declaration.
pub fn new( base_learning_rate: f32, gamma: f32 ) -> Result<Self>
No public source comment is attached to this declaration.