From 9869f36f246ab427257520a446fa7ed012048055 Mon Sep 17 00:00:00 2001 From: andrei-cv Date: Thu, 22 Aug 2024 06:58:53 +0400 Subject: [PATCH] code style --- .../src/transformations/common_optimizations/ric_fusion.cpp | 2 +- .../mark_subgraphs_to_keep_in_mixed_precision.cpp | 2 +- src/core/src/pass/graph_rewrite.cpp | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/common/transformations/src/transformations/common_optimizations/ric_fusion.cpp b/src/common/transformations/src/transformations/common_optimizations/ric_fusion.cpp index 3da64b58734d14..60643d726ec275 100644 --- a/src/common/transformations/src/transformations/common_optimizations/ric_fusion.cpp +++ b/src/common/transformations/src/transformations/common_optimizations/ric_fusion.cpp @@ -24,10 +24,10 @@ #include "openvino/op/transpose.hpp" #include "openvino/op/util/binary_elementwise_arithmetic.hpp" #include "openvino/op/util/pad_base.hpp" +#include "openvino/pass/backward_graph_rewrite.hpp" #include "openvino/pass/manager.hpp" #include "openvino/pass/pattern/op/or.hpp" #include "openvino/pass/pattern/op/wrap_type.hpp" -#include "openvino/pass/backward_graph_rewrite.hpp" #include "openvino/util/log.hpp" #include "transformations/utils/utils.hpp" diff --git a/src/common/transformations/src/transformations/fp16_compression/mark_subgraphs_to_keep_in_mixed_precision.cpp b/src/common/transformations/src/transformations/fp16_compression/mark_subgraphs_to_keep_in_mixed_precision.cpp index ffa5bbf12f8640..2ae43c7ac8ed4a 100644 --- a/src/common/transformations/src/transformations/fp16_compression/mark_subgraphs_to_keep_in_mixed_precision.cpp +++ b/src/common/transformations/src/transformations/fp16_compression/mark_subgraphs_to_keep_in_mixed_precision.cpp @@ -47,11 +47,11 @@ #include "openvino/pass/pattern/op/optional.hpp" #include "openvino/pass/pattern/op/or.hpp" #include "openvino/pass/pattern/op/wrap_type.hpp" +#include "openvino/pass/backward_graph_rewrite.hpp" #include "transformations/common_optimizations/mark_precision_sensitive_shapeof_subgraphs.hpp" #include "transformations/convert_precision.hpp" #include "transformations/rt_info/disable_fp16_compression.hpp" #include "transformations/utils/utils.hpp" -#include "openvino/pass/backward_graph_rewrite.hpp" using namespace std; diff --git a/src/core/src/pass/graph_rewrite.cpp b/src/core/src/pass/graph_rewrite.cpp index bffb4bef0f57fa..00eafa873043c3 100644 --- a/src/core/src/pass/graph_rewrite.cpp +++ b/src/core/src/pass/graph_rewrite.cpp @@ -14,9 +14,9 @@ #include "openvino/cc/pass/itt.hpp" #include "openvino/op/util/multi_subgraph_base.hpp" +#include "openvino/pass/backward_graph_rewrite.hpp" #include "openvino/pass/pattern/op/wrap_type.hpp" #include "openvino/util/log.hpp" -#include "openvino/pass/backward_graph_rewrite.hpp" #include "perf_counters.hpp" /* GraphRewrite algorithm: @@ -66,7 +66,7 @@ PerfCounters& perf_counters_graph_rewrite() { #endif // ENABLE_PROFILING_ITT std::shared_ptr ov::pass::GraphRewrite::add_matcher( - const std::shared_ptr& pass) { + const std::shared_ptr& pass) { auto pass_config = get_pass_config(); pass->set_pass_config(pass_config); m_matchers.push_back(pass);