diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/caffe/solver.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/caffe/solver.hpp b/include/caffe/solver.hpp index 98c872dc..2055ab6b 100644 --- a/include/caffe/solver.hpp +++ b/include/caffe/solver.hpp @@ -50,12 +50,14 @@ class SGDSolver : public Solver<Dtype> { protected: virtual void PreSolve(); - virtual Dtype GetLearningRate(); + Dtype GetLearningRate(); virtual void ComputeUpdateValue(); virtual void SnapshotSolverState(SolverState * state); virtual void RestoreSolverState(const SolverState& state); // history maintains the historical momentum data. vector<shared_ptr<Blob<Dtype> > > history_; + + DISABLE_COPY_AND_ASSIGN(SGDSolver); }; |