Commit Graph

14712 Commits

Author SHA1 Message Date
Przemyslaw Wysocki d0c20f7714
Update GFI template and docs with information about linking PRs to issues (#23409)
### Details:
- PRs addressing GFIs are getting difficult to track, this PR aims to
increase the community's awareness about this GitHub feature.
- The change to GFI template will also be introduced to GFI templates in
`openvino_contrib`, `openvino.genai` and `nncf`.
 - An additional reminder has been added to the GFI board:

![image](https://github.com/openvinotoolkit/openvino/assets/55858107/571dc53c-acd4-4181-909b-87fc995a95f1)


### Tickets:
 - N/A
2024-03-12 21:55:21 +00:00
Monal Singh ad584f5bef
Adding ADDV2 operation for complex numbers (#23178)
### Details:
- *Extended loader ADDV2 by propagating ComplexTypeMark from input to
output and to represent output complex type tensor as a floating-point
type tensor with an auxiliary dimension that concatenates real and
imaginary parts of complex tensor.*
 - *Performed addition for complex numbers.*
- *Wrapped the complex result with ComplexTypeMark and returned the
result*


Fixes #22946

---------

Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
2024-03-12 21:51:40 +00:00
Luca Tam 81e236f51e
[TF FE] Supported complex tensors for Size operations (#23357)
### Details:
 - Added support for complex tensors and tests for it.

### Tickets:
 - #23244

---------

Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
2024-03-12 21:49:24 +00:00
Chen Peter c1564dd90d
Build AUTO when CPU/GPU changes (#23415)
since AUTO is the default configuration for release
### Tickets:
 - *CVS-128897*

Signed-off-by: Peter Chen <peter.chen@intel.com>
2024-03-12 21:44:25 +00:00
Andrii Staikov d81c97ffef
[Transformations] Make ov::ModelPass transformations execute recursively (#23058)
[Transformations] Make ov::ModelPass transformations execute recursively

### Details:
Some ov::ModelPass transformations lack recursive execution for
subgraphs leaving it not processed.
Add the required recursive call for MultiSubGraphOp operations.

### Tickets:
Ticket: CVS-116659

Signed-off-by: Andrii Staikov <andrii.staikov@intel.com>

Signed-off-by: Andrii Staikov <andrii.staikov@intel.com>
2024-03-12 20:15:28 +00:00
Chen Peter 461a1382cb
CAPI requires GPU plugin (#23414)
### Details:
 - *Add GPU build for CAPI RemoteContext tests*

### Tickets:
 - *CVS-129332*

Signed-off-by: Peter Chen <peter.chen@intel.com>
2024-03-12 17:35:51 +00:00
Tatiana Savina a620688613
[DOCS] Fix llms article format (#23422)
### Details:
 - *item1*
 - *...*

### Tickets:
 - *ticket-id*
2024-03-12 16:54:05 +00:00
Andrzej Kopytko 33e821eb25
DOCS Updated configs to remove canonical from master (#23412)
### Details:
 - *item1*
 - *...*

### Tickets:
 - *ticket-id*
2024-03-12 16:37:54 +00:00
Roman Kazantsev 5d9c59560b
[TF FE] Test RaggedTensorToTensor for rowids format and Equal for string tensors (#23410)
**Details:** Test RaggedTensorToTensor for rowids format and Equal for
string tensors. Needs to be merged after
https://github.com/openvinotoolkit/openvino_tokenizers/pull/70

**Tickets:** TBD

---------

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2024-03-12 21:35:18 +04:00
Sebastian Golebiewski dec89c01d2
[DOCS] Fix face-detection-retail-0004 reference (#23417)
Fixing reference to an OMZ model.
2024-03-12 15:31:02 +00:00
Sebastian Golebiewski 99ce7c045a
[DOCS] Fixing formatting and reference issues (#23405)
Fixing formatting and reference issues in docs.

Porting: https://github.com/openvinotoolkit/openvino/pull/23333

Fixing directives for linking and cross-reference.

Porting: https://github.com/openvinotoolkit/openvino/pull/23300
2024-03-12 13:41:37 +00:00
Maciej Smyk 0a1b724ed4
[DOCS] Rename of operations-specifications section for master (#23404)
Port from https://github.com/openvinotoolkit/openvino/pull/23198

Renamed "operations-specifications" file to "operation-specs".
2024-03-12 11:33:00 +00:00
Damian Kurek ebde6c817b
[GPU] Implement bias on internal FC op (#23317)
Added bias semantics support for internal FC op

### Details:
 - Added bias semantics support for internal FC op
2024-03-12 11:16:41 +00:00
Sebastian Golebiewski 6c55b70455
[DOCS] Update distribution comparison table (#23398)
Updating distribution comparison table.

Porting: 
https://github.com/openvinotoolkit/openvino/pull/23271
https://github.com/openvinotoolkit/openvino/pull/23277
2024-03-12 10:44:19 +00:00
Karol Blaszczak 3b05b581de
[DOCS] port 2024 benchmarks to master (#23402)
Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>
Signed-off-by: Andrew Park <andrew.park@intel.com>
Signed-off-by: hyunback <hyunback.kim@intel.com>
Signed-off-by: Min, Byungil <byungil.min@intel.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Andrzej Kopytko <andrzejx.kopytko@intel.com>
Co-authored-by: HyungKi Jeong <68764729+testdrive-profiling-master@users.noreply.github.com>
Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
Co-authored-by: Georgy Krivoruchko <georgy.krivoruchko@intel.com>
Co-authored-by: Tomasz Jankowski <tomasz1.jankowski@intel.com>
Co-authored-by: Andrei Kashchikhin <andrey.kashchikhin@intel.com>
Co-authored-by: River Li <river.li@intel.com>
Co-authored-by: Pavel Durandin <pavel.durandin@intel.com>
Co-authored-by: Maxim Vafin <maxim.vafin@intel.com>
Co-authored-by: Fang Xu <fang.xu@intel.com>
Co-authored-by: Chen Peter <peter.chen@intel.com>
Co-authored-by: Luwei Zhou <luwei.zhou@intel.com>
Co-authored-by: cecilia peng <cecilia.peng@intel.com>
Co-authored-by: Maksim Kutakov <maxim.kutakov@gmail.com>
Co-authored-by: Mateusz Mikolajczyk <mateusz.mikolajczyk@intel.com>
Co-authored-by: Mateusz Tabaka <mateusz.tabaka@intel.com>
Co-authored-by: Daniil Lyakhov <daniil.lyakhov@intel.com>
Co-authored-by: Katarzyna Mitrus <katarzyna.mitrus@intel.com>
Co-authored-by: Anastasia Kuporosova <anastasia.kuporosova@intel.com>
Co-authored-by: Vishniakov Nikolai <nikolai.vishniakov@intel.com>
Co-authored-by: Jorge Ragde <ragdejorge@gmail.com>
Co-authored-by: Vitaliy Urusovskij <vitaliy.urusovskij@intel.com>
Co-authored-by: Oleg Pipikin <oleg.pipikin@intel.com>
Co-authored-by: Alina Kladieva <alina.kladieva@intel.com>
Co-authored-by: Egor Duplenskii <egor.duplensky@gmail.com>
Co-authored-by: Raasz, Pawel <pawel.raasz@intel.com>
Co-authored-by: Xiping Yan <xiping.yan@intel.com>
Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
Co-authored-by: Xuejun Zhai <xuejun.zhai@intel.com>
Co-authored-by: Andrew Kwangwoong Park <andrew.park@intel.com>
Co-authored-by: Luo Cheng <cheng.luo@intel.com>
Co-authored-by: Zhang Yi <yi3.zhang@intel.com>
Co-authored-by: Sun Xiaoxia <xiaoxia.sun@intel.com>
Co-authored-by: Mikhail Ryzhov <mikhail.ryzhov@intel.com>
Co-authored-by: Sergey Shlyapnikov <sergey.shlyapnikov@intel.com>
Co-authored-by: Taylor Yeonbok Lee <taylor.lee@intel.com>
Co-authored-by: Maciej Smyk <maciejx.smyk@intel.com>
Co-authored-by: Evgeny Kotov <evgeny.kotov@intel.com>
Co-authored-by: Ivan Tikhonov <ivan.tikhonov@intel.com>
Co-authored-by: Xiuchuan Zhai <xiuchuan.zhai@intel.com>
Co-authored-by: Jade Cho <jade.cho@intel.com>
Co-authored-by: hyunback kim <hyunback.kim@intel.com>
Co-authored-by: Wilson Seok <wilson.seok@intel.com>
Co-authored-by: Maksim Kutakov <maksim.kutakov@intel.com>
Co-authored-by: Vladislav Golubev <vladislav.golubev@intel.com>
Co-authored-by: Min, Byungil <byungil.min@intel.com>
Co-authored-by: Tingqian Li <tingqian.li@intel.com>
Co-authored-by: Evgenya Nugmanova <evgeniia.nugmanova@intel.com>
Co-authored-by: Anastasiia Pnevskaia <anastasiia.pnevskaia@intel.com>
Co-authored-by: Edward Shogulin <edward.shogulin@intel.com>
Co-authored-by: Irina Efode <irina.efode@intel.com>
Co-authored-by: Ekaterina Aidova <ekaterina.aidova@intel.com>
Co-authored-by: Eddy Kim <eddy.kim@intel.com>
Co-authored-by: Kelvin Choi <kelvin.choi@intel.com>
Co-authored-by: Steve Yoo <steve.yoo@intel.com>
Co-authored-by: Roman Lyamin <Roman.Lyamin@intel.com>
Co-authored-by: David Nam <david.nam@intel.com>
Co-authored-by: Alexandra Sidorova <alexandra.sidorova@intel.com>
Co-authored-by: Yury Gaydaychuk <yury.gaydaychuk@intel.com>
Co-authored-by: Denis Orlov <denis.orlov@intel.com>
Co-authored-by: Sergey Lyalin <sergey.lyalin@intel.com>
Co-authored-by: Alexander Kozlov <alexander.kozlov@intel.com>
Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>
Co-authored-by: Zlobin Vladimir <vladimir.zlobin@intel.com>
Co-authored-by: Mingyu Kim <mingyu.kim@intel.com>
Co-authored-by: Sebastian Golebiewski <sebastianx.golebiewski@intel.com>
Co-authored-by: Jan Iwaszkiewicz <jan.iwaszkiewicz@intel.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nikolay Shchegolev <nikolay.shchegolev@intel.com>
Co-authored-by: Piotr Kowalczyk <piotr.kowalczyk@intel.com>
Co-authored-by: Michal Lukaszewski <michal.lukaszewski@intel.com>
Co-authored-by: Surya Siddharth Pemmaraju <surya.siddharth.pemmaraju@intel.com>
Co-authored-by: ynimmaga <yamini.nimmagadda@intel.com>
Co-authored-by: Sofya Balandina <sofya.balandina@intel.com>
Co-authored-by: Nesterov Alexander <alexander.nesterov@intel.com>
Co-authored-by: Evgeny Talanin <evgeny.talanin@intel.com>
Co-authored-by: Piotr Krzemiński <piotr.krzeminski@intel.com>
Co-authored-by: Gorokhov Dmitriy <dmitry.gorokhov@intel.com>
Co-authored-by: Pavel Esir <pavel.esir@intel.com>
Co-authored-by: Łukasz Mielicki <lukasz.mielicki@intel.com>
Co-authored-by: Vladimir Paramuzov <vladimir.paramuzov@intel.com>
Co-authored-by: Jacek Pawlak <jacek.pawlak@intel.com>
Co-authored-by: tadamczx <156996781+tadamczx@users.noreply.github.com>
Co-authored-by: Andrey Babushkin <andrey.babushkin@intel.com>
Co-authored-by: Alexander Suvorov <alexander.suvorov@intel.com>
2024-03-12 10:21:32 +00:00
Karol Blaszczak 9427196bcf
[DOCS] port selector tool to master (#23399)
port: 
https://github.com/openvinotoolkit/openvino/pull/23246
https://github.com/openvinotoolkit/openvino/pull/23260

---------

Co-authored-by: Alexander Suvorov <alexander.suvorov@intel.com>
2024-03-12 10:13:44 +00:00
Sebastian Golebiewski 21bf6ab80b
[DOCS] Add Node.js docs to API for master (#23195)
Adding docs for OpenVINO Node.JS API.
Porting: https://github.com/openvinotoolkit/openvino/pull/23189
2024-03-12 08:03:02 +00:00
Andrei Kashchikhin 8c58b05c01
[CI] [GHA] Do not use `sccache` in the Coverity workflow (#23377)
### Details:
- It turned out that the `sccache` tool interfered with the Coverity
scans making it report 0 issues. This PR disables the caching
functionality in the Coverity workflow.
- It was tested using this run:
https://github.com/openvinotoolkit/openvino/actions/runs/8204259038 and
viewing on the Coverity platform.

### Tickets:
 - *134999*
2024-03-12 07:28:05 +00:00
Steve Yoo 15921ea1e0
[GPU] Defer updating memory of reshape after execution if it is static-shaped and its input memory is null (#22845)
### Details:
 - *Added a condition to defer reshape memory update*
- *If the reshape is static shaped and has null dep memory, its memory
update will be deferred*

### Tickets:
 - *125236*
2024-03-12 03:04:47 +00:00
Mateusz Tabaka f8d071002b
Fix convert_to_supported_precision for TypeRelaxed types (#23143)
If TypeRelaxed's origin input type is undefined let's temporarily
override it with original input precision attribute value. During
ConstantFolding, some nodes can have temporarily mismatched input types
(e.g. Add(f16, f32)). If the node is TypeRelaxed - we're unable to clone
it since TypeRelaxed::clone_with_new_inputs creates a clone with 'fake'
inputs based on current inputs and that can trigger an exception for
certain nodes if the inputs have mismatched types.

Ticket: CVS-134604
2024-03-11 17:48:04 +00:00
tadamczx a3c7e15860
[DOCS] Docs file structure update with fixes (#23343)
- Updated paths in an entire documentation,
- updated scripts used in docs building process,
- updated docs cmake to handle new scripts,
- fixed links,
- fixed other errors found in docs.

---------

Co-authored-by: Maciej Smyk <maciejx.smyk@intel.com>
Co-authored-by: Sebastian Golebiewski <sebastianx.golebiewski@intel.com>
Co-authored-by: Karol Blaszczak <karol.blaszczak@intel.com>
Co-authored-by: Andrzej Kopytko <andrzejx.kopytko@intel.com>
Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>
Co-authored-by: Vishniakov Nikolai <nikolai.vishniakov@intel.com>
2024-03-11 17:05:58 +00:00
Wilson Seok a78d9148ca
[GPU] Fix CreateStridedSliceOp() not to use fixed Rank 4 reshape for new_shape_infer case (#23319)
### Details:
- Fix CreateStridedSliceOp() not to use fixed Rank 4 reshape for
new_shape_infer case
 - Add a func test case
 - Fix debug log in condition

### Tickets:
 - 130775
2024-03-11 10:06:17 +00:00
Egor Duplenskii baf1c9d346
[CPU] Reduce overhead of the executor storage (#23307)
By using a vector instead of a map.
To reduce an overhead of selecting an executor.
Since we know the exact mapping beforehand (by implementation Id): every
executor corresponds to
a particular implementation.
2024-03-11 06:17:41 +00:00
Vitaliy Urusovskij 5b7d7c87a8
Get rid of `ov_models` (#23084) 2024-03-10 20:25:20 +00:00
Edward Shogulin e0472dd70b
[CPU] [ARM64] jit subtract (#23285)
### Details:
 - *[CPU] [AARCH64] jit subtract*

### Tickets:
 - *CVS-134748*
2024-03-10 12:29:57 +00:00
Ilya Lavrenov 090bf9205f
Revert "Delete opset headers from transformations/utils" (#23350)
Reverts openvinotoolkit/openvino#22725

To fix RHEL build
2024-03-09 21:16:37 +04:00
wkobielx f5641a109c
CVS-133383 Update models used in nightly/stress tests (#23157)
Old models listed in configs were removed from omz repository

### Tickets:
 - CVS-133383
 
Models changed basing on docs and availability in
[omz_repo](https://github.com/openvinotoolkit/open_model_zoo/tree/master/models)
-
https://docs.openvino.ai/nightly/omz_demos_classification_demo_python.html
-
https://docs.openvino.ai/nightly/omz_demos_face_recognition_demo_python.html
-
https://docs.openvino.ai/nightly/omz_demos_classification_demo_python.html
-
https://docs.openvino.ai/nightly/omz_demos_single_human_pose_estimation_demo_python.html
2024-03-08 11:18:00 +00:00
Luca Tam c83c06cf27
[PT FE] aten::dot operation (#22978)
### Details:
- added `aten::dot` operation for pytorch models

### Tickets:
 - Closes #22074

---------

Co-authored-by: Maxim Vafin <maxim.vafin@intel.com>
2024-03-08 09:55:47 +00:00
Vladislav Golubev b068ea2a33
[Snippets] SoftmaxDecomposition is moved to data flow pipeline (#21672)
### Details:
 - *Control flow pass `SoftmaxDecomposition` removed*
- *Introduced data flow `SoftmaxDecomposition` pass which decomposes
`Softmax` operation to a sequence of `Eltwise` ops + `Reduce` ops*
- *Introduced control flow `ReduceDecomposition` pass which decomposes
Reduce operation to a range of low-level operations on linear IR.
Limitation: only reduction by last dimension is supported*

### Tickets:
 - *CVS-112847*

### Prerequisites:
- #21303 

PR between branches for review (all the review discussions are there):
[Softmax decomposition moved to data flow
pipeline](https://github.com/v-Golubev/openvino/pull/24#top)
2024-03-08 09:51:06 +00:00
Ivan Tikhonov 4d127d6565
Delete opset headers from transformations/utils (#22725)
### Details:
Refactoring

### Tickets:
 - *CVS-91401*
2024-03-08 09:10:56 +00:00
Roman Kazantsev 1ea296d8bc
[TF FE] Switch on layer test for RaggedTensorToTensor (#23335)
**Details:** Switch on layer test for RaggedTensorToTensor. Merge after
https://github.com/openvinotoolkit/openvino_tokenizers/pull/65

**Ticket:** 132675

---------

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2024-03-08 08:09:39 +00:00
Alexander Kozlov e77238bb06
Updated LLM guide (#23341) 2024-03-08 07:19:34 +00:00
awayzjj 06433f8831
Add check to the validity of device name in `ov::Core{}.compile_model` (#23071)
Closes #23042

### Details:
- Create function `validDeviceName` to
`src/inference/src/dev/core_impl.cpp` to check the validity of device
name.

### Tickets:
- CVS-124122
2024-03-08 01:47:24 +00:00
Taylor Yeonbok Lee 587254981a
[GPU] Improve memory pool access performance (#22977)
### Details:
- Previously, memory conflict check was done using std::string
(primitive_id), and it was time consuming
 - Fixed to use unique_id as mem_dep, instead of std::string 

### Tickets:
 - 131916
2024-03-07 19:38:59 +00:00
Tatiana Savina e70e59b99e
[DOCS] LLMS docs update (#23092)
### Details:

http://openvino-doc.iotg.sclab.intel.com/tsavina-genai/native_vs_hugging_face_api.html
doc version

### Tickets:
 - *ticket-id*
2024-03-07 15:54:34 +00:00
Wilson Seok 221847de5b
[GPU] Skip Depth To Space fusing when dynamic shape and skip broadcastable check in select typed_primitive_inst() when new shape infer (#23270)
### Details:
 - Skip Depth To Space fusing when dynamic shape
- Skip broadcastable check in select typed_primitive_inst() when new
shape infer

### Tickets:
 - 130775
2024-03-07 13:48:31 +00:00
Wang, Yang 4f8f573195
Fix the issue caused by the changed tensor names after complex transformation (#23081)
### Details:
- Update logic of port name checking to check if queried port tensor
names is subset instead of op "==".
 - *...*

### Tickets:
 - CVS-122932
2024-03-07 10:36:27 +00:00
Rinne cc128992e6
[Fix] Unexpected exception information of BATCH plugin (#23174)
### Details:
 - Throw exception when detecting wrong format like '-GPU' in BATCH.
- Throw exception with right information when getting multiple devices
for BATCH.

### Tickets:
 - CVS-132276

### Related issues:
 - Closes #23125
2024-03-07 10:26:17 +00:00
Anastasiia Pnevskaia f55e967dd5
[TF FE] Remove paraphrase model from precommit (#23299)
### Details:
- sentence-transformers/paraphrase-mpnet-base-v2 randomly fails on
accuracy.
 - Ticket for fixing - 134787

### Tickets:
 -

---------

Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
2024-03-06 19:11:28 +00:00
Ivan Tikhonov aad89fb998
Support dyn shapes in BatchNormDecomposition transformation (#23290)
### Details:
Support dyn shapes in BatchNormDecomposition transformation

### Tickets:
 - *CVS-133609*
2024-03-06 11:40:34 +00:00
Wang Wangwang 2c0efbb1bf
[HETERO] Remove ConstantFolding of model in hetero (#22626)
### Details:
constant folding been introduced to hetero, but this may bring other
issue in quantized models , for example, in gpu plugin, precision
conversion will be applied before constant folding, some ops can be
operated in fp16 if hardware support, while direct constant folding in
hetero doesn't take hardware capability into account and fold the
constants directly, this will result in memory concerns, for example,
OOM issue, or the performance issue because of different execution
precision
### ticket-id:
CVS-127934
2024-03-06 11:20:49 +00:00
Zlobin Vladimir 2d3805f6db
Test acutal model (#22841)
Ticket 25942
2024-03-06 11:12:39 +00:00
Andrei Kashchikhin 2007b7b1b0
[CI] [GHA] Transition to `gcc-10` in the Linux ARM workflow (#23275)
## Description:
- [CI] [GHA] Transition to gcc-10 in the Linux ARM workflow

### Tickets:
 - *134480*
2024-03-06 10:39:09 +00:00
Anastasia Kuporosova 0852c4efb3
[PyOV] convert ExecutionMode enum to any (#23284)
### Details:
- ExecutionMode enum binding was missed to be added to
`py_object_to_any` function that caused segfault

### Tickets:
 - CVS-134484
2024-03-06 09:25:32 +00:00
Roman Kazantsev e73da1af12
[TF FE] Switch on layer tests for StringSplitV2 (#23282)
**Details:** Switch on layer tests for StringSplitV2. It must be merged
after https://github.com/openvinotoolkit/openvino_tokenizers/pull/59

**Ticket:** 132671

---------

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2024-03-06 09:10:10 +00:00
Vladimir Paramuzov 75c5ca5442
[GPU] Internal Convolution op and asymmetric quantization fusion pass (#23144)
### Details:
- Added internal `Convolution` op with bias and zero-points semantics
which covers both grouped and non-grouped case
- Added internal `Placeholder` op which indicates that port has no input
- Added `{v1::Convolution, v1::GroupConvolution} ->
internal::Convolution` conversion pass.
 - Added fusion pass for convolution with asymmetric quantization
 - Added pass for broadcasting and alignment of quantization parameters
 - Removed `prepare_aymmetric_quantization` cldnn pass
2024-03-06 06:37:18 +00:00
Vitaliy Urusovskij 5c7c649bc3
[CPU] Fix segfault in `dump_graph_as_ie_ngraph_net()` (#23254)
### Details:
- OV Model API allows to create `ov::Model` with empty ResultVector. And
it may cause segmentation fault on `graph.dump()` e.g. when
`get_property("NETWORK_NAME")`

### Tickets:
 - [CVS-134517](https://jira.devtools.intel.com/browse/CVS-134517)
2024-03-06 06:00:27 +00:00
Ruslan Nugmanov b968953527
E2E open-sourced (#20429)
Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
2024-03-05 16:35:45 +00:00
Andrii Staikov 8db69fa210
[Transformations] Fix warning: implicit capture of ‘this’ via ‘[=]’ (#23169)
[Transformations] Fix warning: implicit capture of ‘this’ via ‘[=]’

Details:
Implicit capture of 'this' for lambdas is deprecated since C++20. Fix it
by adding a special macro OV_CAPTURE_CPY_AND_THIS which expands into '='
or '=, this' depending on a C++ standard used.

Note:
Although C++20 identifier is 202002L, some compilers supporting C++20,
or its drafts like C++2a, producing the warning, are using 201402L
value. Also, MSVC requires a special check due to the __cplusplus value
compatibility issues.

Ticket: CVS-132688

Signed-off-by: Andrii Staikov andrii.staikov@intel.com

Signed-off-by: Andrii Staikov andrii.staikov@intel.com
2024-03-05 16:16:09 +00:00
Ivan Tikhonov b6b4bda07a
Delete check that ReadValue/Assign operations have to be in pair in ov::Model (#23051)
### Details:
If ReadValue and Assign are not paired in model topology we have "Model
is incorrect. Assign and ReadValue operations must be in pairs on the
network."

Check for ReadValue-Assign pairs is useless and it is an obstacle for
model transformation debugging. Moreover, with more advanced techniques
of state modification there can be other ops (custom ones) that modify
state in place.

### Tickets:
 - *CVS-133159*
2024-03-05 15:46:34 +00:00