Skip to content

Commit b77e4f4

Browse files
committed
update
test=develop
1 parent c524082 commit b77e4f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

paddle/fluid/inference/api/api_impl_tester.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ void MainThreadsWord2Vec(bool use_gpu) {
205205
float* ref_data = refs[tid].data<float>();
206206
EXPECT_EQ(refs[tid].numel(), static_cast<int64_t>(len / sizeof(float)));
207207
for (int i = 0; i < refs[tid].numel(); ++i) {
208-
EXPECT_NEAR(ref_data[i], data[i], ACC_DIFF);
208+
EXPECT_NEAR(ref_data[i], data[i], 2e-3);
209209
}
210210
});
211211
}

0 commit comments

Comments
 (0)