From 3b89e7c0002a033d313bd4325f7f55cbd86c8b33 Mon Sep 17 00:00:00 2001 From: jiahongyu Date: Mon, 19 Sep 2022 08:08:46 +0000 Subject: [PATCH] restore gaussian_random_op_npu.cc header --- paddle/fluid/operators/gaussian_random_op_npu.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/paddle/fluid/operators/gaussian_random_op_npu.cc b/paddle/fluid/operators/gaussian_random_op_npu.cc index bdeb106f81..8b3af57d92 100644 --- a/paddle/fluid/operators/gaussian_random_op_npu.cc +++ b/paddle/fluid/operators/gaussian_random_op_npu.cc @@ -18,6 +18,9 @@ limitations under the License. */ #include "paddle/fluid/framework/generator.h" #include "paddle/fluid/framework/op_registry.h" #include "paddle/fluid/framework/op_version_registry.h" +#ifdef PADDLE_WITH_MKLDNN +#include "paddle/fluid/platform/mkldnn_helper.h" +#endif namespace paddle { namespace operators { -- GitLab