Commit 5273c0f4 authored by Robert Kimball's avatar Robert Kimball

unit test to use all_close_f

parent 098c9118
...@@ -89,7 +89,7 @@ NGRAPH_TEST(${BACKEND_NAME}, batch_mat_mul_forward) ...@@ -89,7 +89,7 @@ NGRAPH_TEST(${BACKEND_NAME}, batch_mat_mul_forward)
auto backend_results = execute(backend_f, batchmatmul_args, "${BACKEND_NAME}"); auto backend_results = execute(backend_f, batchmatmul_args, "${BACKEND_NAME}");
for (size_t i = 0; i < ref_results.size(); i++) for (size_t i = 0; i < ref_results.size(); i++)
{ {
EXPECT_TRUE(test::all_close(ref_results.at(i), backend_results.at(i), 1.0e-4f, 1.0e-4f)); EXPECT_TRUE(test::all_close_f(ref_results.at(i), backend_results.at(i)));
} }
} }
#endif #endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment