diff --git a/paddle/fluid/operators/mkldnn/test_mkldnn_caching.cc b/paddle/fluid/operators/mkldnn/test_mkldnn_caching.cc index e2fb329407dd12a69d169db2863b39f7ff22095e..7251653793f89900efa5382db74201a1fc232574 100644 --- a/paddle/fluid/operators/mkldnn/test_mkldnn_caching.cc +++ b/paddle/fluid/operators/mkldnn/test_mkldnn_caching.cc @@ -140,7 +140,7 @@ TEST(test_conv2d_reuse_cache, cpu_place) { RunOperator(p, "conv2d", dims, "input_signal"); PADDLE_ENFORCE_EQ(ct.Analyze(9), true, platform::errors::InvalidArgument( - "Wrong number of cached oneDNN objects")); + "Invalid number of cached oneDNN objects")); } TEST(test_conv2d_noreuse_cache, cpu_place) { @@ -151,7 +151,7 @@ TEST(test_conv2d_noreuse_cache, cpu_place) { RunOperator(p, "conv2d", dims, "input_signal2"); PADDLE_ENFORCE_EQ(ct.Analyze(18), true, platform::errors::InvalidArgument( - "Wrong number of cached oneDNN objects")); + "Invalid number of cached oneDNN objects")); } } // namespace operators