Struct wyrm::optim::SGD[][src]

pub struct SGD { /* fields omitted */ }

Standard stochastic gradient descent optimizer with a fixed learning rate.

Methods

impl SGD
[src]

Create a new optimizer instance with a given set of parameters.

Set the learning rate.

Set the clamp bounds.

Trait Implementations

impl Default for SGD
[src]

Returns the "default value" for a type. Read more

impl Optimizer for SGD
[src]

Perform a single SGD step.

Auto Trait Implementations

impl Send for SGD

impl Sync for SGD