* [TF FE] Implement optimal conversion of body graphs
Preliminary setting input shapes and types for body graph InputModel
provides more optimal conversion of body-graphs.
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Fix build issue
---------
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Separeted SavedModelVariablesIndex class from Saved Model
* Renamed SavedModelVariablesIndex class
* Enabled Tensorflow MetaGraph
* Enabled Tensorflow MetaGraph
* Covered VariableV2 and Assign nodes
* Applied review comments
* Added tests
* Added names to input/output ports too
* Fixed naming for using with MO
* Applied part of review comments
* Renamed meta.cpp and saved_model.cpp
* Applied shared_ptr for memory management of PtrNode
* Fixing CI
* Prevent cycles while passing thru graph
* Released requirement for Checkpointable Object Graph
* Changed naming approach to align port order
* Changed renaming order (before reordering)
* Added a Placeholder translator which checks updated shape
* WA missing Identity name
* Fix CI and restored lost translators after rebase
* WA for output names
* Removing unused params after cutting a model
* Prevents crash in case VariableV2 appears in freezed model
* Fixed saved model in case no variables.index found, but
variables exists
* Changed approach for handling native formats support
* Aligned behavior with freezing .meta files
* Fixed behavior for cutting a model by input tensor
* Applied review comments
* Path retrieval fix
* More detailed messages in the failing test
* Exe path with model name
---------
Co-authored-by: Michal Lukaszewski <michal.lukaszewski@intel.com>
* Remove constructors for ov Exceptions
* Fixed linux build
* Fixed ONNX Frontend
* Fixed paddle
* Fixed exceptions in tests
* Deprecate constructors for ov::Exception
* Suppress some warnings
* Merge several exceptions
* Some small changes
* Suppress more warnings
* More warnings
* mode warnings
* Suppress more warnings
* More warnings
* fix Paddle unit tests unexpected exceptions and seg fault issue
* parse confine from reqfile to keep algin with other requirements
* Apply suggestions from code review
* Apply suggestions from code review
* [TF FE] Support NonMaxSuppression with named outputs
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Simplify the test for NMS named outputs
* Share a script for test model generation
---------
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* [TF FE] Test ResourceGather operation and fix debug caps
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Fix test generation script
---------
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Fix in create_same_type_const_scalar; accurate updating type for parameter when inlining function call body
* Added Unique to the list of operations with named output ports (another MUSE fix)
* Draft: working version of extension with named ports in TF
* Merge fixes
* Refactor and productize POC
* Clean up
* Fix build
* Fix code style
* Fix lib so extension test
* Fix namespaces
* Remove usage of Any from CreatorFunction
* Fix build
* Fix arm build
* Apply review feedback
* Fix build after merge
* Apply suggestions from code review
---------
Co-authored-by: Sergey Lyalin <sergey.lyalin@intel.com>
* Add Core property to switch from `mmap` to `read`
in IR FrontEnd
* Add tests on `ov::enable_mmap` property
* Add `enable_mmap` in C & Py APIs
* ClangFormat
* [TF FE] Add diagnostics capabilities via Framework nodes
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Refactor normalize logic
* Applied code-review feedback: fix in get_unsupported_operations_and_failures
* Handle unknown exception type
* Store only first encountered failure
* Update src/frontends/tensorflow/tests/convert_unsupported.cpp
* Apply code-review ffeedback: use stringstream
* Correct Key for exception message
* Fix build
* Use helper for creation of fw node with exception message inside
* Add test for conversion with unknown exception
---------
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Remove suppression Wno-delete-non-abstract-non-virtual-dtor
* Fixed Allocator warning
* Suppress warning for GPU plugin
* Skip warning for GNA
* Fixed preprocessing
* Added virtual constructor for base plugin class
* Some fix for CPU
* Suppress for CPU
* Fixed any
* Fixed meta
* Disable warning for paddle
* Fixed Allocator tests
* Move suppress to paddle
* Fixed benchmark_app
* add opextension support
* support opconversion
* fix test contructor ambiguous
* fix ci fail
* add tag to avoid compiler ambiguous
* move tests to layer_tests & remove PaddleTag
* static cast
* use create_ov_node_by_name
---------
Co-authored-by: Luo Cheng <cheng.luo@intel.com>
* Enable MapAllocator in IR Frontend
* Fix `ov_infer_request_ppp` test
With `mmap()`ing of IR, .bin can't be deleted until unmapping.
And it shows that there was a leak in test
* Add comment to Win `CreateFile()` regarding
FILE_SHARE_DELETE
* Unmap .bin file before IR files deletion
Wait ov::Model deletion to trigger .bin file unmapping
before IR files deletion
* ClangFormat
* Add `use_map_allocator` switch in FE
In case of direct use of FE (e.g. via MO), `mmap()` is OFF.
But in case of use FE via Core, `mmap()` is ON.
Move all openvino_conversion rountines into utils. Avoid using Squeeze without axis
that can create dynamic output rank
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>