This PR introduces next changes:
1. Transformations *_tbl.hpp files were replaced with direct registration in cpp files.
2. Plugins use pass::Manager to call conversion passes.
3. Transformations callback was moved to PassBase class as there is no more need to keep it in separate class
4. All pattern based transformations must be inherited from MatcherPass class. GraphRewrite class will be used only for matchers registration and execution on function.
MatcherPass class adds new features to pattern-based transformations approach:
* Allows to run matcher pass on a single node.
* Operations that were created inside transformation callback can be added to execution list to be available for pattern matching within single GraphRewrite.
5. GraphRewrite MatchClosure was replaced with MatcherPass. So all matchers will be registered as a MatcherPass.
6. Added pass::Manager::clear_state() method to avoid dependency with nodes that no longer belongs to function after replacement.
7. Some representative transformations were updated to use MatcherPass as an example.
8. Mul->Add sequence fusion transformation was replaced with LinOpSequenceFusion.
9. Pattern and callback registration code was moved to class c-tors (will be finished for remaining passes in other PR) .
10. Updated pass::Manager to get pass names only when NGRAPH_PROFILE_PASS_ENABLE enabled.
11. Moving towards removing PassProperty.
12. Added ngraph::pattern::wrap_type<T>(inputs, pred) to simplify pattern creation.
13. GraphRewrite was updated to execute MatcherPass more efficient.
* Implementation of Resize-11
* Added support to sizes input
* Add tests to sizes input
* Added missing comment
* fixed tests
* fixed tests
* Fixed test. part 2.
* review remaks. part 1.
* review remarks. part 2.
Co-authored-by: Tomasz Socha <tomasz.socha@intel.com>
* Added more tests
Co-authored-by: Tomasz Socha <tomasz.socha@intel.com>
* Network serializer for v7 is removed
* Fixed compilation
* Fixed Windows build
* WA for GPU
* Create function 2 times
* Fixed compilation
* Added return
* [Stress] Redesigned MemCheckTests: 1. Added MemCheckPipeline to incapsulate measures and logging. 2. Moved references to array
* [Stress] Added tracking of THREADS in MemCheckTests
* [IE][VPU]: Moves UpgradeNMS4ToNMSDynamic transformation into myriad plugin
* [IE][VPU]: Moves UpgradeNMS4ToNMSDynamic from common to vpu folder
* [IE][VPU]: Moves Dynamic NMS from common folder to vpu
* [VPU]: Makes NMS conversion unconditional
* [VPU][NGraph]: Changes dynamic NMS base class from v3 to v4
* [VPU]: Moves NMS4toDynamic transformation before common optimization
* Try fix parsing error.
* Small exception refinements during importing model.
* More exception refinements.
* Skip segfaulting tests.
* More clear error types and messages. Func rename.
* Fix typo.
* Check on CI whether test_onnx will work.
* Add only those file which pass tests or have failing ones skipped.
* Extend nGraph for operation CTCLoss
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Fixes as per comments
Co-authored-by: Nikolay Shchegolev <nikolay.shchegolev@intel.com>