[FrontEnd] Rename all frontends from "*_ngraph_frontend*" to "_ov_frontend*" (#8645)

* Renaming all frontends from "*_ngraph_frontend*" to "_ov_frontend*"

Also Debug builds on Windows release frontends without "d" suffix will not be loaded

* Fix review comments and add wheels test debug prints

* More debug prints

* Load by absolute path and remove debug prints
This commit is contained in:
Mikhail Nosov
2021-11-18 09:26:13 +03:00
committed by GitHub
parent 517cf8dff6
commit 2245ea8be2
52 changed files with 146 additions and 138 deletions

View File

@@ -40,13 +40,13 @@ This library contains the classes to:
Starting from 2022.1 release, OpenVINO Runtime introduced a concept of frontend plugins. Such plugins can be automatically dynamically loaded by OpenVINO Runtime dynamically depending on file format:
* Linux* OS:
- `libir_ngraph_frontend.so` to read a network from IR
- `libpaddlepaddle_ngraph_frontend.so` to read a network from PaddlePaddle model format
- `libonnx_ngraph_frontend.so` to read a network from ONNX model format
- `libir_ov_frontend.so` to read a network from IR
- `libpaddlepaddle_ov_frontend.so` to read a network from PaddlePaddle model format
- `libonnx_ov_frontend.so` to read a network from ONNX model format
* Windows* OS:
- `ir_ngraph_frontend.dll` to read a network from IR
- `paddlepaddle_ngraph_frontend.dll` to read a network from PaddlePaddle model format
- `onnx_ngraph_frontend.dll` to read a network from ONNX model format
- `ir_ov_frontend.dll` to read a network from IR
- `paddlepaddle_ov_frontend.dll` to read a network from PaddlePaddle model format
- `onnx_ov_frontend.dll` to read a network from ONNX model format
### Device-Specific Plugin Libraries

View File

@@ -62,7 +62,7 @@ The example below demonstrates how to unregister an operator from the destructor
## Requirements for Building with CMake
A program that uses the `register_operator` functionality requires `openvino::core` and `openvino::frontend::onnx` libraries in addition to the OpenVINO Inference Runtime.
The `onnx_ngraph_frontend` is a component of the `OpenVINO` package , so `find_package(OpenVINO REQUIRED COMPONENTS ONNX)` can find both.
The `onnx_ov_frontend` is a component of the `OpenVINO` package , so `find_package(OpenVINO REQUIRED COMPONENTS ONNX)` can find both.
Those libraries need to be passed to the `target_link_libraries` command in the CMakeLists.txt file.
See CMakeLists.txt below for reference:

View File

@@ -45,13 +45,13 @@ This library contains the classes to:
Starting from 2022.1 release, OpenVINO Runtime introduced a concept of frontend plugins. Such plugins can be automatically dynamically loaded by OpenVINO Runtime dynamically depending on file format:
* Unix* OS:
- `libir_ngraph_frontend.so` to read a network from IR
- `libpaddlepaddle_ngraph_frontend.so` to read a network from PaddlePaddle model format
- `libonnx_ngraph_frontend.so` to read a network from ONNX model format
- `libir_ov_frontend.so` to read a network from IR
- `libpaddlepaddle_ov_frontend.so` to read a network from PaddlePaddle model format
- `libonnx_ov_frontend.so` to read a network from ONNX model format
* Windows* OS:
- `ir_ngraph_frontend.dll` to read a network from IR
- `paddlepaddle_ngraph_frontend.dll` to read a network from PaddlePaddle model format
- `onnx_ngraph_frontend.dll` to read a network from ONNX model format
- `ir_ov_frontend.dll` to read a network from IR
- `paddlepaddle_ov_frontend.dll` to read a network from PaddlePaddle model format
- `onnx_ov_frontend.dll` to read a network from ONNX model format
### Device-specific Plugin Libraries ###

View File

@@ -46,7 +46,7 @@ if(OpenCV_FOUND)
endif()
if(NGRAPH_ONNX_FRONTEND_ENABLE)
target_link_libraries(${TARGET_NAME} PRIVATE onnx_ngraph_frontend)
target_link_libraries(${TARGET_NAME} PRIVATE onnx_ov_frontend)
endif()
if(NOT MSVC)