diff --git a/paddle/fluid/operators/quantize_op.cc b/paddle/fluid/operators/quantize_op.cc index 9d956cde9fdfa6603cb15c3e3f30cf79e40aaae6..91ad99da9973685f25e59d74e99fecb5fa43b055 100644 --- a/paddle/fluid/operators/quantize_op.cc +++ b/paddle/fluid/operators/quantize_op.cc @@ -15,9 +15,6 @@ #include "paddle/fluid/operators/quantize_op.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 { diff --git a/paddle/fluid/operators/requantize_op.cc b/paddle/fluid/operators/requantize_op.cc index dfb32a8e8f9c78b9cb1c96cb6f63051e42128b8d..013ba19f073a199ec96497aefcf47cd13b44bf37 100644 --- a/paddle/fluid/operators/requantize_op.cc +++ b/paddle/fluid/operators/requantize_op.cc @@ -15,9 +15,6 @@ #include "paddle/fluid/operators/requantize_op.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 {