Skip to content

Commit

Permalink
tweaked Gaussian filler tests for less false fails
Browse files Browse the repository at this point in the history
  • Loading branch information
Noiredd committed Apr 11, 2018
1 parent 106bfcf commit 356a6cc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/caffe/test/test_filler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 356a6cc

Please sign in to comment.