Skip to content

Commit

Permalink
restored vituals in solver.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
qipeng authored and jeffdonahue committed Sep 1, 2014
1 parent 9d10569 commit 8a9c268
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/caffe/solver.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,11 @@ class SGDSolver : public Solver<Dtype> {
: Solver<Dtype>(param_file) {}

protected:
void PreSolve();
virtual void PreSolve();
Dtype GetLearningRate();
virtual void ComputeUpdateValue();
void SnapshotSolverState(SolverState * state);
void RestoreSolverState(const SolverState& state);
virtual void SnapshotSolverState(SolverState * state);
virtual void RestoreSolverState(const SolverState& state);
// history maintains the historical momentum data.
// update maintains update related data and is not needed in snapshots.
vector<shared_ptr<Blob<Dtype> > > history_, update_;
Expand Down

0 comments on commit 8a9c268

Please sign in to comment.