Skip to content

Commit

Permalink
Merge pull request BVLC#6342 from Noiredd/gauss-fill-test-fix
Browse files Browse the repository at this point in the history
Gaussian filler tests adjustments
  • Loading branch information
Noiredd committed Apr 12, 2018
2 parents 106bfcf + 356a6cc commit 3066720
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 3066720

Please sign in to comment.