* Resolve tensor sharing issue when there are same name output port name
In some case, model has 2 or more same name input/output ports, they aslo have the same
precision and partial_shape. Compiled_model will share the same ov::Descriptor::Tensor pointer
and ov::Tensor between multiple such ports.
Considered solving python segment fault issue to create seperated input/output ports, which also
need handle such tensor shared case, this patch will do it.
* Better method to find shrared tensor desc
* Use port's tensor_ptr to replace creating new tensor_ptr
* Add auto pad attribute support for conv
* Fix to let concat onednn impl check can_be_optimized in impl_param instead of that in node
* Apply auto padding to kernel param for conv ocl impl
* conv shape agnostic kernel is not selected if conv is not explicit padding
* Fix failed TCs for ov_gpu_unit_tests
Signed-off-by: Andrew Park <andrew.park@intel.com>
---------
Signed-off-by: Andrew Park <andrew.park@intel.com>
* enabled MVN SLT tests on ARM
* moved nhwc to common section
* exclude normalizeVariance=true from x64
* fixed comments
* add NCHW+acrossChannels = false test case
* Add comment about unsupported case
* fixed 5d layout in Mvn5D_noAcrossChannels
* MvnLayerCPUTest::isSupportedTestCase() added
* init
* moved NHWC to common section
* experiment to support dynamic shapes in reduce transformation
* support dynamic shapes
* axes sorting fix in reduce transformations
* Introduce ov::element visitor
* Example usage visitor in shape infer tools
* Example usage of visitor in unsqueeze evaluate
* Example usage of visitor in Round evaluate
* Example usage of visitor in Unique evaluate
* Refactor element visitor
- Use visitor in tanh and tan operators
* Fix enable_if for MSVC compiler
* Update comments in element visitor
* Move test to the core
* Corrects typos
* Apply code style
* prim::TupleUnpack and prim::ListUnpack removing transformation in PT FE to flatten input list and tuples
* Enabled tuples and lists as items in example_inputs
* Applied code style
* Added tests for tuples as inputs and extended test infrastructure to support it
* Negligible performance optimizations
Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Fixed duplicated names of test classes
* Added description for tuple flattening transformation
* Removed any support for list flattening on inputs; fixed layer tests
* Fixed style
* Fixed order of new Parameters and Results while flattening tuples
* Fixed style
* Better diagnostics when not all prim::TupleUnpack ops after Parameters are decomposed
* Small fix in diagnostics message
---------
Co-authored-by: Ekaterina Aidova <ekaterina.aidova@intel.com>
Co-authored-by: Andrei Kochin <andrei.kochin@intel.com>
Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
Co-authored-by: Alina Kladieva <alina.kladieva@intel.com>
* skip fuse_quantize_f if input or output layout is dynamic
* Update condition of can_fuse_reorder_to_prev for concat in shapeof subgraph
* skip concat_in_place_optimization if concat is shape of subgraph
Signed-off-by: Andrew Park <andrew.park@intel.com>
* Add reorder if eltwise is shapeof subgraph and data type between input and output is different
* Skip reorder optimization if reorder has dynamic shape on remove_redundant_reorders
* Add reproducible TCs for ov_gpu_unit_tests
---------
Signed-off-by: Andrew Park <andrew.park@intel.com>
* Fix python segmentfault issue of plugin api 2.0
* Fix onnx_duplicated_output_name due to empty tensor
Co-authored-by: Bell, Song <bell.song@intel.com>
* Remove redundant code
* Keep rt_info to fix test failure in case of legacy public api
* Not to set_name for new port
---------
Co-authored-by: Bell, Song <bell.song@intel.com>
* ScatterElementsUpdate-12 init
* Update doc structure with ScatterElementsUpdate-12
* Update Operations_specifications.md
* Typos
* Update descriptions
* Add info about indices normalization
* Add info about negative axis normalization
* Add info about boolean type
* Missing coma and typo
* More examples and reduction descriptions
* Rename reduction "copy" to "none"
* Add more examples with values
* Mean mode and types clarification
* 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>
* enable memory reuse for dynamic models
* updated to return dependant events for the shape_of primitive
* fixed memory_pool.release_memory()
* fixed a lint error
* fixed missing default value
* updated to use reset flag for dynamic models
* changed to use is_dynamic_output_layout instead of is_dynamic
* updated to use get_internal_params instread of buffer_ptr
* added a memory reuse test for dynamic models
* [PyOV] Expose api to Model class
* assign op
* Update src/bindings/python/src/pyopenvino/graph/ops/assign.cpp
* add remove_ methids
* improve test
* codestyle
* assign operation
* codestyle
* test size
---------
Co-authored-by: Michal Lukaszewski <michal.lukaszewski@intel.com>
* Added ovc to PYTHONPATH for MO unit tests.
* Small correction.
* Corrected PYTHONPATH for legacy FE layer tests.
* Corrected PYTHONPATH for TFL FE layer tests.
* Fix the multible multiply case.
* Add test case.
* Fix CI issues.
* Fix the dynamic shape FC kernel creating issue.
* Expose FC weight with original linear layout to CPU graph.
* Apply review comments.
* Apply review comments.
* Applied review comments.