From b644a87c842702de8291c97fa0e418797092fe41 Mon Sep 17 00:00:00 2001 From: Evan Shelhamer Date: Fri, 25 Nov 2016 12:49:53 -0800 Subject: 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 --- include/caffe/solver.hpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'include') 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_; -- cgit v1.2.3