Skip to content

Commit

Permalink
relax precision of gradient-based solver tests
Browse files Browse the repository at this point in the history
  • Loading branch information
shelhamer committed Sep 19, 2014
1 parent 403b56b commit 89fd7da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/caffe/test/test_gradient_based_solver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ class GradientBasedSolverTest : public MultiDeviceTest<TypeParam> {
ASSERT_EQ(2, param_blobs.size());
const Blob<Dtype>& solver_updated_weights = *param_blobs[0];
ASSERT_EQ(D, solver_updated_weights.count());
const double kPrecision = 1e-3;
const double kPrecision = 1e-2;
const double kMinPrecision = 1e-7;
for (int i = 0; i < D; ++i) {
const Dtype expected_updated_weight = updated_weights.cpu_data()[i];
Expand Down

0 comments on commit 89fd7da

Please sign in to comment.