From ba62dc7a43c104fc5dbdc02fedbad859d22fdd58 Mon Sep 17 00:00:00 2001 From: ZhouChen Date: Thu, 27 Mar 2025 13:45:20 +0000 Subject: [PATCH] !2947 fix_warning Merge pull request !2947 from ZhouChen/fix_warning_0325 --- tf_adapter/kernels/om_executor.cc | 2 +- tf_adapter_2.x/npu_device/core/npu_logger.cpp | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/tf_adapter/kernels/om_executor.cc b/tf_adapter/kernels/om_executor.cc index 52e5c8b83..e3045606c 100644 --- a/tf_adapter/kernels/om_executor.cc +++ b/tf_adapter/kernels/om_executor.cc @@ -16,9 +16,9 @@ #include -#include "om_executor.h" #include "tf_adapter/common/common.h" #include "tf_adapter/util/npu_attrs.h" +#include "om_executor.h" namespace tensorflow { ModelProcess::ModelProcess(const std::string &model_data) { diff --git a/tf_adapter_2.x/npu_device/core/npu_logger.cpp b/tf_adapter_2.x/npu_device/core/npu_logger.cpp index 60fc02af0..3be903c53 100644 --- a/tf_adapter_2.x/npu_device/core/npu_logger.cpp +++ b/tf_adapter_2.x/npu_device/core/npu_logger.cpp @@ -13,10 +13,8 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - -#include - #include "npu_logger.h" +#include #include "npu_micros.h" namespace npu { -- Gitee