* Add subgraph body comparison
* Avoid confusing function name
* Skip failing snippet test
* Skip some ov_snippets_func_tests
* Derive comparison flags
* Skip snippet test
* Drop on bodies mismatch
---------
Co-authored-by: Michal Lukaszewski <michal.lukaszewski@intel.com>
Co-authored-by: Ivan Tikhonov <ivan.tikhonov@intel.com>
* Add static shape adapter
- Adapters holds CPU dimension which can be reference to it or vector
- Add ov::optional for holding optional result from shape inference
- Add new `infer` function in `IStaticShapeInfer`
* Temporary support of StaticShape
* Minor corrections in ShapeInferenceTA
* Migrate shape_infer to new interface version
* Replace StaticShape by adapter implementation
* Replace IShapeInferCommon by IStaticShapeInfer
* Correct code formatting
* Fix build issues
* NodeValidationFailure::create for StaticShapeRef
* Handle sequence ops with non constant W, R, B inputs
Ticket: CVS-49207
* fix tests
* tests
* fix gna tests
* add include
* change type for seqLenIdx
* rename is_constfoldable to is_on_constant_path
---------
Co-authored-by: Ivan Tikhonov <ivan.tikhonov@intel.com>
* Provided visualization of partial values and labels. Adopted DimensionTracker for better equivalence tracking
* Addressed comments and fixed one test
* Use GroupNormalization in ONNX FE
* Add and enable decomposition transformation
* Add NodeRegistry
* Adjust eps type
* Use Unsqueeze for bias and scale adjustment
* Add transformation tests
* Add Squeeze for bias and scale to ONNX FE
* Simplify get_range helper
* Add cast double to float eps helper
* Adjust reduction axes
* Style alignment
* Add float eps values in tests
* Enable accuracy comparator in transformation tests
* Skip F16 ref test
* Namespace adjustment
* Const ref for shape vec
* Remove nested scopes from transform tests
* Rename function to model in tests
* Add more const to variables
* Use common input shapes and elem type in transform tests
* Add ticket number to the test
* Update tests headers and names
* Use compatible ror rank check
* Use move to insert splits in new shape
* Add docs to cast_eps helper
* Additional test for eps
* Use versions instead of opset
* Include each op separately
* rrn seq base common shape infer init
* Update and add shape infer to all seq rnn based ops
* Use shape_infer in lstm seq core op
* Use shape_infer in rnn seq core op
* Unified shape infer for rnn cell base
* Update and add missing cells shape_infer functions
* Use shpe_infer in rnn_cell
* Update shape_infer map
* shape_infer tests
* Move new shape_infer to TA map
* More tests and shape improvements
* Introduce common base tests
* Fix merge conflict
* Missing setters and default ctor tests
* Use RNNCellBase class instead of template type op
* Update v0 LSTMSequence to use RNNCellBase as parent class
* Style
* V0::LSTMSequence update
* Specify opset in shape infer registry
* Move rank check
* Output vec generation refactor
* Update num_dir_validation
* Tests warining fix
* Test types adjustment
* Commented code cleanup
* Move test helpers to test fixture
* Common default ctor tests for Cell
* Update GRU shape infer tests
* Update LSTM shape infer tests
* Update RNN shape infer tests
* File names update
* Functions renaming
* Cast hidden size in test
* Move v0::LSTMSequence conformance test
---------
Co-authored-by: Pawel Raasz <pawel.raasz@intel.com>
* fix transformations
* clang fix
* fix unit tests - check the both Pad versions
* add unit tests checking negative padding
---------
Co-authored-by: Ivan Tikhonov <ivan.tikhonov@intel.com>
* ResolveNamesCollisions transformation refactoring; enable it in MOC
* fix the description
* call ResolveNamesCollisions transformation in the frontends; resolve review comments
* Resolve review comments
* Rename ngraph with ov in common_test_utils
* Fix comments
* Delete opset includes from commonTestUtils
* Fix CI and code style
* Apply comments
* Fix CI and apply comments
* Added TSForwardBase class and a new transformation to reset no_sinking attribute
* Refactoring
* fix an issue with legacy_output_names
* resolve review comments
* Resolve review comments
* keep Const+DecompressionConvert pattern for CPU
* temporary disabled failing unit-tests
* disable CF by modifying bounds evaluate as well; minor corrections
* added TODOs with ticket numbers
* join const+decompression markings
* minimized convert_precision.cpp changes
* minor corrections
* refactor fp16 transformations: moved into separate fp16_compression folder
* style-fix
* minor fixes
* do not disable evaluate and CF in shape path
* safer disabling of Const conversion
* style-fix and minor corrections
* restore original placement of ConvertPrecision
Fixes an issue when AlignEltwiseInputRanks is applied on FakeQuantize with
scalar as a first input and input/output low/high being Shape{1} constants.
In such case FakeQuantize output is still a scalar, so the difference
between output rank and input/output low/high rank is negative.
Ticket: CVS-112454
For some reason my MSVC gives the following error:
C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.35.32215\include\utility(176,5): error C4996: 'ngraph::SlicePlan::SlicePlan': T
he nGraph API is deprecated and will be removed in the 2024.0 release. For instructions on transitioning to the new API, please refer to https://docs.openv
ino.ai/latest/openvino_2_0_transition_guide.html [C:\Users\vzlobin\r\openvino\build\src\common\transformations\inference_engine_transformations_obj.vcxproj
]
C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.35.32215\include\xmemory(680,47): message : see reference to function 'std::pai
r<std::shared_ptr<ov::op::v1::StridedSlice>,ngraph::SlicePlan>::pair(std::pair<std::shared_ptr<ov::op::v1::StridedSlice>,ngraph::SlicePlan> &&)' [C:\Users\
vzlobin\r\openvino\build\src\common\transformations\inference_engine_transformations_obj.vcxproj]
C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.35.32215\include\utility(175,5): error C4996: 'ngraph::SlicePlan::SlicePlan': T
he nGraph API is deprecated and will be removed in the 2024.0 release. For instructions on transitioning to the new API, please refer to https://docs.openv
ino.ai/latest/openvino_2_0_transition_guide.html [C:\Users\vzlobin\r\openvino\build\src\common\transformations\inference_engine_transformations_obj.vcxproj
]
C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.35.32215\include\xmemory(680,47): message : see reference to function 'std::pai
r<std::shared_ptr<ov::op::v1::StridedSlice>,ngraph::SlicePlan>::pair(const std::pair<std::shared_ptr<ov::op::v1::StridedSlice>,ngraph::SlicePlan> &)' [C:\U
sers\vzlobin\r\openvino\build\src\common\transformations\inference_engine_transformations_obj.vcxproj]
* Mark as deprecated nGraph API
* Fixed code style
* Added IN_OV_LIBRARY define
* Suppress warnings for log
* Suppress warning
* Updated nGraph headers
* Fixed build for macOS
* Fixed lpt and snippets
* Fixed build all on macOS
* Suppress some warnings
* Fixed some new warnings
* Fixed new warnings
* Try to fix some warnings
* More warnings
* Soome change
* Suppress more warnings
* Suppress warnings for transformations
* Suppress warnings for LPT
* One more fix
* Suppress more warnings
* Try to fix opset error
* Remove opset constructor
* Cannot fix opset warning
* Suppress warnings for offline transfromations
* Fixed some warnings for Windows
* Fixed code style
* Suppress some warnings for onnx FE
* Revert "Suppress some warnings for onnx FE"
This reverts commit 75d23b64fc.
* Revert "Fixed code style"
This reverts commit c6eba63116.
* Revert "Fixed some warnings for Windows"
This reverts commit 23d7ed88b6.
* Revert "Suppress warnings for offline transfromations"
This reverts commit 0b9f6317bf.
* Revert "Cannot fix opset warning"
This reverts commit 19ea658639.
* Revert "Remove opset constructor"
This reverts commit 06afb1bc20.
* Revert "Suppress warnings for LPT"
This reverts commit 58b1c0f5a0.
* Revert "Suppress warnings for transformations"
This reverts commit f8bb9814a1.
* Revert "Suppress more warnings"
This reverts commit f9f0da9acb.
* Revert "Soome change"
This reverts commit e545d4984e.
* Remove deprecation for ngraph::OpSet and FactoryRegistry
* enable PaddlePaddle elementwise broadcast
* fix CI fail issue
* Apply suggestions from code review
* fix CI fail issue
* only B to A broadcast is supported for PDPD
* fix GPU plugin testcase fail issue
* keep PDPD broadcast_merge cpu plugin implement align with ov core
* add type prop test case for pdpd broadcast dst shape smaller than src shape
Currently GRUCellFusion treats bias as if it's always in zr order,
which sometimes is not the case. So whenever GRUCellFusion detects rz order,
it should also split bias into r and z and concat the halves into zr.
Ticket: CVS-97025
* Add transformation to convert adaptive pool to reduce
* Update src/common/transformations/src/transformations/common_optimizations/moc_transformations.cpp
* Add tests and apply feedback
* Simplify if branches
* Add to common pipeline
* Remove 3d AdaptivePool with out_shape 1
* Skip test instead of remove
---------
Co-authored-by: Andrei Kochin <andrei.kochin@intel.com>
* Review PriorBox op for shape inference aspects:
- check interval shape and label propagation
- check preserve interval values and labels on inputs
- add template shape_infer function
- add/update test for dynamic and static shape inference
* Update PriorBox evaluate to use ov::Tensor
- remove ngraph namespace form PriorBox where possible
* Review PriorBoxClustered for shape infer aspects
- check interval dimension and label propagation
- check preserve partial values and labels on inputs
- add template implementation of shape_infer
- add/update test for static and dynamic shapes
* Use correct shape for PriorBox transformation test
* PriorBoxClustered evaluate use ov::Tensor
Remove ngraph namespace from op where possible
* Fix compilation issues