* 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>
* Migrate to PDPD 2.3
* update supported paddle version to 2.3.2
* update paddle test with paddle new static API on 2.3.2
* fix issue of different output shape with paddle's
* fix clang format issue
* fix compiling issue
* integrate paddle static save model api to original save model api
Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
Co-authored-by: Alina Kladieva <alina.kladieva@intel.com>
* [TF FE] Remove export API for helper transformation
Also, it skips layer tests for SegmentSum and DynamicPartition in case legacy frontend
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Split test suites for DynamicPartition
* Update CMake to link additional sources for the tests
* Update Cmake to fix unresolved symbol get_message_prefix_tf
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* [TF FE] Support Unique operation via transformation
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Fix other part: place header for UniqueReplacer and test name
* Remove redundant included headers in the transformation test
* Add one more case in the transformation test
* Implement the right way for mapping tensor names
* Apply code-review: rename out_idx, add check for 1D
* Fix unique_replacer test
* Fix typo in the test
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Add FunctionsComparator CmpValues ACCURACY to the test
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* [TF FE] Support DynamicPartition operation
Add support for DynamicPartition operation and validate it with the layer tests
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Add implementation
* Rescale partition indices to provide stable sorting
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* parent 6e7016ccda
author Ilya Churaev <ilya.churaev@intel.com> 1664281499 +0400
committer Ilya Churaev <ilya.churaev@intel.com> 1664510018 +0400
Fixed warnings on local machine
* Added CMAKE_COMPILE_WARNING_AS_ERROR usage
* Fixed style
* Fixed merge conflicts
* Fixed typo
* Fixed myriad build for macOS
* Fixed warning
* Fixed tests
* Disabled incorrect test
* Try to fix linux tests
* Revert "Try to fix linux tests"
This reverts commit 29224c93ff.
* Fixed tests
* Revert logic with incorrect cast
* Fixed log softmax
* Disable warning as error for cuda
* Try to fix inference_engine_s
* Fixed cmake
* Revert "Fixed cmake"
This reverts commit 87e9e4e674.
* Revert "Try to fix inference_engine_s"
This reverts commit a1adca8b05.
* WA for static symbols in inference_engine_s test library
* Fixed code style
* Fixed static definition for master
* Revert "Fixed static definition for master"
This reverts commit 20d00d215a.
* Revert "Fixed code style"
This reverts commit 0eb2362543.
* Revert "WA for static symbols in inference_engine_s test library"
This reverts commit 75ef86a79d.
* Fixed linker issue for Windows
* Disable WaE by default
* Disable warning as error in the developer package
* Try to fix dev package
* Try to fix Windows Jenkins
* Revert old behavior for tread_warn_as_err variable
* [TF FE] Support DeepSpeech model by TF FE
Add the final part to support BlockLSTM operation with sliced state cell
from the last time step.
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Apply code-review feedback: use get_pattern_map, no nullptr
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* [TF FE] Support GRUBlockCell
Currently, we support only hidden state output from GRUBlockCell due to
OpenVINO GRUCell capability
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Fix code-style issue
* Return Softsign translator
* Add tests for GRUBlockCellReplacer
* Fix issue for bias in GRUBlockCellReplacer
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* [TF FE] Support BlockLSTM operation
Due to restrictions of LSTMSequence, currently we support
only concatenated hidden states from all time steps
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Apply feedback: opset9 use, remove redundant code, preserve tensor name
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Apply feedback: check for dynamic dimension, non-nullptr for decoder use
* Copy run-time info using NodeRegistry
* Prepare test placeholder for internal transformations and operations
Clean-up includes
* Implement unit-tests for BlockLSTMToLSTMSequenceOneOutput transformation
* Apply code-style changes
* Fix computation of hidden_size
* Fix output tensor name
* Revert incorrect changes
* Fix a type of hidden_size in tests
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Added auto-detect for SHUTDOWN_PROTOBUF option
* Hide some helper variables as internal ones
* Update frontends cmake files not to include tests folders
* Added an ability to test private API for TF FE
* Added an ability to test private API for TF FE
* Improved mock frontends in python tests
* Fixed compilation error
* Fixed link on WIndows
Required by external data mechanism in ONNX standard, where Tensor object has
to be able to find external data file based on the location field and model
directory path. Previously, it was done by a transformation, but it handled
initializers only, but in order to handle Constant nodes we need one more
loop, but over all of the model's nodes. Propagating model directory path to
Tensor allows us to reduce that overhead.
Ticket: 91271
* add paddle where_index op
* add more test cases
* add more test cases
* add more test cases and support boolen
* fix clang format
* use paddle.nonzero instead of LayerHelper
* remove opset6
Co-authored-by: Ilya Churaev <ilyachur@gmail.com>
Co-authored-by: cecilia peng <cecilia.peng@intel.com>
Co-authored-by: Ilya Churaev <ilyachur@gmail.com>
* [Frontend, TF FE] Fix RTTI for ConversionExtension on MacOS
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Put only destructor into cpp
* Remove extra white-space
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>