Skip to content

Commit

Permalink
[Core] Remove ngraph coordinate_diff and enum_names (#22472)
Browse files Browse the repository at this point in the history
* Remove ngraph coordinate_diff

* Fix compilation warning

---------

Co-authored-by: Ilya Lavrenov <[email protected]>
  • Loading branch information
t-jankowski and ilya-lavrenov authored Feb 1, 2024
1 parent eec1161 commit 945535a
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 51 deletions.
26 changes: 0 additions & 26 deletions src/core/include/ngraph/coordinate_diff.hpp

This file was deleted.

23 changes: 0 additions & 23 deletions src/core/include/ngraph/enum_names.hpp

This file was deleted.

3 changes: 2 additions & 1 deletion src/core/include/ngraph/validation_util.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,13 @@

#include <tuple>

#include "ngraph/coordinate_diff.hpp"
#include "openvino/core/coordinate_diff.hpp"
#include "openvino/op/constant.hpp"
#include "openvino/op/util/attr_types.hpp"
#include "openvino/op/util/variable_context.hpp"

namespace ngraph {
using ov::CoordinateDiff;
using ov::op::v0::Constant;

namespace element {
Expand Down
2 changes: 2 additions & 0 deletions src/frontends/onnx/frontend/src/op/conv_transpose.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#include "op/conv_transpose.hpp"

#include "exceptions.hpp"
#include "openvino/core/coordinate_diff.hpp"
#include "openvino/op/add.hpp"
#include "openvino/op/broadcast.hpp"
#include "openvino/op/concat.hpp"
Expand All @@ -19,6 +20,7 @@
#include "utils/convpool.hpp"

using namespace ov::op;
using ov::CoordinateDiff;

OPENVINO_SUPPRESS_DEPRECATED_START
namespace ngraph {
Expand Down
1 change: 0 additions & 1 deletion src/frontends/onnx/frontend/src/op/quant_conv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
# include "default_opset.hpp"
# include "exceptions.hpp"
# include "ngraph/builder/quantization/quantized_linear_convolution.hpp"
# include "ngraph/coordinate_diff.hpp"
# include "ngraph/frontend/onnx_import/utils/convpool.hpp"
# include "ngraph/op/util/attr_types.hpp"
# include "ngraph/opsets/opset0.hpp"
Expand Down
1 change: 1 addition & 0 deletions src/frontends/onnx/frontend/src/utils/convpool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

using namespace ov;
using namespace ov::op;
using ov::CoordinateDiff;

OPENVINO_SUPPRESS_DEPRECATED_START

Expand Down
1 change: 1 addition & 0 deletions src/frontends/onnx/frontend/src/utils/convpool.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#pragma once

#include "onnx_import/core/node.hpp"
#include "openvino/core/coordinate_diff.hpp"
#include "openvino/core/deprecated.hpp"
#include "openvino/core/shape.hpp"
#include "openvino/core/strides.hpp"
Expand Down
1 change: 1 addition & 0 deletions src/frontends/onnx/frontend/src/utils/pooling_factory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

#include <iterator>

#include "openvino/core/coordinate_diff.hpp"
#include "openvino/frontend/exception.hpp"
#include "openvino/op/avg_pool.hpp"
#include "openvino/op/constant.hpp"
Expand Down

0 comments on commit 945535a

Please sign in to comment.