提交 1148ce67 编写于 作者: J Jacek Czaja

- approval workaround

上级 7f408f97
...@@ -140,7 +140,7 @@ TEST(test_conv2d_reuse_cache, cpu_place) { ...@@ -140,7 +140,7 @@ TEST(test_conv2d_reuse_cache, cpu_place) {
RunOperator<float>(p, "conv2d", dims, "input_signal"); RunOperator<float>(p, "conv2d", dims, "input_signal");
PADDLE_ENFORCE_EQ(ct.Analyze(9), true, PADDLE_ENFORCE_EQ(ct.Analyze(9), true,
platform::errors::InvalidArgument( platform::errors::InvalidArgument(
"Wrong number of cached oneDNN objects")); "Invalid number of cached oneDNN objects"));
} }
TEST(test_conv2d_noreuse_cache, cpu_place) { TEST(test_conv2d_noreuse_cache, cpu_place) {
...@@ -151,7 +151,7 @@ TEST(test_conv2d_noreuse_cache, cpu_place) { ...@@ -151,7 +151,7 @@ TEST(test_conv2d_noreuse_cache, cpu_place) {
RunOperator<float>(p, "conv2d", dims, "input_signal2"); RunOperator<float>(p, "conv2d", dims, "input_signal2");
PADDLE_ENFORCE_EQ(ct.Analyze(18), true, PADDLE_ENFORCE_EQ(ct.Analyze(18), true,
platform::errors::InvalidArgument( platform::errors::InvalidArgument(
"Wrong number of cached oneDNN objects")); "Invalid number of cached oneDNN objects"));
} }
} // namespace operators } // namespace operators
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册