diff options
author | Evan Shelhamer <shelhamer@imaginarynumber.net> | 2016-11-25 12:49:53 -0800 |
---|---|---|
committer | Evan Shelhamer <shelhamer@imaginarynumber.net> | 2016-11-25 12:49:53 -0800 |
commit | b644a87c842702de8291c97fa0e418797092fe41 (patch) | |
tree | e6d2b6ced2683e98ae3702809e9967c5d4b22792 /include | |
parent | a6c65333a844215394bd52af41e2425afc63682b (diff) | |
download | caffeonacl-b644a87c842702de8291c97fa0e418797092fe41.tar.gz caffeonacl-b644a87c842702de8291c97fa0e418797092fe41.tar.bz2 caffeonacl-b644a87c842702de8291c97fa0e418797092fe41.zip |
Revert "solver: check and set type to reconcile class and proto"
as pointed out by #5028 this does not achieve what it intended, and
furthermore causes trouble with direct solver instantiation.
revert commit e52451de914312b80a83459cb160c2f72a5b4fea
Diffstat (limited to 'include')
-rw-r--r-- | include/caffe/solver.hpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/caffe/solver.hpp b/include/caffe/solver.hpp index ef38d6e4..eafcee32 100644 --- a/include/caffe/solver.hpp +++ b/include/caffe/solver.hpp @@ -108,8 +108,6 @@ class Solver { virtual void RestoreSolverStateFromBinaryProto(const string& state_file) = 0; void DisplayOutputBlobs(const int net_id); void UpdateSmoothedLoss(Dtype loss, int start_iter, int average_loss); - /// Harmonize solver class type with configured proto type. - void CheckType(SolverParameter* param); SolverParameter param_; int iter_; |