Encapsulate kRMSDecay in solver tests
authorRonghang Hu <huronghang@hotmail.com>
Sun, 9 Aug 2015 08:32:25 +0000 (01:32 -0700)
committerRonghang Hu <huronghang@hotmail.com>
Sun, 9 Aug 2015 08:32:25 +0000 (01:32 -0700)
commit4dcbe9287d334a06049bc95af37143fc73f15536
tree44fb3dd0887cebccea0b9a983bf0c6b390234091
parentabe99e8748ad7f583c87d1a6132ff2d79e70dd9c
Encapsulate kRMSDecay in solver tests

Instead of introducing another argument kRMSDecay and setting it for every test, this param could be set by the RMSProp test class for encapsulation.
src/caffe/test/test_gradient_based_solver.cpp