* Move transformation and lp transformations tests from IeFuncTests and IeUnitTests
* Enable tests in Azure CI
Co-authored-by: Ilya Churaev <ilya.churaev@intel.com>
DisableConvertConstantFoldingOnConstPath was renamed to MarkDequantizationSubgraph
and modified such that it also marks Subtract and Multiply from dequantization subgraph
with 'DequantizationNode' attribute.
Ticket: 65489
Co-authored-by: Michal Lukaszewski <michal.lukaszewski@intel.com>
* Move GeluFusion into ov namespace
It required to move utils as well.
* Move AddFakeQuantizeFusion into ov namespace
* Move AlignEltwiseInputRanks into ov namespace
* Move BatchToSpaceFusion into ov namespace
* Move BinarizeWeights into ov namespace
* Move BroadcastElementwiseFusion into ov namespace
* Move ClampFusion into ov namespace
* Move Concats and Eliminations into ov namespace
* Move many passes and such into ov namespace
* Move many passes and such into ov namespace
ngraph_ops
op_conversions
* Move control_flow into ov namespace
* Apply style
* Move smart_reshape into ov namespace
* Move opset_conversions into ov namespace
* Move low_precision into ov namespace
* Apply style
* Move fused_names into ov namespace
* Add missing aliases
* Move few passes into ov namespace
ConvertPrecision
FixRtInfo
InitNodeInfo
* Move CommonOptimizations into ov namespace
* Fix convert_precision conflicting namespaces
* Apply code style
* ov-nize Type Relaxed definitions
* Remove useless aliases
bulkly added by script
* Revert opsets
* Address review comments
* Remove NGRAPH_RTTI
* Clean up remains of yet another implicit inclusion
Co-authored-by: Andrei Kochin <andrei.kochin@intel.com>
Co-authored-by: Ivan Tikhonov <ivan.tikhonov@intel.com>
* Single-layer test:
- support both v8 and v9 in shared test;
- add test for GPU.
* Transformation:
- convert both v8 and v9 to internal operation;
- add transformation to GPU pipeline.
* GPU primitive and CreateOp() for MulticlassNMS operation
* kernel stuff
* add unittests
* Added bs_fs_yx_bsv16_fsv32 format
* add int64 support
Co-authored-by: Mykhailo Hnap <mhnap@lohika.com>
* [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>
* Add shape_infer function for GRUCell op
* Add shape_infer function for AUGRUCell
* Consts refactor
* Add batch_size check
* Enable GRUCell shape_infer for CPU
* Style apply
* Use OV_EXPECT_THROW in tests
* Use helper for input shapes
* Use .back() instead of index
* Change rnn_seq namespace to rnn
* Fix win warnings
* Enable AUGRUCell/Sequence shape_infer on CPU
* Fix warn
* Fix warn
* 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>
* 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
* move transformation to common; use opset9; fix Gelu and Softsign operations; misc fixes
* cpplint fixes
* rename DoTransformation; use TransformationTestsF for testing
* test register_new_nodes working by creating multiple unary operations
* fix transformation constraints; add unit test on it
* remove unneeded headers
* remove unneeded comments
* fix tests iteration types
* rename unit test
* parametrized input shape and type
* swap nodes instead of creating new
* transpose can have not just a constant node on the 1-st input
* Update src/tests/functional/inference_engine/transformations/common_optimizations/transpose_sinking_unary.cpp
Co-authored-by: Nadezhda Ageeva <nkogteva@gmail.com>
* Update src/tests/functional/inference_engine/transformations/common_optimizations/transpose_sinking_unary.cpp
Co-authored-by: Nadezhda Ageeva <nkogteva@gmail.com>
* Update src/tests/functional/inference_engine/transformations/common_optimizations/transpose_sinking_unary.cpp
Co-authored-by: Nadezhda Ageeva <nkogteva@gmail.com>
* clang cleanup
* return back nodes swapping; wrote additional unit tests
* add unit tests
* fix unit tests namespace
* add unit tests
* remove debug
* cpplint fixes
* use 2 ways of swapping: nodes and outputs
* clang fixes
* move choise descision into separate function
Co-authored-by: Nadezhda Ageeva <nkogteva@gmail.com>
* SplitConcatElimination transformation
* ov namespace
* fix: add an additional check for split
* Fix lpt tests: added unary op between Split and Concat to avoid elimination
* add additional check in SplitConcatElimination, add new tests
* apply review comments, add detailed description of the special case
* apply review comments
* clean up
* apply review comments
* Apply suggestions from code review
Co-authored-by: Ilya Churaev <ilyachur@gmail.com>
* codestyle
Co-authored-by: Ilya Churaev <ilyachur@gmail.com>
* add static_output attribute to enable GPU implementation of GenerateProposals.
This change may be reverted when dynamic shapes support will be implemented
in GPU plugin.
* - add GPU single layer test;
- add normalized attribute to SLT.
* add GPU primitive for GenerateProposals
* add kernel for GenerateProposals
* add unit test for GenerateProposals
* add blocked layouts support
* tidy up
* support blocked layouts also for 2nd and 3d outputs
* Transformation to deal with dynamic output in GPU
- revert changes in GenerateProposals interface and shape inferenece;
- add transformation;
- custom compare method in single-layer test.
* address review comments
* fix after rebase
* fix after rebase
* review comment: added nms_eta to testcase name generation
* - added input types combination to functional tests;
- fix float16 comparison.
* fix after rebase
* use vector for input ids
* fix after rebase
* 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
Add test
Update src/common/transformations/include/transformations/common_optimizations/fused_names_cleanup.hpp
Co-authored-by: Ivan Tikhonov <ivan.tikhonov@intel.com>
Review comments
Cleanup test includes
* SequenceFusion transformation and tests
* Enable SequenceFusion transformation in MOC
* add missed includes
* fix type
* fix build, apply review comments
* fix build
* fix build
* fix build again
* use ov namespace in has_result_consumers function
* fix win build
* try to fix win build
* investigate issue on win platform
* investigate issue on win platform
* investigate issue on win
* issue on win platform
* remove the transformation from MOC
* fix LSTMCell fusion, simplify transformation implementation, fix copying tensor and friendly names
* clean up
* add support for LSTMCell v0, resolve review comments, enable additional tests
* [MO, Common] Fix SplitConcatPairToInterpolateFusion transformation
It fixes a case when Split go with disconnected output port.
For this case, this transformation must not be applied.
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Fix grammar mistake in the comment
* Remove ref_function from the test
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Change debug informaiton format from Z7 to Zi for transformation library. Temporary workaround for LNK1248: image size (1004722F6) exceeds maximum allowable size (FFFFFFFF)
* add WIN32 check
* GRUCell fusion transformation and tests
* Enable GRUCell fusion transformation in MOC
* add missed include
* add missed include again
* fix warning in the tests
* Apply review comments
* Use NodeRegistry in GRUCellFusion transformation, apply review comments
* Add support for both formats zrh and rzh
* move additional checks to pattern, remove the transformation from MOC
* fix conflict with master branch
* apply review comments
* Update src/tests/functional/inference_engine/transformations/common_optimizations/gru_cell_fusion.cpp
Co-authored-by: Ilya Churaev <ilyachur@gmail.com>
* fix warning
Co-authored-by: Ilya Churaev <ilyachur@gmail.com>
StridesOptimization propagates strides attributes up the graph.
This attribute is kept in Input<Node> runtime info.
There is a case in CUDA plugin, where StridesOptimization is called
twice and if strides attribute is kept in node's runtime info,
the second run of this transformation tries to propagate strides
once again which can result in shape inference failure.
* Refactor eye decomposition:
- match style of other transformations
- add NodeRegister class to make and collect created nodes
- use `NodeRegister` in transformation for copy runtime info
- use `NodeRegister` in `MatcherPass` to replace new `register_new_node`
* Fix CI LTO optimization issue for Ubuntu 20
* Move NodeRegister to dev API
To fix LTO issue for eye decomposition
* Change NodeRegister to NodeRegistry
* Move NodeRegistry to openvino/pass
* Remove NodeRegistry from public API
* Add eye decomposition transformation
* Fix EyeLike generation when diagonal shift
outside dimensions
* Add batch shape to eye decomposition
* Eye decomposition clean-up
* Remove reference part if no eye decompose in
decomposition tests
* Eye-Like use eye operator
* Disable eye decomposition for CPU plugin
* Use opset9 instead of ops in eye decomposition
* Apply transformations header style
to eye_decomposition.hpp
* Add model reference in eye decomposition tests
- use opset9 instead of ov::op:vX namespace
* Refactor eye decomposition:
- match style of other transformations
- add NodeRegister class to make and collect created nodes
- use `NodeRegister` in transformation for copy runtime info
- use `NodeRegister` in `MatcherPass` to replace new `register_new_node`
* Fix CI LTO optimization issue for Ubuntu 20
* Move NodeRegister to dev API
To fix LTO issue for eye decomposition
* Change NodeRegister to NodeRegistry
* Add eye decomposition transformation
* Fix EyeLike generation when diagonal shift
outside dimensions
* Add batch shape to eye decomposition
* Eye decomposition clean-up
* Remove reference part if no eye decompose in
decomposition tests
* Eye-Like use eye operator
* Disable eye decomposition for CPU plugin
* Use opset9 instead of ops in eye decomposition
* Apply transformations header style
to eye_decomposition.hpp
* Add model reference in eye decomposition tests
- use opset9 instead of ov::op:vX namespace
* Refactor eye decomposition:
- match style of other transformations
- add NodeRegister class to make and collect created nodes
- use `NodeRegister` in transformation for copy runtime info
- use `NodeRegister` in `MatcherPass` to replace new `register_new_node`
* Fix CI LTO optimization issue for Ubuntu 20
* CVS-89672 Make model reshape and track batch
* Minor refactoring
* Changed mechanism of constant replacement to more mature
* Update src/common/transformations/include/transformations/smart_reshape/lstm_states_broadcast.hpp
* Update src/common/transformations/src/transformations/smart_reshape/lstm_states_broadcast.cpp
* Add eye decomposition transformation
* Fix EyeLike generation when diagonal shift
outside dimensions
* Add batch shape to eye decomposition
* Eye decomposition clean-up
* Remove reference part if no eye decompose in
decomposition tests
* Eye-Like use eye operator
* Disable eye decomposition for CPU plugin
* Use opset9 instead of ops in eye decomposition
* Apply transformations header style
to eye_decomposition.hpp
* Add model reference in eye decomposition tests
- use opset9 instead of ov::op:vX namespace
* Refactor eye decomposition:
- match style of other transformations
- add NodeRegister class to make and collect created nodes
- use `NodeRegister` in transformation for copy runtime info
- use `NodeRegister` in `MatcherPass` to replace new `register_new_node`