Function ksnn::optimizers::optimizer_sgd_def
source · [−]pub fn optimizer_sgd_def() -> Optimizers
Expand description
Creates a Optimizers::OptimizerSGD
that has a built in learning rate of 1.0, built in decay of 1e-3, and built in momentum of 0.9.
Examples
let optimizer = ksnn::optimizers::optimizer_sgd_def();