Skip to content

Commit

Permalink
Make AdaDelta::PreSolve() non-virtual
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasplappert committed Aug 9, 2015
1 parent fc35518 commit 3c341e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/caffe/solver.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ class SGDSolver : public Solver<Dtype> {
const vector<shared_ptr<Blob<Dtype> > >& history() { return history_; }

protected:
void PreSolve();
Dtype GetLearningRate();
virtual void PreSolve();
virtual void ApplyUpdate();
virtual void Normalize(int param_id);
virtual void Regularize(int param_id);
Expand Down Expand Up @@ -166,7 +166,7 @@ class AdaDeltaSolver : public SGDSolver<Dtype> {
: SGDSolver<Dtype>(param_file) { PreSolve(); constructor_sanity_check(); }

protected:
virtual void PreSolve();
void PreSolve();
virtual void Regularize(int param_id);
virtual void ComputeUpdateValue(int param_id, Dtype rate);
void constructor_sanity_check() {
Expand Down

0 comments on commit 3c341e6

Please sign in to comment.