未验证 提交 c84aa9c6 编写于 作者: W Wilber 提交者: GitHub

update diff val. (#26242)

上级 a2d3e5c0
...@@ -66,7 +66,7 @@ TEST(AnalysisPredictor, use_gpu) { ...@@ -66,7 +66,7 @@ TEST(AnalysisPredictor, use_gpu) {
float* data_o = static_cast<float*>(outputs[0].data.data()); float* data_o = static_cast<float*>(outputs[0].data.data());
for (size_t j = 0; j < outputs[0].data.length() / sizeof(float); j += 10) { for (size_t j = 0; j < outputs[0].data.length() / sizeof(float); j += 10) {
EXPECT_NEAR((data_o[j] - truth_values[j / 10]) / truth_values[j / 10], 0., EXPECT_NEAR((data_o[j] - truth_values[j / 10]) / truth_values[j / 10], 0.,
10e-5); 12e-5);
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册