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

Method Adam

include/core/optimizer.h:312–318  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

310class Adam : public Optimizer {
311public:
312 Adam(float _lr = 1e-4, float _weight_decay = 0, float _beta1 = 0.999, float _beta2 = 0.99999, float _epsilon = 1e-8,
313 const LRSchedule &_schedule = "linear") :
314 Optimizer("Adam", 2, _lr, _weight_decay, _schedule) {
315 beta1 = _beta1;
316 beta2 = _beta2;
317 epsilon = _epsilon;
318 }
319};
320
321} // namespace graphvite

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected