pub trait TensorFlowLearningRateSchedule: Send + Sync {
// Required methods
fn get_lr(&self, step: i64) -> f64;
fn get_config(&self) -> Value;
}Expand description
TensorFlow-compatible learning rate schedule
Required Methods§
Sourcefn get_config(&self) -> Value
fn get_config(&self) -> Value
Get configuration
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".