MCPcopy Create free account
hub / github.com/dmlc/parameter_server / LearningRate

Method LearningRate

src/app/linear_method/learning_rate.h:9–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7class LearningRate {
8 public:
9 LearningRate(const LearningRateConfig& conf) : conf_(conf) {
10 CHECK_GT(alpha(), 0);
11 CHECK_GE(beta(), 0);
12 }
13 ~LearningRate() { }
14
15 V eval(V x = 0) const {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected