Skip to content

Commit

Permalink
Move OpenVINO core developers API to OpenVINO folder (#18360)
Browse files Browse the repository at this point in the history
* Move openvino core developers API to OpenVINO folder

* Fixed GPU plugin

* Fixed code style
  • Loading branch information
ilyachur authored Jul 4, 2023
1 parent 25ead3a commit 7fc16c3
Show file tree
Hide file tree
Showing 80 changed files with 83 additions and 87 deletions.
2 changes: 1 addition & 1 deletion src/bindings/python/src/pyopenvino/graph/rt_map.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include <pybind11/stl_bind.h>

#include "dict_attribute_visitor.hpp"
#include "meta_data.hpp"
#include "openvino/core/meta_data.hpp"
#include "openvino/core/node.hpp"
#include "openvino/core/runtime_attribute.hpp"
#include "openvino/op/add.hpp"
Expand Down
2 changes: 1 addition & 1 deletion src/bindings/python/src/pyopenvino/utils/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
#include <vector>

#include "Python.h"
#include "meta_data.hpp"
#include "openvino/core/except.hpp"
#include "openvino/core/meta_data.hpp"
#include "openvino/frontend/decoder.hpp"
#include "openvino/frontend/graph_iterator.hpp"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
#include <openvino/opsets/opset8.hpp>
#include <vector>

#include "dimension_tracker.hpp"
#include "itt.hpp"
#include "openvino/core/dimension_tracker.hpp"

void ov::batch_util::mark_with_unique_dimension_labels(const std::shared_ptr<ov::Model>& f,
const ov::DimensionTracker& dt) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
#include <openvino/opsets/opset8.hpp>
#include <vector>

#include "bound_evaluation_util.hpp"
#include "itt.hpp"
#include "openvino/core/bound_evaluation_util.hpp"
#include "transformations/utils/utils.hpp"

namespace {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

#include <memory>

#include "dimension_tracker.hpp"
#include "itt.hpp"
#include "openvino/core/dimension_tracker.hpp"
#include "openvino/op/broadcast.hpp"
#include "openvino/op/concat.hpp"
#include "openvino/op/constant.hpp"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

#include <gtest/gtest.h>

#include <dimension_tracker.hpp>
#include <memory>
#include <ngraph/function.hpp>
#include <ngraph/pass/manager.hpp>
Expand All @@ -18,6 +17,7 @@

#include "common_test_utils/ngraph_test_utils.hpp"
#include "ngraph_functions/subgraph_builders.hpp"
#include "openvino/core/dimension_tracker.hpp"

using namespace testing;

Expand Down Expand Up @@ -309,4 +309,4 @@ TEST(partial_shape, cout_without_label) {
std::stringstream stream;
stream << shape;
ASSERT_EQ(stream.str(), "[1,2,3,5]");
}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/core/shape_inference/include/utils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include <openvino/opsets/opset1.hpp>
#include <type_traits>

#include "bound_evaluation_util.hpp"
#include "openvino/core/bound_evaluation_util.hpp"
#include "shape_infer_type_utils.hpp"
#include "tensor_data_accessor.hpp"

Expand Down
2 changes: 1 addition & 1 deletion src/core/src/bound_evaluate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

#include "bound_evaluate.hpp"

#include "dimension_tracker.hpp"
#include "ngraph/validation_util.hpp"
#include "openvino/core/dimension_tracker.hpp"
#include "openvino/core/rt_info.hpp"
#include "openvino/opsets/opset10.hpp"
#include "shape_util.hpp"
Expand Down
2 changes: 1 addition & 1 deletion src/core/src/bound_evaluate.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

#pragma once

#include "bound_evaluation_util.hpp"
#include "openvino/core/bound_evaluation_util.hpp"

namespace ov {
// bool could_propagate(const Output<Node>& output, std::vector<Node*>& order);
Expand Down
2 changes: 1 addition & 1 deletion src/core/src/dimension.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include <openvino/util/common_util.hpp>
#include <sstream>

#include "dimension_tracker.hpp"
#include "openvino/core/dimension_tracker.hpp"

using namespace ngraph;

Expand Down
2 changes: 1 addition & 1 deletion src/core/src/model.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

#include "itt.hpp"
#include "layout_utils.hpp"
#include "meta_data.hpp"
#include "ngraph/evaluator.hpp"
#include "ngraph/function.hpp"
#include "ngraph/graph_util.hpp"
Expand All @@ -20,6 +19,7 @@
#include "ngraph/validation_util.hpp"
#include "openvino/core/attribute_visitor.hpp"
#include "openvino/core/except.hpp"
#include "openvino/core/meta_data.hpp"
#include "openvino/core/partial_shape.hpp"
#include "openvino/op/parameter.hpp"
#include "openvino/op/util/op_types.hpp"
Expand Down
2 changes: 1 addition & 1 deletion src/core/src/op/concat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@

#include "bound_evaluate.hpp"
#include "concat_shape_inference.hpp"
#include "dimension_tracker.hpp"
#include "itt.hpp"
#include "ngraph/attribute_visitor.hpp"
#include "ngraph/runtime/reference/concat.hpp"
#include "openvino/core/dimension_tracker.hpp"
#include "validation_util.hpp"

using namespace std;
Expand Down
2 changes: 1 addition & 1 deletion src/core/src/op/reshape.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
#include "ngraph/op/reshape.hpp"

#include <algorithm>
#include <dimension_tracker.hpp>
#include <ngraph/validation_util.hpp>

#include "bound_evaluate.hpp"
Expand All @@ -14,6 +13,7 @@
#include "ngraph/op/constant.hpp"
#include "ngraph/runtime/opt_kernel/reshape.hpp"
#include "ngraph/runtime/reference/reshape.hpp"
#include "openvino/core/dimension_tracker.hpp"
#include "openvino/op/util/precision_sensitive_attribute.hpp"

using namespace std;
Expand Down
2 changes: 1 addition & 1 deletion src/core/src/op/shape_of.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
#include "ngraph/op/shape_of.hpp"

#include <algorithm>
#include <dimension_tracker.hpp>
#include <ngraph/validation_util.hpp>
#include <vector>

Expand All @@ -17,6 +16,7 @@
#include "ngraph/runtime/host_tensor.hpp"
#include "ngraph/runtime/reference/shape_of.hpp"
#include "ngraph/type/element_type_traits.hpp"
#include "openvino/core/dimension_tracker.hpp"

using namespace std;
using namespace ngraph;
Expand Down
2 changes: 1 addition & 1 deletion src/core/src/op/topk.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#include <memory>
#include <topk_shape_inference.hpp>

#include "dimension_tracker.hpp"
#include "itt.hpp"
#include "ngraph/attribute_visitor.hpp"
#include "ngraph/axis_vector.hpp"
Expand All @@ -17,6 +16,7 @@
#include "ngraph/runtime/reference/topk.hpp"
#include "ngraph/shape.hpp"
#include "ngraph/validation_util.hpp"
#include "openvino/core/dimension_tracker.hpp"

using namespace std;
using namespace ngraph;
Expand Down
2 changes: 1 addition & 1 deletion src/core/src/partial_shape.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
#include <iostream>
#include <vector>

#include "dimension_tracker.hpp"
#include "ngraph/check.hpp"
#include "ngraph/util.hpp"
#include "openvino/core/dimension_tracker.hpp"

namespace {
static constexpr char dim_out_range_access_txt[] = "Accessing out-of-range dimension in Dimension[]";
Expand Down
2 changes: 1 addition & 1 deletion src/core/src/pass/serialize.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
#include <unordered_map>
#include <unordered_set>

#include "meta_data.hpp"
#include "ngraph/ops.hpp"
#include "ngraph/opsets/opset.hpp"
#include "openvino/core/coordinate_diff.hpp"
#include "openvino/core/except.hpp"
#include "openvino/core/meta_data.hpp"
#include "openvino/core/model.hpp"
#include "openvino/op/util/framework_node.hpp"
#include "openvino/opsets/opset1.hpp"
Expand Down
2 changes: 1 addition & 1 deletion src/core/src/so_extension.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// SPDX-License-Identifier: Apache-2.0
//

#include "so_extension.hpp"
#include "openvino/core/so_extension.hpp"

const ov::Extension::Ptr& ov::detail::SOExtension::extension() const {
return m_ext;
Expand Down
2 changes: 1 addition & 1 deletion src/core/src/validation_util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

#include "bound_evaluate.hpp"
#include "compare.hpp"
#include "dimension_tracker.hpp"
#include "ngraph/evaluator.hpp"
#include "ngraph/op/concat.hpp"
#include "ngraph/op/convert.hpp"
Expand All @@ -25,6 +24,7 @@
#include "ngraph/shape.hpp"
#include "ngraph/type/element_type_traits.hpp"
#include "ngraph/util.hpp"
#include "openvino/core/dimension_tracker.hpp"
#include "openvino/op/ops.hpp"
#include "sequnce_generator.hpp"
#include "validation_util.hpp"
Expand Down
2 changes: 1 addition & 1 deletion src/core/tests/evaluate_bound/concat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
// SPDX-License-Identifier: Apache-2.0
//

#include "dimension_tracker.hpp"
#include "gmock/gmock.h"
#include "openvino/core/dimension.hpp"
#include "openvino/core/dimension_tracker.hpp"
#include "openvino/core/node.hpp"
#include "openvino/core/partial_shape.hpp"
#include "openvino/opsets/opset9.hpp"
Expand Down
2 changes: 1 addition & 1 deletion src/core/tests/extension.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
#include "common_test_utils/file_utils.hpp"
#include "openvino/core/graph_util.hpp"
#include "openvino/core/op_extension.hpp"
#include "openvino/core/so_extension.hpp"
#include "openvino/opsets/opset9.hpp"
#include "openvino/util/file_util.hpp"
#include "so_extension.hpp"

inline std::string get_extension_path() {
return ov::util::make_plugin_library_name<char>(CommonTestUtils::getExecutableDirectory(),
Expand Down
2 changes: 1 addition & 1 deletion src/core/tests/type_prop/arithmetic_ops.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@

#include <vector>

#include "dimension_tracker.hpp"
#include "gtest/gtest.h"
#include "ngraph/ngraph.hpp"
#include "openvino/core/dimension_tracker.hpp"
#include "openvino/op/util/attr_types.hpp"
#include "util/type_prop.hpp"

Expand Down
2 changes: 1 addition & 1 deletion src/core/tests/type_prop/binary_elementwise.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
//

#include "common_test_utils/test_assertions.hpp"
#include "dimension_tracker.hpp"
#include "gtest/gtest.h"
#include "ngraph/ngraph.hpp"
#include "openvino/core/dimension_tracker.hpp"
#include "util/type_prop.hpp"

using namespace std;
Expand Down
3 changes: 1 addition & 2 deletions src/core/tests/type_prop/broadcast.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@
// SPDX-License-Identifier: Apache-2.0
//

#include <dimension_tracker.hpp>

#include "common_test_utils/test_assertions.hpp"
#include "gtest/gtest.h"
#include "ngraph/ngraph.hpp"
#include "ngraph/opsets/opset6.hpp"
#include "openvino/core/dimension_tracker.hpp"
#include "openvino/op/util/attr_types.hpp"
#include "util/type_prop.hpp"

Expand Down
2 changes: 1 addition & 1 deletion src/core/tests/type_prop/concat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
// SPDX-License-Identifier: Apache-2.0
//

#include "dimension_tracker.hpp"
#include "gmock/gmock.h"
#include "ngraph/ngraph.hpp"
#include "openvino/core/dimension_tracker.hpp"
#include "openvino/pass/graph_rewrite.hpp"
#include "util/type_prop.hpp"

Expand Down
3 changes: 1 addition & 2 deletions src/core/tests/type_prop/convert.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@
// SPDX-License-Identifier: Apache-2.0
//

#include <dimension_tracker.hpp>

#include "gtest/gtest.h"
#include "ngraph/ngraph.hpp"
#include "openvino/core/dimension_tracker.hpp"
#include "util/type_prop.hpp"

using namespace std;
Expand Down
2 changes: 1 addition & 1 deletion src/core/tests/type_prop/ctc_greedy_decoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
// SPDX-License-Identifier: Apache-2.0
//

#include "dimension_tracker.hpp"
#include "gtest/gtest.h"
#include "ngraph/ngraph.hpp"
#include "openvino/core/dimension_tracker.hpp"
#include "util/type_prop.hpp"

using namespace std;
Expand Down
2 changes: 1 addition & 1 deletion src/core/tests/type_prop/ctc_greedy_decoder_seq_len.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
// SPDX-License-Identifier: Apache-2.0
//

#include "dimension_tracker.hpp"
#include "gtest/gtest.h"
#include "openvino/core/dimension_tracker.hpp"
#include "openvino/op/ops.hpp"
#include "util/type_prop.hpp"

Expand Down
2 changes: 1 addition & 1 deletion src/core/tests/type_prop/detection_output.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

#include <memory>

#include "dimension_tracker.hpp"
#include "gtest/gtest.h"
#include "ngraph/ngraph.hpp"
#include "openvino/core/dimension_tracker.hpp"
#include "openvino/util/common_util.hpp"
#include "util/type_prop.hpp"

Expand Down
2 changes: 1 addition & 1 deletion src/core/tests/type_prop/einsum.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
//

#include "common_test_utils/test_assertions.hpp"
#include "dimension_tracker.hpp"
#include "gmock/gmock.h"
#include "ngraph/ngraph.hpp"
#include "openvino/core/dimension_tracker.hpp"
#include "openvino/pass/graph_rewrite.hpp"
#include "util/type_prop.hpp"

Expand Down
2 changes: 1 addition & 1 deletion src/core/tests/type_prop/eye.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
//

#include "common_test_utils/test_assertions.hpp"
#include "dimension_tracker.hpp"
#include "eye_shape_inference.hpp"
#include "gtest/gtest.h"
#include "openvino/core/dimension_tracker.hpp"
#include "openvino/opsets/opset10.hpp"
#include "type_prop.hpp"

Expand Down
2 changes: 1 addition & 1 deletion src/core/tests/type_prop/gather.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
//

#include "common_test_utils/test_assertions.hpp"
#include "dimension_tracker.hpp"
#include "ngraph/ngraph.hpp"
#include "openvino/core/dimension_tracker.hpp"
#include "util/type_prop.hpp"

NGRAPH_SUPPRESS_DEPRECATED_START
Expand Down
2 changes: 1 addition & 1 deletion src/core/tests/type_prop/gather_elements.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
// SPDX-License-Identifier: Apache-2.0
//

#include "dimension_tracker.hpp"
#include "gtest/gtest.h"
#include "openvino/core/dimension_tracker.hpp"
#include "openvino/op/ops.hpp"
#include "util/type_prop.hpp"

Expand Down
2 changes: 1 addition & 1 deletion src/core/tests/type_prop/gather_nd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
// SPDX-License-Identifier: Apache-2.0
//

#include "dimension_tracker.hpp"
#include "gmock/gmock.h"
#include "openvino/core/dimension_tracker.hpp"
#include "openvino/op/ops.hpp"
#include "util/type_prop.hpp"

Expand Down
Loading

0 comments on commit 7fc16c3

Please sign in to comment.