Skip to content

Commit 89fd7da

Browse files
committed
relax precision of gradient-based solver tests
1 parent 403b56b commit 89fd7da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/caffe/test/test_gradient_based_solver.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ class GradientBasedSolverTest : public MultiDeviceTest<TypeParam> {
234234
ASSERT_EQ(2, param_blobs.size());
235235
const Blob<Dtype>& solver_updated_weights = *param_blobs[0];
236236
ASSERT_EQ(D, solver_updated_weights.count());
237-
const double kPrecision = 1e-3;
237+
const double kPrecision = 1e-2;
238238
const double kMinPrecision = 1e-7;
239239
for (int i = 0; i < D; ++i) {
240240
const Dtype expected_updated_weight = updated_weights.cpu_data()[i];

0 commit comments

Comments
 (0)