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

Class AdaGrad

include/core/optimizer.h:289–296  ·  view source on GitHub ↗

Helper class for AdaGrad */

Source from the content-addressed store, hash-verified

287
288/** Helper class for AdaGrad */
289class AdaGrad : public Optimizer {
290public:
291 AdaGrad(float _lr = 1e-4, float _weight_decay = 0, float _epsilon = 1e-10,
292 const LRSchedule &_schedule = "linear") :
293 Optimizer("AdaGrad", 1, _lr, _weight_decay, _schedule) {
294 epsilon = _epsilon;
295 }
296};
297
298/** Helper class for RMSprop */
299class RMSprop : public Optimizer {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected