summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPrzemysław Dolata <snowball91b@gmail.com>2018-04-12 08:13:23 +0200
committerWook Song <wook16.song@samsung.com>2020-01-23 22:50:41 +0900
commit9513be40fad1ff687b9e5b24ba3d2f1189db68c0 (patch)
tree63960093d5fad7c021e1d0eacd3f9f136fd2d131
parenteea1da51740ae0cfc3c1b0eb7d68e752e606e904 (diff)
parente8d2b2494a3ae799b62a850664962e20297cb725 (diff)
downloadcaffe-9513be40fad1ff687b9e5b24ba3d2f1189db68c0.tar.gz
caffe-9513be40fad1ff687b9e5b24ba3d2f1189db68c0.tar.bz2
caffe-9513be40fad1ff687b9e5b24ba3d2f1189db68c0.zip
Merge pull request #6342 from Noiredd/gauss-fill-test-fix
Gaussian filler tests adjustments
-rw-r--r--src/caffe/test/test_filler.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/caffe/test/test_filler.cpp b/src/caffe/test/test_filler.cpp
index 1e6b5c21..34f7007d 100644
--- a/src/caffe/test/test_filler.cpp
+++ b/src/caffe/test/test_filler.cpp
@@ -257,16 +257,16 @@ TYPED_TEST(GaussianFillerTest, TestFill) {
}
TYPED_TEST(GaussianFillerTest, TestFill1D) {
- vector<int> blob_shape(1, 25);
- const TypeParam tolerance = TypeParam(5);
+ vector<int> blob_shape(1, 125);
+ const TypeParam tolerance = TypeParam(3);
this->test_params(blob_shape, tolerance);
}
TYPED_TEST(GaussianFillerTest, TestFill2D) {
vector<int> blob_shape;
blob_shape.push_back(8);
- blob_shape.push_back(3);
- const TypeParam tolerance = TypeParam(5);
+ blob_shape.push_back(15);
+ const TypeParam tolerance = TypeParam(3);
this->test_params(blob_shape, tolerance);
}