Skip to content

Commit 356a6cc

Browse files
committed
tweaked Gaussian filler tests for less false fails
1 parent 106bfcf commit 356a6cc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/caffe/test/test_filler.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -257,16 +257,16 @@ TYPED_TEST(GaussianFillerTest, TestFill) {
257257
}
258258

259259
TYPED_TEST(GaussianFillerTest, TestFill1D) {
260-
vector<int> blob_shape(1, 25);
261-
const TypeParam tolerance = TypeParam(5);
260+
vector<int> blob_shape(1, 125);
261+
const TypeParam tolerance = TypeParam(3);
262262
this->test_params(blob_shape, tolerance);
263263
}
264264

265265
TYPED_TEST(GaussianFillerTest, TestFill2D) {
266266
vector<int> blob_shape;
267267
blob_shape.push_back(8);
268-
blob_shape.push_back(3);
269-
const TypeParam tolerance = TypeParam(5);
268+
blob_shape.push_back(15);
269+
const TypeParam tolerance = TypeParam(3);
270270
this->test_params(blob_shape, tolerance);
271271
}
272272

0 commit comments

Comments
 (0)