* [TF FE] Report a reason of no conversion of internal operations
Some operations during translations can be temporarily converted to InternalOperation
such as Const operation of string type for which we need to define more elaborated reason
why it is represented as InternalOperation.
Also, restrict instantiation of InternalOperation because instead user should use FrameworkNode.
InternalOperation is a base class for internal operation types of TF FE that have
extended API compare to FrameWorkNode.
For all internal operation we defined a reason why it is not converted to OpenVINO opset
that will be reported in TF FE if they are not gone finally.
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Update src/frontends/tensorflow/tests/convert_unsupported.cpp
* Correct a script for generation of the test model
---------
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Add paddle op mapper silu
* Add more test cases
* Add dynamic shape test for op silu
---------
Co-authored-by: Xiuchuan Zhai <xiuchuan.zhai@intel.com>
* update op linspace
* rewrite function name
* add paddle grid_sample op mapping
* add op_fuzzy
* adjust op logic
* adjust op name
* format code
* add tests
* adjust test
* adjust test
* adjust test
* adjust test
* format code
---------
Co-authored-by: Xiuchuan Zhai <xiuchuan.zhai@intel.com>
* [TF FE] Provide single tensor names for inputs and outputs in SavedModel
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Fix build issue
* Xfail some cases due to internal problems in TF
* Xfail other layer test
* Extend documentation for function to adjust tensor names
* Use old path of tf2 layer testing for legacy frontend
---------
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
This change mimicks LinearToLinearONNXReplacer transformation in
legacy frontend, where linear interpolate mode is replaced with
linear_onnx due to performance reasons.
Ticket: CVS-108343
* [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>