* 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`
* [TF FE] Refactor translators for Resize operations and correct Pooling
It allows to convert magenta_arbitrary-image-stylization model
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Align TF FE tranlator for Resize with legacy frontend
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Do minor fix for MaxPool
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Add overrided method to generating vector of strings
* Trim the value from the the left and right
* Add test to verify that output names are correctly read from IR
* Use spaces instead of tabs
* Add C++ tests for read model contains outputs with whitespaces
* Fix test for add output
* Remove python test
* Warning suppression for C-API.
Signed-off-by: Yan, Xiping <xiping.yan@intel.com>
* Add compiler flags for CI verification.
Signed-off-by: Yan, Xiping <xiping.yan@intel.com>
* Update parent cmake compiler flag, and make it work for total bindings folder.
Signed-off-by: Yan, Xiping <xiping.yan@intel.com>
* Open compiler check.
Move "sign-compare" to below, and make it only work for bindings. Because plugins have many compare errors.
Signed-off-by: Yan, Xiping <xiping.yan@intel.com>
* Remove sign-compare.
Signed-off-by: Yan, Xiping <xiping.yan@intel.com>
Signed-off-by: Yan, Xiping <xiping.yan@intel.com>
Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
* Support a branch without masks in matmul
* Init transpose mask propagation
* Transpose mask propagation + tests
* Unsqueeze mask propagation support / Fix reshape unsqueeze
* Init Matmul batch dims mask propagation support
* Matmul batch dims mask propagation support
* Broadcasted elementwise support
* Unsuccessfull attempt to remove masks from unit dims in eltwise
* Stricted way to pass broadcasted dims through elementwise
* Refactor reshape
* ReshapedPassThrough propagation
* Hack to enable matmul mask propagation up from right branch to left
* Make ReshapePassThrough common (tests are needed)
* Hacks to enable Bert int8 pruning
* Not reshapeable and big pattern for ReshapedElementwise operation version of transformer pruning
* Reshape shape subgraph support
* Init shrink reshape mask propataion support
* Init reshape shrink mask propagation
* Shrink extend reshape mask propagation suport init
* Complex reshape test
* Duplicated code removed
* Fix accuracy check tests
* Fix rebase
* Fix broadcasted elementwise / update tests
* Fix types
* Remove redundant methods from Mask
* Fix transpose propagation in Matmul mask initialization
* Migrate to CoordinateTransformer
* Add comments
* Fix types
* Make elementwise inputs deterministic
* Fix tests
* Refactor shape size collecting
* Fix rebase
* Fix comments
* Fix comments
* Test MatMul with two outputs is added
* Mask methods comments was added / get_constant_from_node test
* [TF FE] Add dynamic rank support for Convolutional and Pooling operations
Refactor DepthwiseConv2D, AvgPool, and FusedBatchNorm operations
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Fix build issue with rvalue
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Fix build issue with climit
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Skip duplication of Parameter nodes
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Revert changes in StridedSlice and add check for AvgPool operation type
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Revert the rest of changes for StridedSlice
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Fix translator for AvgPool: add pad mode
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Introduce helper default_op_checks
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* [TF FE] Add Transpose Sinking for additional unary-wise Operations
It helps to fix performance degradation for MobileNet models
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Add LogicalNot for Transpose sinking
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* checking config priorities is set by checking if the value of priorities is empty instead of not founding in the config map.
Signed-off-by: Wang, Yang <yang4.wang@intel.com>
* add test case for MULTI without setting device priority.
Signed-off-by: Wang, Yang <yang4.wang@intel.com>
Signed-off-by: Wang, Yang <yang4.wang@intel.com>
* Created dedicated debian packages for frontends
* Fixed Azure CI
* Install TF FE with both names
* Disabled 2 QN tests
* Install python samples differently
* Fix openvino_contrib version
* [linux_arm64] Fix openvino contrib version
* [linux_debian] Fix openvino contrib version
* Azure: Try to take into account result of previous step as well
* Removed excess contrib var
* Disable CUDA plugin build via cmake flags
Co-authored-by: Alina Kladieva <alina.kladieva@intel.com>
* Fix openvino_contrib version
* [linux_arm64] Fix openvino contrib version
* [linux_debian] Fix openvino contrib version
* Disable CUDA plugin build via cmake flags
* add value verificatioin for the key ov::device::priorities and corresponding test case.
Signed-off-by: Wang, Yang <yang4.wang@intel.com>
* Update.
Signed-off-by: Wang, Yang <yang4.wang@intel.com>
* Retrieve the device name via the DeviceIDParser rather than via the priorities directly.
Signed-off-by: Wang, Yang <yang4.wang@intel.com>
* Add logic to support devices like CPU(x),GPU(x).
Signed-off-by: Wang, Yang <yang4.wang@intel.com>
* Update.
Signed-off-by: Wang, Yang <yang4.wang@intel.com>
* Update.
Signed-off-by: Wang, Yang <yang4.wang@intel.com>
* Add 'mock' as a available device name when checking if ov::device::priorities is correct.
Signed-off-by: Wang, Yang <yang4.wang@intel.com>
* Update.
Signed-off-by: Wang, Yang <yang4.wang@intel.com>
* Update.
Signed-off-by: Wang, Yang <yang4.wang@intel.com>
* Update.
Signed-off-by: Wang, Yang <yang4.wang@intel.com>
* Update format.
Signed-off-by: Wang, Yang <yang4.wang@intel.com>
* do not check if priorities is available when value of priorigies is empty.
Signed-off-by: Wang, Yang <yang4.wang@intel.com>
* Update.
Signed-off-by: Wang, Yang <yang4.wang@intel.com>
Signed-off-by: Wang, Yang <yang4.wang@intel.com>
Co-authored-by: Chen Peter <peter.chen@intel.com>
* implement can_memory_reuse flag
* apply the option to reduce opt kernel
* add reduce opt kernel for the option
* apply feedback
* consider when user->selected_impl() = nullptr
* apply recursive function to check optimized user
* support blocked format for broadcast
* remove redundant reorders and reshape so broadcast selects blocked format
* implement broadcast ngraph reference and added blocked format test cases with values bigger than block size
* fix cpplint error
* fix cpplint error 2
* review comments applied
* review comments applied: cleaner GetInputBlockND function
* change from program_helpers::are_layouts_identical() to layout::compatible()
* change from layout::compatible() to layout::identical()
* [TF FE] Implement translators for ExtractImagePatches and MatrixDiag
It allows to convert Inpaint model and infer it correctly
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Apply code-review feedback: correct comments, use set
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
* Apply suggestions from code review
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>