* [TF FE] Break the cycle for NextIteration
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Fix code-style
* Better to cut by outputs of operation creating the cycle
* Remove extra thing
* Add test model
* Add test for conversion of TF1 While
* Apply code-review feedback: use pointers and correct error message
* Remove extra check
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
It might not be available in some cross-toolchains.
Extract the code for switching to gold linker into separate
CMake utility function to avoid duplication between multiple CMake scripts.
* Added PartialShape from str constructor, added to_string() method.
* Small corrections.
* Moved shape parsing to PartialShape and Dimension classes.
* Fixed errors.
* Added tests for shapes with comma separator.
* Fixed tests.
* Test fixed.
* Fixed test.
* Fixed tests.
* Small fix.
* Removed usage of depricated method.
* Fix in MO IR reader.
* Tests fixed.
* Fix in MO IR reader.
* Test fixed.
* Shape class alignment.
* Code fixes.
* Code fixes.
* Used unnamed namespace.
* Undo change of Shape attribute adapter.
* Undo change of Shape attribute adapter.
* Removed unnecessary includes.
* Removed unnecessary code.
* Test fixed.
* Fix in MO IR reader.
* Moved check_all_digits() to ov::util.
* Moved check_all_digits() to src/core/src/.
* Clang format.
* Apply suggestions from code review
Co-authored-by: Ilya Churaev <ilyachur@gmail.com>
* Removed dimension_util file.
* Removed wrong change.
* Removed extra spaces from string representation of Shape.
* Test fixed.
* Added support of comma separator for value. Updated help.
* Returned old format shape serializing.
Co-authored-by: Ilya Churaev <ilyachur@gmail.com>
* Added doxygen comment for opset10
* Added get_available_opsets method to API
* Fixed build
* Fixed build and typo
* Use constant map
* Removed defines from global opset
* Added const to map
* [TF FE] Refactor translator for L2Loss and test in the pre-commit
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Use Power for square operation
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Add reference implementation for Is ops
* FIx test
* Fix typo
* Remove deprecated
* Fix issues with API switch
* Force cast to float for float16/bfloat16 in ref
* Fix style
* Remove BWDCMP_RTTI
* Remove TensorVector helper check
* Remove evaluate functions
* Disable faling tests due to missing eval
* Enable linker warnings as error for Windows
* Fisable some linker warnings
* Suppress warnings
* Fixed build
* Change if opset
* Try to fix some warnings
* Revert some changes
* Try to fix warning
* Define OpenVINO static library for static libraries
* [TF FE] Refactor SpaceToBatch and BatchToSpace operations
Make them to support inputs of dynamic rank and shapes
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Add layer tests in the pre-commit
* Fix for normalizing padding and crops
* Correct the type of paddings and crops
* Fix incorrect changes for paddings and crops
* Update src/frontends/tensorflow/src/op/space_to_batch_nd.cpp
Co-authored-by: Maxim Vafin <maxim.vafin@intel.com>
* Update src/frontends/tensorflow/src/op/space_to_batch_nd.cpp
Co-authored-by: Maxim Vafin <maxim.vafin@intel.com>
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
Co-authored-by: Maxim Vafin <maxim.vafin@intel.com>
* Add ctest for some test targets
* Fixed test coverage
* Replaced unit tests cmake script
* Fixed code style
* Use ov_add_test_target for FEs
* Fixed code style
* [TF FE][Common] Move TF FE to opset Unique and add Unique decomposing to common
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Add Unique decomposition transformation into the common part
* Add transformation tests for UniqueDecomposition
* Fix unique_decomposition_test
* Simplify condition of transformation applicability
* Clarify the comment when the transformation is applicable
* Fix transformation test
* Fix transformation test
* Add support of opset10 in IR Reader
* Mark the single element case as xfail
* Fix tensor names in the transformation
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* [TF FE] Refactor Pad, PadV2, MirrorPad and add layer tests
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Recover translators for DynamicStitch
* Apply code-review feedback and workaround for i32 paddings
* Return required type for convert_pad_mode function
* Work around IR reader limitation with i32 type for Pad
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Moved pdpd tests to folder with pdpd frontend
* Restored old requirements.txt for paddle temporarily
* FIxed requirements path for pdpd
* Restore old dependency
* [TF FE] Refactor translators for Select and SelectV2 and test it
It fixes a case when the condition of a smaller rank than operands in Select
Separately added tests for Select and SelectV2
Do not mix-up Select with Where, so tests for Where are moved to test_tf_Where.py
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Revert extra changes
* Apply code-review feedback: support undefined rank
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
Co-authored-by: Andrei Kochin <andrei.kochin@intel.com>
* [TF FE] Refactor translators for Reverse, ReverseV2 and test it
Make these operations reshapeable. Add layer tests for them to the pre-commit
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Apply code-review feedback: simplify checks in Reverse
* Apply the rest of code-review feedback: simplify code for Reverse
* Remove redundant check for axes
* Apply code-review feedback: support dynamic rank
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* support control flow, tensor array
* fix clang error
* support ppdet2.3 model
* 1. code clean; 2. more comments inlined.
* fix after clone ov::Model no more in need.
* support dynamic shape; more comments
* only process same rank
* remove unused function
* simplify the loop logic
* fix review comments
* support shape{1} {}
* disable FoldSubgraphEmptyInputs because loop in loop
* fix review comments
* remove scalar{}->shape{1} testcase
* allow re-infer shape when backedge changes input shape
* fix condition shape to {1}
* support output rank is not same or dynamic
* fix refactor error
* apply review comments
* fix win warnings
* remove TransformEliminateConvert
Co-authored-by: jialipen <cecilia.peng@intel.com>
Co-authored-by: Evgenya Stepyreva <evgenya.stepyreva@intel.com>
* [TF FE] Add translators for IsInf and IsNan and test it
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Add changes in tf_utils
* Apply code-review: add xfail and use of unary op
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Update to the latest cmake for Windows
* Skip new warnings
* Added compiler flags for old cmake
* Disabled some warnings
* Suppress new warnings
* Fixed some errors
* Disable some warning for lpt
* Fix some warnings
* Disable new warnings
* Fix some warnings
* Disabled Was error for arm
* Fixed some errors
* Fixed some new warnings
* Fixed auto plugin
* Fixed Windows warning
* Fixed Windows
* Disable some warnings
* Some changes
* Small test fixes
* Fixed python build
* Added skip warnings for legacy python API
* Added reading of meta information from IR
* Fixed code style
* Added tests to cover multi-threading and removed file
* Fixed asserts
* Changed parsing of meta information
* Added meta information serialization
* Fixed unit tests
* Support unset_cli_parameters
* Changed get meta API
* Fixed threading tests
* Fixed mutex
* Removed serialization
* Fixed tests
* Fixed build
* Add quantization_parameters
* Use rt_info instead of meta section
* Disable old rt_info serialization
* Try to fix MO Reader for new rt info
* Fixed property name
* Added test to new meta format
* Added tests for new PoT config
* Added tests for new rt_info attributes
* Remove redundant code
* Revert old rt_info style for nodes
* Add get API for python
* Added python tests
* Fixed python code style
* Fixed tests code style
* Fix flake8
* Fixed python tests
* Add has_rt_info to test
* Added more comments
* Extended tests and API
* Changed error message
* Use new API to get model version
* Fixed comments on python API
* Fixed comments
* Fixed comments
* Update src/bindings/python/src/pyopenvino/graph/model.cpp
Co-authored-by: Jan Iwaszkiewicz <jan.iwaszkiewicz@intel.com>
* Update src/bindings/python/src/pyopenvino/graph/model.cpp
Co-authored-by: Jan Iwaszkiewicz <jan.iwaszkiewicz@intel.com>
* Fixed comments
* Fixed python check
Co-authored-by: Jan Iwaszkiewicz <jan.iwaszkiewicz@intel.com>
* [TF FE] Refactor translation for Concat and ConcatV2 operations and add tests
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* [TF FE] Correct the layer tests for passing
* Apply code-review feedback: remove redundant function
* Fix a name of function to create Concat model in the layer test
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>