class nbla::Sgd

template<typename T>
class Sgd : public nbla::Solver

Vanilla SGD.

This is defined as

\[ w_{t+1} \leftarrow w_t - \eta \Delta w_t \]

Public Functions

inline virtual float learning_rate()

Set learning rate.