1 #ifndef INCLUDE_UTILS_UPDATER_H_
2 #define INCLUDE_UTILS_UPDATER_H_
3 #include "proto/model.pb.h"
4 #include "utils/param.h"
15 virtual void Update(
int step, shared_ptr<Param> param,
float grad_scale=1.0f)=0;
17 float GetLearningRate(
int step);
24 virtual void Update(
int step, shared_ptr<Param> param,
float grad_scale=1.0f);
34 virtual void Update(
int step, shared_ptr<Param> param,
float grad_scale=1.0f);
44 virtual void Update(
int step, shared_ptr<Param> param,
float grad_scale=1.0f);
55 virtual void Update(
int step, shared_ptr<Param> param,
float grad_scale=1.0f);
78 #endif // INCLUDE_UTILS_UPDATER_H_
Definition: model.pb.h:3432
Updater for Param.
Definition: updater.h:10