MVNLayer fixes.
authorJ Yegerlehner <jyegerlehner@yahoo.com>
Sun, 23 Aug 2015 23:57:16 +0000 (18:57 -0500)
committerJ Yegerlehner <jyegerlehner@yahoo.com>
Wed, 26 Aug 2015 06:11:16 +0000 (01:11 -0500)
commit1f3f9529df6285a5be5f8e72bd1922a6a0cec4d8
tree7690fe821b807fa403e836fd3a8255daa0207b01
parent0dfc5dac3d8bf17f833e21ae6ce7bc3ea19a03fa
MVNLayer fixes.

Fix the MVNLayer tests so they actually test what they claim.

MVNLayer fixes: sum_multiplier_ sized correctly; backward gradient calculation.

Gradient calculation per analysis of seanbell, found here:
https://github.com/BVLC/caffe/issues/1938

Fixes according to review comments.
src/caffe/layers/mvn_layer.cpp
src/caffe/layers/mvn_layer.cu
src/caffe/test/test_mvn_layer.cpp