Skip to main content

Schedule

Trait Schedule 

Source
pub trait Schedule {
    // Required method
    fn at<B: Backend, T: Float>(&self, count: I32<B>) -> Scalar<B, T>;
}
Expand description

A learning rate that depends on the number of updates so far (optax.Schedule).

Required Methods§

Source

fn at<B: Backend, T: Float>(&self, count: I32<B>) -> Scalar<B, T>

The learning rate at update count (counted from 0).

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§