reduce step size in PowerLayer gradient checks: fix #1252
authorEvan Shelhamer <shelhamer@imaginarynumber.net>
Fri, 6 Feb 2015 09:37:02 +0000 (01:37 -0800)
committerEvan Shelhamer <shelhamer@imaginarynumber.net>
Fri, 6 Feb 2015 09:37:02 +0000 (01:37 -0800)
commit8ec095a6af69097330306eba2dcbed96c3e4b738
tree074773c574cc8cbf653101e9ec5e01bdc8adaec1
parent33a56e08d9a2714c2492bb7999a350636ed142be
reduce step size in PowerLayer gradient checks: fix #1252

The gradient checker fails on certain elements of the PowerLayer checks,
but only 1-3 sometimes fail out of the 120 elements tested. This is not
due to any numerical issue in the PowerLayer, but the distribution of
the random inputs for the checks.

boost 1.56 switched the normal distribution RNG engine from Box-Muller
to Ziggurat.
src/caffe/test/test_power_layer.cpp