* Renamed plugin
* Changed plugin source dir
* Fixed tests
* Renamed ENABLE_GNA to ENABLE_INTEL_GNA
* Fixed centos compile error
* One more renaming place
* HF for centos 7
* renamed the name in version api
* Fixed CI configurations
* Disabled GNA plugin for old gcc (<=5.4)
* Fixed Azure Win job
* Enable LTO for oneDNN GPU
* Use importer target for onednn_gpu
* Fixed install of OpenCL, ittapi
* Try to enable samples build
* Fixed ie_wheel build
* Disabled samples
* Fixed incorrect install of pugixml in dynamic build
* Fixed clDNN_unit_tests64 link
* Minimized a number of hardcoded paths
* Switched off ITT
* Disable TBBBind for static Windows
* Fixed link on Windows
* Fixes
* Static build for Window
* Disable unit-tests
* Disabled TF
* Fixed add dependency for PDPD unit tests
* Disabled GNA
* Enabled ngraph test utils
* Fixes
* Fixes
* Disable clDNN for static build on Windows
* Dynamic MCVS runtime for OpenCL
* Disable ITT traces for static libs
* Ability to switch TBBBind_2_5 OFF
* Disabled GPU on Windows build
* Fixed libGNA link
* Disabled some GNA tests
* Fixed multiple definitions issue
* Hide FrontEnd::load in DLL
* Install libGNAStubs
* Trying to fix Windows
* Trying to fix frontends
* Passed compilation on Windows
* Updated install rules for ngraph backends
* Try CPU, TEMPLATE tests
* Enabled unit-tests
* Enabled ngraph tests
* Try to fix unit-test
* Fixed unit-test on Linux
* Fixed compilation with ENABLE_IR_V7_READER=OFF
* Fixed tests on Linux
* Enable cpuFuncTests only in static build
* Try to fix testMockPluginFrontEnd test
* Try to enable TF
* Fixed python tests
* Partial revert
* Removed OV_FRONTEND_PATH
* Proper cmake install for static libraries case
* Added an ability to skip template plugin
* Added install rules for VPU / GPU
* Install more libraries
* Fixed absolute TBB include paths
* Disable GNA
* Fixed issue with linker
* Some fixes
* Fixed linkage issues in tests
* Disabled some tests
* Updated CI pipelines
* Fixed Windows linkage
* Fixed custom_opset test for static casr
* Fixed CVS-70313
* Continue on error
* Fixed clanf-format
* Try to fix Windows linker
* Fixed compilation
* Disable samples
* Fixed samples build with THREADING=SEQ
* Fixed link error on Windows
* Fixed ieFuncTests
* Added static Azure CI
* Revert "Fixed link error on Windows"
This reverts commit 78cca36fd2.
* Merge static and dynamic linux pipelines
* Fixed Azure
* 1. Removed explicit SHARED from libraries
2. Fixed double definition for ie_layer_validators
* Fixed SEG in unit-test: order of initialization for global vars
* Added an ability to find plugins.xml from static IE
* Fixes in unit-test
* Migrated to new macro for import / export
* Minimized number of custom dllexport
* Don't use IR v7 for static libraries
* Revert for merge
* Don't enable tests with dlopen for static libraries
* Code style
* Added condition for export
* Revert format_reader
* Removed forward decalaration with external linkage
* Fixed IE linkage on Windows
* Reverted back 2 flags
* Minimal RRTI for cpuFuncTests
* Minimal RRTI for cpuFuncTests
* Still need IR v7 reader
* Fixed build
* Fixed compilation
* clang-format fix
* Removed BUILD_AS_IS and used USE_STATIC_IE
* Enable IR v7 reader as static library
* Fixed compilation for GPU plugin
* Trying to build plugins as static library
* Plugins are able provide their own name for CreatePluginEngine function
* Fixed CPU
* Fixed comments
* Fixed ENABLE_IR_V7_READER usage
* Fixed VPU
* clang-format
* Fixes
* Fix
* Load multiple plugins at once
* Fixed interpreter undefined symbols
* Trying to dynamically register static plugins
* Reverted some ngraph changes
* Fixed cpuUnitTests compilation
* Fixed compilation
* Fixed myriad
* Fixed custom_opset tests
* Reverted linker flags
* Support both static and dynamic plugins
* Fixed compilation of myriadFuncTests
* Removed duplication
* Fixes after self-review
* Fixed linkage for preprocessing
* Fixes for Windows
* Fixes
* Fixed cmake options
* Fix
* Fix
* Fix 2
* Migrate POC for TensorFlow frontend
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Refactor InputModelTensorFlow API
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Repack POC to official API
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Remove tensorflow API from public include
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Make TF frontend work from MO and clean-up code
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Apply codestyle
* Fix win biuld
* Fix Linux build
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Implement Place class
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Determine outputs from graph
* Implement all Place classes
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Make small clean-up
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Apply code-style corrections
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Determine cut nodes
* Apply codestyle
* Rework to use places
* Fix conversion issue
* Fix build
* Fix conversion
* Small fixes
* Add test for tf frontend
* Add tests
* Implement partial conversion
* Use dynamic type in TFFrameworkNode
* Fix build on Linux
* Implement InputModelTF class
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Fix code by replacing InputModelTensorFlow to InputModelTF
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Fix to pass getPlaceByTensorName test
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Refactor and clean the code
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Finalize refactoring code
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Support freezing inputs
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Add support for pruning input ports as new model output
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Apply code-style fixes
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* move op convertors to separate files, refactoring
* openvino codestyle
* openvino codestyle
* fix crash of layer tests
* fix missprint
* Implement TensorFlow NodeContext and DecoderTFProto classes
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Switch to new NodeContext
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Remove ngraph_builder class and node_context_impl class
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Move decoder/graph_iterator to separate files and remove old files
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Document Decoder, GraphIterator, and NodeContext classes
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Apply code style
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Remove empty file graph_iterator_proto.cpp and redundant comments
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Use base class for GraphIterator in model class and correct exception class
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Use ends_with from util library
* Remain only InputModelTF constructor with GraphIterator and adopt other code
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Correct code after merge
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Apply code style
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Fix code based on feedback: delete extra namespace usage, etc.
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Make legacy TF frontend default in MO and avoid reading tf models from ReadNetwork
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Fix build issue with FrameworkNode after upstream merge
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Correct frontend name in test and clean the code
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* refactoring of tf FrontEnd: rename namespaces, delete default opset
* codestyle
* fix e2e tests
* change namespaces of external classes
* resolve review comment
* codestyle
* Clean useless comments and fix tests
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Add copyright for proto files
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Make op translators a part of FrontEndTF
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Align CMakeLists.txt file with other frontends
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Add job_pool into CMakeLists.txt for tensorflow tests
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Remove cout and WA in ie_network_reader.cpp
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Correct DecoderBase and FrontEndTF methods, clean the code from if 0, utility.hpp, ngraph_conversions.hpp
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Clean operation translator code and remove empty implementation
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Extend cmake template files with tensorflow frontend
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Apply code-style
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Fix build issues on MacOS and apply review feedback
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Remove ConstantFolding pass, add destructors for DecoderBase, GraphIterator, and fix Win build
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Fix Windows build issue
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Apply code-style fix
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Fix issues with code style: remove virtual keyword, OpMap removal
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Resolve review remarks
* Resolve review remarks
* codestyle
* resolve review remarks
* fix copyright
* resolve review comments
Co-authored-by: Maxim Vafin <maxim.vafin@intel.com>
Co-authored-by: Ivan Tikhonov <ivan.tikhonov@intel.com>
* Merge onnx_importer to onnx_ngraph_frontend
* address review comments
* use onnx_ngraph_frontend in docs/template_extension
* link onnx_ngraph_frontend instead of onnx_importer
* switch onnxruntime branch to rel-1.8.1_ov_2022.1 in https://github.com/intel/onnxruntime
* Remove pip install cmake since the 1.8.1 release doesnt require it
* add alias
* set IMPORTED_GLOBAL
Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
This change implements a subset of FrontEnd API for ONNX:
Changes:
- move onnx_common, onnx_editor and onnx_import to ngraph/frontend/onnx
- introduce new target 'onnx_frontend_ngraph' located in ngraph/frontend/onnx/frontend
- new target implements subset of FrontEnd, InputModel and Place interfaces
* Added pugixml as submodule
* CVS-34900: updated pugixml to v1.11.4
* Fixed link with pugixml
* USe pugixml::static
* Try to fix bug
* Removed GITHUB_PULL_REQUEST
* Replaced OpenVINO_MAIN_SOURCE_DIR -> OpenVINO_SOURCE_DIR
* Removed some usages of IE_MAIN_SOURCE_DIR
* Use ngraph target directly
* Moved cmake/templates to <root>
* Removed ngraph versioning, reused IE one
* Merged converage
* Removed duplicatde ngraph cmake options
* Moved dependencies to <root>/cmake
* Removed installing of VERSION
* enable make clean to remove ie_wheel artifacts
* ./setup.py:132:1: E302 expected 2 blank lines
* fix CI build issue
* Removed not-needed components from ie_wheel
* Use explicit python3 vresion in ngraph pythpn
* Use python3 everywhere
* Reuse python3 more
* Added function to build with Py_LIMITED_API
* Sync 2 cmake python modules
* Fix for tools
* Fixed typo
* Enable python by default
* Enable python build iff python-dev is found
* More migration to Python3_VERSION
* Install wheel requirements
* Fixed ngraph Python separate build
* Fixed cython compilation
* Revert to old packages
* Added suffix
* Specify python version explicitly
* Don't depend on python interp to build python itself
* More improvements
* Revert offline transformations back to ie_wheel
* Refactoring
* Trying to build wheel independently on C++ runtime
* Build wheel only with main OpenVINO
* Fixed typo in test_utils cmake lists
* Adding link stage
* small fix
* git diff
* Try to fix python tests
Co-authored-by: Sergey Lyubimtsev <sergey.lyubimtsev@intel.com>
* Compile time enabling or disabling of first inference time counters
* First inference time counters
* Counters for validate_nodes_and_infer_types and check_all_parameters_registered removed from first inference time counters scope
* Code style fix
* Missing macro for CC and invalid domain names
* Code style fix
* Unused function warnings fixed
* Fixed documentation build when paths contain spaces
* ops math formula fix
* Fixed typo in
* Added more dependencies for openvino_docs
* Improvements
Co-authored-by: Nikolay Tyukaev <ntyukaev_lo@jenkins.inn.intel.com>
* Tools for conditional compilation
* Unit tests for conditional compilation & Refactoring
* Fix for MSVC selective build macros
* Unit tests for conditional compilation in analysys mode
* Code generation for selective build is hidden inside CMake
* Comments for conditional compilation options
* Fix: ITT_INCLUDE_DIR was not correctly detected
* Added NGRAPH_STATIC_LIBRARY CMake flag to optionnaly compile ngraph and link it as a static library instead of a dynamic one
- Definition of NGRAPH_STATIC_LIBRARY macro in callee and caller code to avoid dllexport/dllimport decoration
- Adding missing definitions of the explicit instantiation of FactoryRegistry<>::get
- Removed message about a non existent variable: NGRAPH_IE_STATIC_LIB_ENABLE
- Removed install export directive for ngraph in case of static library
* * Code style fix
* Added NGRAPH_STATIC_LIBRARY CMake flag to optionnaly compile ngraph and link it as a static library instead of a dynamic one
- Definition of NGRAPH_STATIC_LIBRARY macro in callee and caller code to avoid dllexport/dllimport decoration
- Adding missing definitions of the explicit instantiation of FactoryRegistry<>::get
- Removed message about a non existent variable: NGRAPH_IE_STATIC_LIB_ENABLE
- Removed install export directive for ngraph in case of static library
* - Removed redundant symbol definition
- Indented properly some comments
* - Making sure onnx is always compiled as a static library no matter what is the value of BUILD_SHARED_LIBS
* - Making sure onnx is always compiled as a static library no matter what is the value of BUILD_SHARED_LIBS
* Fixed incorrect suppression of directive
* Using BUILD_SHARED_LIBS (defaulted to ON) instead of a custom CMake option NGRAPH_STATIC_LIBRARY
* Removed useless comma
* Forcing pugixml to be static event when BUILD_SHARED_LIBS=ON globally.
* Forcing gtest for ie tests to be compiled as a static library.
* Made protobuf and gtest from ngraph always static.
Factorized all the force static logic for ngraph's externals in ngraph's CMakeLists.txt instead of external_*.cmake
* gflags is always static
* Solving cross compilation from Debian 9
* using the same pattern for other ngraph externals
Co-authored-by: emmanuelattia-philips <66060489+emmanuelattia-philips@users.noreply.github.com>
Co-authored-by: Emmanuel Attia <emmanuel.attia@philips.com>
* Use ittnotify built from sources
ITT tracing was only possible on the platfroms supported by VTune.
Building ittnotify from sources removes VTune dependency.
ITT traces was found significantly slowdown tests execution time.
Disabling ENABLE_PROFILING_ITT by default. This is also
a current behavior of Intel Distribution of OpenVINO.
* Fix missprint
* Add include directories to itt
It uses CMake 3.16 built-in utilities to speed up build time:
* Unity builds
* Precompiled headers
The feature is controlled via `ENABLE_FASTER_BUILD` CMake option (disabled by default).
The option avaialble only on CMake >= 3.16.
The feature is enabled per-target via `ie_faster_build` function.
Some observations:
* Don't have actual numbers for compile time, but subjectively can see
speed up locally with VS 2019.
* Unity builds gives much more effect, but has some restriction on source files,
so are not used everywhere.
* UWP fixes
* Commented code for compilation with UWP
* Current state: compiled for DESKTOP_APP
* Fixes
* Added toolchain
* Enabled ONNX imported for Windows Store
* Updated toolchain
* Fixes
* Disable ONNX in case of UWP
* Fix for Windows Driver
* Applied style check
* Dynamic loading of GetDLLDirectory symbols
* Clean-up in the toolchain
* Updated mkldnn plugin cmake
* Build dlls with INTEGRITYCHECK flag if ENABLE_INTEGRITYCHECK=ON
INTEGRITYCHECK flag enforces digital signature before loading the binary in Windows.
Also, refine /guard:cf flag enabling - MSCV, Intel, clang compilers does support /guard:cf.