Struct wyrm::SGD [] [src]

pub struct SGD { /* fields omitted */ }

Standard stochtic gradient descent optimizer with a fixed learning rate.

Methods

impl SGD
[src]

[src]

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

[src]

Zero the gradients on each of the parameters being optimized.

[src]

Perform a single SGD step.