ONNX/IR/Common FrontEnds Refactoring (#9174)

* Refactor ONNX,IR,Common FrontEnds

* Rename frontends dir to frontend

* Rename frontend_manager, frontend_defs -> manager, defs; move Place, InputModel to src for Paddle FE

* remove exports for ir/input_model

* fix unit tests

* Fix unit tests

* revert ONNX_API/IR_API defines

* move manager.hpp to frontend dir

* delete common folder; rename defs to visibility; fix includes

* revert local changes

* codestyle

* fix build: set correct includes

* fix includes

* fix build; resolve review comments

* fix install paths

* correct installation folder for onnx_import

* use IE_THROW in ir frontend
This commit is contained in:
Ivan Tikhonov
2021-12-17 08:05:30 +03:00
committed by GitHub
parent 4fea4024b4
commit dbd2b5dc08
96 changed files with 746 additions and 710 deletions

View File

@@ -2,12 +2,11 @@
// SPDX-License-Identifier: Apache-2.0
//
#include "ngraph/pass/manager.hpp"
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
#include "ngraph/pass/constant_folding.hpp"
#include "ngraph/pass/manager.hpp"
#include "ngraph/pass/pass.hpp"
#include "ngraph/pass/validate.hpp"
#include "pyngraph/passes/manager.hpp"

View File

@@ -7,9 +7,9 @@
#include <pybind11/stl.h>
#include <pybind11/stl_bind.h>
#include "common/frontend_exceptions.hpp"
#include "common/telemetry_extension.hpp"
#include "manager.hpp"
#include "openvino/frontend/exception.hpp"
#include "openvino/frontend/manager.hpp"
#include "openvino/frontend/telemetry_extension.hpp"
#include "pyopenvino/graph/function.hpp"
namespace py = pybind11;

View File

@@ -6,8 +6,8 @@
#include <pybind11/stl.h>
#include <pybind11/stl_bind.h>
#include "common/frontend_exceptions.hpp"
#include "manager.hpp"
#include "openvino/frontend/exception.hpp"
#include "openvino/frontend/manager.hpp"
namespace py = pybind11;

View File

@@ -2,14 +2,13 @@
// SPDX-License-Identifier: Apache-2.0
//
#include "frontend_manager.hpp"
#include "openvino/frontend/manager.hpp"
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
#include <pybind11/stl_bind.h>
#include "common/frontend_exceptions.hpp"
#include "manager.hpp"
#include "openvino/frontend/exception.hpp"
namespace py = pybind11;

View File

@@ -6,9 +6,8 @@
#include <pybind11/stl.h>
#include <pybind11/stl_bind.h>
#include "common/frontend_exceptions.hpp"
#include "frontend_manager.hpp"
#include "manager.hpp"
#include "openvino/frontend/exception.hpp"
#include "openvino/frontend/manager.hpp"
#include "pyopenvino/graph/function.hpp"
namespace py = pybind11;

View File

@@ -32,8 +32,8 @@
#include "pyopenvino/core/variable_state.hpp"
#include "pyopenvino/core/version.hpp"
#include "pyopenvino/frontend/frontend.hpp"
#include "pyopenvino/frontend/frontend_manager.hpp"
#include "pyopenvino/frontend/inputmodel.hpp"
#include "pyopenvino/frontend/manager.hpp"
#include "pyopenvino/frontend/place.hpp"
#include "pyopenvino/graph/any.hpp"
#include "pyopenvino/graph/descriptors/tensor.hpp"

View File

@@ -4,8 +4,8 @@
#include "mock_py_frontend.hpp"
#include "common/frontend_defs.hpp"
#include "manager.hpp"
#include "openvino/frontend/manager.hpp"
#include "openvino/frontend/visibility.hpp"
using namespace ngraph;
using namespace ov::frontend;

View File

@@ -4,9 +4,9 @@
#pragma once
#include "common/frontend_defs.hpp"
#include "manager.hpp"
#include "ngraph/visibility.hpp"
#include "openvino/frontend/manager.hpp"
#include "openvino/frontend/visibility.hpp"
// Defined if we are building the plugin DLL (instead of using it)
#ifdef mock_py_ov_frontend_EXPORTS