| 16 | class SGDSolver : public Solver<Dtype> { |
| 17 | public: |
| 18 | explicit SGDSolver(const SolverParameter& param) |
| 19 | : Solver<Dtype>(param) { PreSolve(); } |
| 20 | explicit SGDSolver(const string& param_file) |
| 21 | : Solver<Dtype>(param_file) { PreSolve(); } |
| 22 | virtual inline const char* type() const { return "SGD"; } |