From 11a41fe22b01267cd1285d5242b70b3a7875a8f1 Mon Sep 17 00:00:00 2001 From: Jeff Donahue Date: Sat, 15 Feb 2014 16:48:10 -0800 Subject: [PATCH] remove pointlessly duplicated CheckGradientExhaustive calls (I screwed up when merging, I think) --- src/caffe/test/test_split_layer.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/caffe/test/test_split_layer.cpp b/src/caffe/test/test_split_layer.cpp index 1d7c3d5..f76f55a 100644 --- a/src/caffe/test/test_split_layer.cpp +++ b/src/caffe/test/test_split_layer.cpp @@ -119,7 +119,6 @@ TYPED_TEST(SplitLayerTest, TestCPUGradient) { Caffe::set_mode(Caffe::CPU); SplitLayer layer(layer_param); GradientChecker checker(1e-2, 1e-2); - checker.CheckGradientExhaustive(layer, this->blob_bottom_vec_, this->blob_top_vec_); checker.CheckGradientExhaustive(layer, this->blob_bottom_vec_, this->blob_top_vec_); } @@ -129,7 +128,6 @@ TYPED_TEST(SplitLayerTest, TestGPUGradient) { Caffe::set_mode(Caffe::GPU); SplitLayer layer(layer_param); GradientChecker checker(1e-2, 1e-2); - checker.CheckGradientExhaustive(layer, this->blob_bottom_vec_, this->blob_top_vec_); checker.CheckGradientExhaustive(layer, this->blob_bottom_vec_, this->blob_top_vec_); } @@ -140,7 +138,6 @@ TYPED_TEST(SplitLayerTest, TestCPUGradientInPlace) { SplitLayer layer(layer_param); GradientChecker checker(1e-2, 1e-2); this->blob_top_vec_[0] = this->blob_bottom_vec_[0]; - checker.CheckGradientExhaustive(layer, this->blob_bottom_vec_, this->blob_top_vec_); checker.CheckGradientExhaustive(layer, this->blob_bottom_vec_, this->blob_top_vec_); } @@ -151,7 +148,6 @@ TYPED_TEST(SplitLayerTest, TestGPUGradientInPlace) { SplitLayer layer(layer_param); GradientChecker checker(1e-2, 1e-2); this->blob_top_vec_[0] = this->blob_bottom_vec_[0]; - checker.CheckGradientExhaustive(layer, this->blob_bottom_vec_, this->blob_top_vec_); checker.CheckGradientExhaustive(layer, this->blob_bottom_vec_, this->blob_top_vec_); } -- 2.7.4