MCPcopy Create free account
hub / github.com/DeepGraphLearning/graphvite / SGD

Class SGD

include/core/optimizer.h:272–276  ·  view source on GitHub ↗

Helper class for SGD */

Source from the content-addressed store, hash-verified

270
271/** Helper class for SGD */
272class SGD : public Optimizer {
273public:
274 SGD(float _lr = 1e-4, float _weight_decay = 0, const LRSchedule &_schedule = "linear") :
275 Optimizer("SGD", 0, _lr, _weight_decay, _schedule) {}
276};
277
278/** Helper class for Momentum */
279class Momentum : public Optimizer {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected