Commit Graph

973 Commits

Author SHA1 Message Date
Mateusz Tabaka db527fff41
Fix performance on resnet50 quantized models (#7670)
* Fix performance on resnet50 quantized models

LP transformations won't work on the model unless the last 4 inputs to FakeQuantize
are constants. In order to meet that requirement, we need to perform constant folding
for those inputs in QuantizeLinear ONNX operator.

Ticket: 65375

* fix "Cannot find blob with name: y" exception during onnx_model_quant_conv_linear

* remove linking with onnx_ngraph_frontend

* fix exclude path
2021-10-13 10:18:37 +03:00
Ilya Churaev 972524f1cc
Use runtime::Tensor instead of Blob in read_model (#7951)
* Use runtime::Tensor instead of Blob in read_model

* Fixed the memory ownership
2021-10-13 09:13:11 +03:00
Andrew Kwangwoong Park 4e2cc3e370
[GPU] Add GPU plugin metric to get statistics of GPU memory allocated by engine (#7758) 2021-10-13 05:40:51 +03:00
Ilya Churaev c323775f2c
Add input/output to ov ExecNetwork (#7650)
* Added template for new tests

* Fixed simple test

* Added output tests

* Removed get_result/get_parameter methods

* Fixed documentation

* Fixed functional tests

* Fixed caching tests

* Added new test for import

* Added new tests

* Fixed code style

* Fixed comments

* Fixed tests

* Fixed code style

* Save version in the function
Fixed pre-post processing

* Change IR version

* Fixed documentation

* Fixed MockICore

* HETERO almost works

* Fixed tests and core logic

* Disabled some CPU tests

* Tmp disable fp16 for template

* Fixed tests and clang-format

* Small fixes

* Fix

* Simplified code in templatePlugin

* Added IE precisions checks

* Simplified hetero plugin

* Added ieImportExportedFunction test

* Added MYRIAD test

* Skip tests directly in tests

* More correct filter for CPU

* Fixed CPU tests

* Template plugin tests

* Some comments

* FIxed clanf-format

* Removed myriad tests

* Fixed comment

* small changes

* Fixed condition

* Fixed unit tests

* clang-format

* Comment

* Hetero plugin update

* Fixed tests

* Moved re-create under ig

* Fixed clang-format

* Fixed some caching_tests

* Disable some caching_tests

* Fixed setLayout with dynamic case

* Fixed clang-format

* Disable execution graph

* Disabled one more CPU test

* Simplified regex

* Disabled GNA tests

Co-authored-by: y <ilya.lavrenov@intel.com>
2021-10-12 13:11:25 +03:00
Irina Efode a3a651ff97
[IE TESTS] Remove `functionRefs` from all tests and add it in necessary places (#7873)
* gna

* [IE TESTS] Remove functionRefs from some places
2021-10-08 00:29:00 +03:00
Bartek Szmelczynski cfe18d289c
Scatter update ref impl revision (#7476)
* add template tests for scatter_update

* rm CT from ref impl

* fix namings

* minor code refactor

* fix style

* change ref impl

* add lambda func

* new tests

* remove CT from reference implementation, add template tests

* fix cpu IE

* refactor template tests

* split template tests
2021-10-07 14:40:15 +03:00
Dmitrii Khurtin f856ac0203
[GNA] Added ConcatAlignFilter support for Accuracy Aware mode (#7834)
* Added ConcatAlignFilter support for Accuracy Aware mode

* fails after reviewing and added tests

* moved the test to gna/scale_factors_tests; added comments to test
2021-10-07 12:25:18 +03:00
Alina Kladieva d11ff04130
Update skip_tests_config.cpp (#7874) 2021-10-07 12:09:22 +03:00
Yury Gaydaychuk 4c80b110d0
[CPU] Deformable convolution improvements (#7168)
* jit impl. optimized

* reviewed

* reviewed
2021-10-07 11:31:08 +03:00
Mikhail Nosov f57dc05c66
[OV20] Convert NV12 to RGB operation + preprocessing (#7508)
* # Conflicts:
#	docs/template_plugin/tests/functional/op_reference/convert_color_nv12.cpp
#	inference-engine/tests/functional/plugin/cpu/shared_tests_instances/single_layer_tests/convert_color_nv12.cpp
#	inference-engine/tests/functional/shared_test_classes/include/shared_test_classes/single_layer/convert_color_nv12.hpp
#	inference-engine/tests/functional/shared_test_classes/src/single_layer/convert_color_nv12.cpp
#	ngraph/core/include/openvino/core/preprocess/input_tensor_info.hpp
#	ngraph/core/include/openvino/core/preprocess/preprocess_steps.hpp
#	ngraph/core/include/openvino/op/nv12_to_bgr.hpp
#	ngraph/core/include/openvino/op/nv12_to_rgb.hpp
#	ngraph/core/src/op/nv12_to_bgr.cpp
#	ngraph/core/src/op/nv12_to_rgb.cpp
#	ngraph/core/src/preprocess/pre_post_process.cpp
#	ngraph/core/src/preprocess/preprocess_steps_impl.hpp
#	ngraph/test/CMakeLists.txt

* Added more test to cover 100% of code
Allow convert element type for 'multi-plane' color format

* Inherit tensor names for 'convert_color'

* Clang

* Fix tests

* Disable 'int8' preprocessing resize test

* Fix review comments

* Add more restrictions and tests for planes sub-names

* 1) Added check for uniqueness of tensor names generated for nodes
Raise error if user's plane sub-name conflicts with some node in a function
2) Added exception safety to preprocess build. Before, when input #2 fail, only one preprocess will be applied to function and it will be corrupted
Exception guard will restore function to original state if exception occurs

* Fix clang-format
2021-10-06 15:22:05 +03:00
Egor Duplensky 3455dd973f
[CPU] Replace sgemm with MatMul primitive (#6785) 2021-10-06 09:57:57 +03:00
Ilya Lavrenov acb6aa01ab
Added reporting of unresolved symbols for plugins (#7810)
* Added reporting of unresolved symbols for plugins

* Added HDDL dependency

* Removed cross-compilation if

* Revert "Removed cross-compilation if"

This reverts commit da644a3afe.
2021-10-05 04:26:01 +03:00
Irina Efode bd2b346c62
[IE Tests] Aplly some comments for dynamic shapes (#7829)
* [IE Tests] Aplly some comments for dynamic shapes

* fix tss

* fix postfix

* remove cout

* Fix crash

* fix ci
2021-10-05 02:40:21 +03:00
Ilya Lavrenov 0bebd53b4a
Inference chaining: static and dynamic cases (#7776)
* Fixed precisions conversion in new API

* Added tests

* Fixed old IR cases

* Disable FP16

* Fixed regex for CentoOS

* Refactored tests to use new API

* Temp

* Fixed tests

* Moved smart reshape related sources to ngraph

* Added tests for invalid names

* Moved reshape to tensor_names

* clang-format

* Fixed CC build

* Removed IEConv, IEDeconv from primitives pririty

* Added tests for Inference chaining

* Fixed dynamic chaining for template plugin

* Added test for 2 conflicting names for the single parameter

* Removed invalid test

* Added more tests for dynamism

* Fixed clang-format

* Fixed macosx compilation

* Some simplifications
2021-10-04 14:51:14 +03:00
Irina Efode 996b15ccf2
[IE TEST] Enable support of Dynamic shapes in IE TEST infra with examples (#7718)
* Squashed commit of the following:

commit 69d82175a8
Merge: 4c5eb0f8f 068d31511
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Tue Sep 28 19:07:37 2021 +0900

    Merge remote-tracking branch 'upstream/master' into sy/test/ConvolutionLayerTest_dynamic_shape_case

commit 4c5eb0f8f4
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Tue Sep 28 19:06:16 2021 +0900

    Build all (Multiple target shape inputs removed)

commit dd3d17c85f
Merge: 0870cc6cc 1d3df63d6
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Mon Sep 27 20:29:47 2021 +0900

    Merge remote-tracking branch 'upstream/master' into sy/test/ConvolutionLayerTest_dynamic_shape_case

commit 0870cc6cc1
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Mon Sep 27 20:23:27 2021 +0900

    While working on applying multiple target shapes to templateFuncTests, still failed

commit e73a9741de
Merge: 20ea316b0 3bf34b116
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Mon Sep 27 16:54:16 2021 +0900

    Merge remote-tracking branch 'upstream/master' into sy/test/ConvolutionLayerTest_dynamic_shape_case

commit 20ea316b0d
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Mon Sep 27 16:52:39 2021 +0900

    Apply Eltwise stype input shape to cpuFuncTests

commit 0802282972
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Mon Sep 27 14:59:00 2021 +0900

    Apply Eltwise input shape to templateFuncTests

    Modify GenerateInputs() to use functionRefs

commit 25c399d922
Merge: ab476a9ba b3050c268
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Fri Sep 24 14:45:01 2021 +0900

    Merge remote-tracking branch 'upstream/master' into sy/test/ConvolutionLayerTest_dynamic_shape_case

commit ab476a9ba3
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Fri Sep 24 14:44:23 2021 +0900

    Add functionRefs for PrePostProcessTest

commit 451ce9096d
Merge: 5710141cd 846c9c91f
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Fri Sep 24 12:20:34 2021 +0900

    Merge remote-tracking branch 'upstream/master' into sy/test/ConvolutionLayerTest_dynamic_shape_case

commit 5710141cd8
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Fri Sep 24 12:16:06 2021 +0900

    templateFuncTests

    * Remove StaticShape and add DynamicShape to make existing test cases static default

    * Fix typos

    cpuFuncTests

    * Add functionRefs to each case

commit c3b87f098d
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Thu Sep 23 12:51:40 2021 +0900

    Fix to use ngraph::clone_function()

commit fa7e87b146
Merge: a8890950d d7dfce209
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Thu Sep 23 10:47:15 2021 +0900

    Merge remote-tracking branch 'upstream/master' into sy/test/ConvolutionLayerTest_dynamic_shape_case

commit a8890950d3
Merge: ceb802d97 5847b35ed
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Thu Sep 16 19:24:08 2021 +0900

    Merge remote-tracking branch 'upstream/master' into sy/test/ConvolutionLayerTest_dynamic_shape_case

commit ceb802d978
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Thu Sep 16 19:24:00 2021 +0900

    templateFuncTest runs except multiple input shape cases

commit 8adbaba71d
Merge: d11e3e917 f44369ce4
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Mon Sep 13 15:30:48 2021 +0900

    Merge remote-tracking branch 'upstream/master' into sy/test/ConvolutionLayerTest_dynamic_shape_case

commit d11e3e917e
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Mon Sep 13 15:30:27 2021 +0900

    ConvolutionLayerTest for dynamic shape case (Test only)

commit d8eaf21acd
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Mon Sep 13 14:41:38 2021 +0900

    ConvolutionLayerTest for dynamic shape case

commit fe57d0faa6
Merge: 39a691ab9 7a392253d
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Mon Sep 13 09:59:44 2021 +0900

    Merge branch 'master' into sy/ilyachur/draft_dynamic_plugin_rebased

commit 7a392253d7
Merge: b8966457b 021639a04
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Mon Sep 13 09:59:01 2021 +0900

    Merge remote-tracking branch 'upstream/master'

commit 39a691ab95
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Mon Sep 13 09:55:38 2021 +0900

    Remove redundant line

commit 109cafeffe
Merge: 0245e05cc b8966457b
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Thu Sep 9 10:25:36 2021 +0900

    Merge branch 'master' into sy/ilyachur/draft_dynamic_plugin_rebased

commit b8966457b9
Merge: 904384fee 1c1401b06
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Thu Sep 9 10:24:37 2021 +0900

    Merge remote-tracking branch 'upstream/master'

commit 0245e05cc8
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Thu Sep 9 10:18:54 2021 +0900

    Remove comments used for indivisual testing

    Change unproper function names

    Remove unnecessary template<>

commit 0854f07291
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Fri Sep 3 13:31:22 2021 +0900

    ConvolutionLayerTest and SoftMaxLayerTest on template_plugin for dynamic shapes rebased

commit 904384fee3
Merge: 4bf45de5d b78f228fa
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Fri Sep 3 09:11:44 2021 +0900

    Merge remote-tracking branch 'upstream/master'

commit 4bf45de5dc
Merge: 18476fe1b 07f7061f9
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Thu Sep 2 08:54:23 2021 +0900

    Merge remote-tracking branch 'upstream/master'

commit 18476fe1b9
Merge: e92f5928d f77d838e6
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Mon Aug 23 09:48:34 2021 +0900

    Merge remote-tracking branch 'upstream/master'

commit e92f5928dc
Merge: ef937a5a5 2fefe1164
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Fri Aug 20 14:40:00 2021 +0900

    Merge remote-tracking branch 'upstream/master'

commit ef937a5a52
Merge: 04fed4c2a 184b3cbe4
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Fri Aug 20 13:32:53 2021 +0900

    Merge remote-tracking branch 'upstream/master'

commit 04fed4c2af
Merge: 508c61615 39131968c
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Fri Aug 13 13:27:26 2021 +0900

    Merge remote-tracking branch 'upstream/master'

commit 508c616151
Merge: 0647e6827 273c7188a
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Fri Aug 13 10:49:35 2021 +0900

    Merge remote-tracking branch 'upstream/master'

commit 0647e68277
Merge: 89ba7c1bf 04ff7a6ed
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Wed Aug 11 13:39:51 2021 +0900

    Merge remote-tracking branch 'upstream/master'

commit 89ba7c1bf1
Merge: ebdbea67c b11a2220b
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Mon Aug 9 09:01:44 2021 +0900

    Merge remote-tracking branch 'upstream/master'

commit ebdbea67cb
Merge: 4880bd11d d921e7a9c
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Mon Jul 26 11:57:49 2021 +0900

    Merge remote-tracking branch 'upstream/master'

commit 4880bd11d4
Merge: eef72406c 1e1e3bfff
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Thu Jul 22 14:58:56 2021 +0900

    Merge remote-tracking branch 'upstream/master'

commit eef72406cc
Merge: 9ccacedef 2a15e3e79
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Fri Jul 16 12:58:14 2021 +0900

    Merge remote-tracking branch 'upstream/master'

commit 9ccacedefe
Merge: 14020554d c14edd413
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Thu Jul 15 13:48:24 2021 +0900

    Merge remote-tracking branch 'upstream/master'

commit 14020554d2
Merge: 54182c03b 2a970a56d
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Fri Jul 9 08:04:43 2021 +0900

    Merge remote-tracking branch 'upstream/master'

commit 54182c03b2
Merge: 7654df0d9 35d9bd0f6
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Thu Jul 8 08:15:46 2021 +0900

    Merge remote-tracking branch 'upstream/master'

commit 7654df0d93
Merge: 8ab309328 64cbdb9c2
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Mon Jul 5 13:00:33 2021 +0900

    Merge remote-tracking branch 'upstream/master'

commit 8ab3093282
Merge: b77d127d7 db0145be1
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Wed Jun 30 13:27:58 2021 +0900

    Merge remote-tracking branch 'upstream/master'

commit b77d127d78
Merge: 4a5811623 632709012
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Mon Jun 28 10:01:50 2021 +0900

    Merge remote-tracking branch 'upstream/master'

commit 4a5811623d
Merge: 6ce8d8ce6 7e6641192
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Mon Jun 21 09:31:00 2021 +0900

    Merge remote-tracking branch 'upstream/master'

commit 6ce8d8ce66
Merge: 84bc851ec db67c1b2b
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Thu Jun 17 08:28:23 2021 +0900

    Merge remote-tracking branch 'upstream/master'

commit 84bc851ecf
Merge: 5a2cb750e fb7435a64
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Tue Jun 15 08:24:23 2021 +0900

    Merge remote-tracking branch 'upstream/master'

commit 5a2cb750ec
Merge: 19ab2100a 05469e95e
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Fri Jun 11 13:30:59 2021 +0900

    Merge remote-tracking branch 'upstream/master'

commit 19ab2100a5
Merge: b2bdc3976 4d9fe14ec
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Tue Jun 8 09:49:38 2021 +0900

    Merge remote-tracking branch 'upstream/master'

commit b2bdc39760
Merge: 0a6c3cc9b ac1803c3a
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Thu Jun 3 08:46:13 2021 +0900

    Merge remote-tracking branch 'upstream/master'

commit 0a6c3cc9bf
Merge: e07337d53 97a9a76ff
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Wed May 26 10:51:49 2021 +0900

    Merge remote-tracking branch 'upstream/master'

commit e07337d533
Merge: d4b251678 e41e25533
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Tue May 18 08:46:00 2021 +0900

    Merge remote-tracking branch 'upstream/master'

commit d4b251678e
Merge: f396091bd 1b8a0f7ae
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Mon May 10 08:11:10 2021 +0900

    Merge remote-tracking branch 'upstream/master'

commit f396091bd8
Merge: f569dbc73 8645c0839
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Fri May 7 13:49:43 2021 +0900

    Merge remote-tracking branch 'upstream/master'

commit f569dbc739
Merge: a6b2800be 31b161097
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Thu Apr 29 07:15:08 2021 +0900

    Merge remote-tracking branch 'upstream/master'

commit a6b2800be2
Merge: dc771f1c4 1ae1757a5
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Wed Apr 28 07:50:13 2021 +0900

    Merge remote-tracking branch 'upstream/master'

commit dc771f1c4f
Merge: 5320f7eae 5de5f4d7d
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Tue Apr 27 15:00:05 2021 +0900

    Merge remote-tracking branch 'upstream/master'

commit 5320f7eae0
Merge: 47dedfde5 39e1a21c4
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Mon Apr 26 08:32:06 2021 +0900

    Merge remote-tracking branch 'upstream/master'

commit 47dedfde57
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Mon Apr 19 09:06:56 2021 +0900

    Add test cases for PReLU in cpu plugin

    * For case when slope is vector

* fix build

* remove exztra

* Squashed commit of the following:

commit 69d82175a8
Merge: 4c5eb0f8f 068d31511
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Tue Sep 28 19:07:37 2021 +0900

    Merge remote-tracking branch 'upstream/master' into sy/test/ConvolutionLayerTest_dynamic_shape_case

commit 4c5eb0f8f4
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Tue Sep 28 19:06:16 2021 +0900

    Build all (Multiple target shape inputs removed)

commit dd3d17c85f
Merge: 0870cc6cc 1d3df63d6
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Mon Sep 27 20:29:47 2021 +0900

    Merge remote-tracking branch 'upstream/master' into sy/test/ConvolutionLayerTest_dynamic_shape_case

commit 0870cc6cc1
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Mon Sep 27 20:23:27 2021 +0900

    While working on applying multiple target shapes to templateFuncTests, still failed

commit e73a9741de
Merge: 20ea316b0 3bf34b116
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Mon Sep 27 16:54:16 2021 +0900

    Merge remote-tracking branch 'upstream/master' into sy/test/ConvolutionLayerTest_dynamic_shape_case

commit 20ea316b0d
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Mon Sep 27 16:52:39 2021 +0900

    Apply Eltwise stype input shape to cpuFuncTests

commit 0802282972
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Mon Sep 27 14:59:00 2021 +0900

    Apply Eltwise input shape to templateFuncTests

    Modify GenerateInputs() to use functionRefs

commit 25c399d922
Merge: ab476a9ba b3050c268
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Fri Sep 24 14:45:01 2021 +0900

    Merge remote-tracking branch 'upstream/master' into sy/test/ConvolutionLayerTest_dynamic_shape_case

commit ab476a9ba3
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Fri Sep 24 14:44:23 2021 +0900

    Add functionRefs for PrePostProcessTest

commit 451ce9096d
Merge: 5710141cd 846c9c91f
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Fri Sep 24 12:20:34 2021 +0900

    Merge remote-tracking branch 'upstream/master' into sy/test/ConvolutionLayerTest_dynamic_shape_case

commit 5710141cd8
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Fri Sep 24 12:16:06 2021 +0900

    templateFuncTests

    * Remove StaticShape and add DynamicShape to make existing test cases static default

    * Fix typos

    cpuFuncTests

    * Add functionRefs to each case

commit c3b87f098d
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Thu Sep 23 12:51:40 2021 +0900

    Fix to use ngraph::clone_function()

commit fa7e87b146
Merge: a8890950d d7dfce209
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Thu Sep 23 10:47:15 2021 +0900

    Merge remote-tracking branch 'upstream/master' into sy/test/ConvolutionLayerTest_dynamic_shape_case

commit a8890950d3
Merge: ceb802d97 5847b35ed
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Thu Sep 16 19:24:08 2021 +0900

    Merge remote-tracking branch 'upstream/master' into sy/test/ConvolutionLayerTest_dynamic_shape_case

commit ceb802d978
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Thu Sep 16 19:24:00 2021 +0900

    templateFuncTest runs except multiple input shape cases

commit 8adbaba71d
Merge: d11e3e917 f44369ce4
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Mon Sep 13 15:30:48 2021 +0900

    Merge remote-tracking branch 'upstream/master' into sy/test/ConvolutionLayerTest_dynamic_shape_case

commit d11e3e917e
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Mon Sep 13 15:30:27 2021 +0900

    ConvolutionLayerTest for dynamic shape case (Test only)

commit d8eaf21acd
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Mon Sep 13 14:41:38 2021 +0900

    ConvolutionLayerTest for dynamic shape case

commit fe57d0faa6
Merge: 39a691ab9 7a392253d
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Mon Sep 13 09:59:44 2021 +0900

    Merge branch 'master' into sy/ilyachur/draft_dynamic_plugin_rebased

commit 7a392253d7
Merge: b8966457b 021639a04
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Mon Sep 13 09:59:01 2021 +0900

    Merge remote-tracking branch 'upstream/master'

commit 39a691ab95
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Mon Sep 13 09:55:38 2021 +0900

    Remove redundant line

commit 109cafeffe
Merge: 0245e05cc b8966457b
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Thu Sep 9 10:25:36 2021 +0900

    Merge branch 'master' into sy/ilyachur/draft_dynamic_plugin_rebased

commit b8966457b9
Merge: 904384fee 1c1401b06
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Thu Sep 9 10:24:37 2021 +0900

    Merge remote-tracking branch 'upstream/master'

commit 0245e05cc8
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Thu Sep 9 10:18:54 2021 +0900

    Remove comments used for indivisual testing

    Change unproper function names

    Remove unnecessary template<>

commit 0854f07291
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Fri Sep 3 13:31:22 2021 +0900

    ConvolutionLayerTest and SoftMaxLayerTest on template_plugin for dynamic shapes rebased

commit 904384fee3
Merge: 4bf45de5d b78f228fa
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Fri Sep 3 09:11:44 2021 +0900

    Merge remote-tracking branch 'upstream/master'

commit 4bf45de5dc
Merge: 18476fe1b 07f7061f9
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Thu Sep 2 08:54:23 2021 +0900

    Merge remote-tracking branch 'upstream/master'

commit 18476fe1b9
Merge: e92f5928d f77d838e6
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Mon Aug 23 09:48:34 2021 +0900

    Merge remote-tracking branch 'upstream/master'

commit e92f5928dc
Merge: ef937a5a5 2fefe1164
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Fri Aug 20 14:40:00 2021 +0900

    Merge remote-tracking branch 'upstream/master'

commit ef937a5a52
Merge: 04fed4c2a 184b3cbe4
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Fri Aug 20 13:32:53 2021 +0900

    Merge remote-tracking branch 'upstream/master'

commit 04fed4c2af
Merge: 508c61615 39131968c
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Fri Aug 13 13:27:26 2021 +0900

    Merge remote-tracking branch 'upstream/master'

commit 508c616151
Merge: 0647e6827 273c7188a
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Fri Aug 13 10:49:35 2021 +0900

    Merge remote-tracking branch 'upstream/master'

commit 0647e68277
Merge: 89ba7c1bf 04ff7a6ed
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Wed Aug 11 13:39:51 2021 +0900

    Merge remote-tracking branch 'upstream/master'

commit 89ba7c1bf1
Merge: ebdbea67c b11a2220b
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Mon Aug 9 09:01:44 2021 +0900

    Merge remote-tracking branch 'upstream/master'

commit ebdbea67cb
Merge: 4880bd11d d921e7a9c
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Mon Jul 26 11:57:49 2021 +0900

    Merge remote-tracking branch 'upstream/master'

commit 4880bd11d4
Merge: eef72406c 1e1e3bfff
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Thu Jul 22 14:58:56 2021 +0900

    Merge remote-tracking branch 'upstream/master'

commit eef72406cc
Merge: 9ccacedef 2a15e3e79
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Fri Jul 16 12:58:14 2021 +0900

    Merge remote-tracking branch 'upstream/master'

commit 9ccacedefe
Merge: 14020554d c14edd413
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Thu Jul 15 13:48:24 2021 +0900

    Merge remote-tracking branch 'upstream/master'

commit 14020554d2
Merge: 54182c03b 2a970a56d
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Fri Jul 9 08:04:43 2021 +0900

    Merge remote-tracking branch 'upstream/master'

commit 54182c03b2
Merge: 7654df0d9 35d9bd0f6
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Thu Jul 8 08:15:46 2021 +0900

    Merge remote-tracking branch 'upstream/master'

commit 7654df0d93
Merge: 8ab309328 64cbdb9c2
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Mon Jul 5 13:00:33 2021 +0900

    Merge remote-tracking branch 'upstream/master'

commit 8ab3093282
Merge: b77d127d7 db0145be1
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Wed Jun 30 13:27:58 2021 +0900

    Merge remote-tracking branch 'upstream/master'

commit b77d127d78
Merge: 4a5811623 632709012
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Mon Jun 28 10:01:50 2021 +0900

    Merge remote-tracking branch 'upstream/master'

commit 4a5811623d
Merge: 6ce8d8ce6 7e6641192
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Mon Jun 21 09:31:00 2021 +0900

    Merge remote-tracking branch 'upstream/master'

commit 6ce8d8ce66
Merge: 84bc851ec db67c1b2b
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Thu Jun 17 08:28:23 2021 +0900

    Merge remote-tracking branch 'upstream/master'

commit 84bc851ecf
Merge: 5a2cb750e fb7435a64
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Tue Jun 15 08:24:23 2021 +0900

    Merge remote-tracking branch 'upstream/master'

commit 5a2cb750ec
Merge: 19ab2100a 05469e95e
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Fri Jun 11 13:30:59 2021 +0900

    Merge remote-tracking branch 'upstream/master'

commit 19ab2100a5
Merge: b2bdc3976 4d9fe14ec
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Tue Jun 8 09:49:38 2021 +0900

    Merge remote-tracking branch 'upstream/master'

commit b2bdc39760
Merge: 0a6c3cc9b ac1803c3a
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Thu Jun 3 08:46:13 2021 +0900

    Merge remote-tracking branch 'upstream/master'

commit 0a6c3cc9bf
Merge: e07337d53 97a9a76ff
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Wed May 26 10:51:49 2021 +0900

    Merge remote-tracking branch 'upstream/master'

commit e07337d533
Merge: d4b251678 e41e25533
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Tue May 18 08:46:00 2021 +0900

    Merge remote-tracking branch 'upstream/master'

commit d4b251678e
Merge: f396091bd 1b8a0f7ae
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Mon May 10 08:11:10 2021 +0900

    Merge remote-tracking branch 'upstream/master'

commit f396091bd8
Merge: f569dbc73 8645c0839
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Fri May 7 13:49:43 2021 +0900

    Merge remote-tracking branch 'upstream/master'

commit f569dbc739
Merge: a6b2800be 31b161097
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Thu Apr 29 07:15:08 2021 +0900

    Merge remote-tracking branch 'upstream/master'

commit a6b2800be2
Merge: dc771f1c4 1ae1757a5
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Wed Apr 28 07:50:13 2021 +0900

    Merge remote-tracking branch 'upstream/master'

commit dc771f1c4f
Merge: 5320f7eae 5de5f4d7d
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Tue Apr 27 15:00:05 2021 +0900

    Merge remote-tracking branch 'upstream/master'

commit 5320f7eae0
Merge: 47dedfde5 39e1a21c4
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Mon Apr 26 08:32:06 2021 +0900

    Merge remote-tracking branch 'upstream/master'

commit 47dedfde57
Author: Steve Yoo <steve.yoo@intel.com>
Date:   Mon Apr 19 09:06:56 2021 +0900

    Add test cases for PReLU in cpu plugin

    * For case when slope is vector

* temp

* Cpu

* All fix for softmax

* ie + gna

* Remove extra

* fix crash

* eltwise

* Fix crash

* fix failures

* gpu myriad

* fix

* fix template

* fix

* tr

* gpu skip

* fix gpu

* fix template
2021-10-04 14:34:50 +03:00
Ilya Lavrenov 056515e735
Fixed CVS-66710 (#7805) 2021-10-01 22:54:06 +03:00
Alina Kladieva 7fd0b9be48
Exclude sporadic CPU canRun3SyncRequestsConsistentlyFromThreads (#7706)
* Exclude sporadic CPU canRun3SyncRequestsConsistentlyFromThreads

* Update skip_tests_config.cpp

* Fix lint
2021-10-01 12:37:51 +03:00
Ilya Churaev faeaf045a9
Graph comparator to ngraph util (#7729)
* Moved FrameworkNode to nGraph

* Moved graph comparator to ngraph test util

* Fixed build

* Try to fix centos

* Fix export target

* Moved engine utils to separate library

* Removed ONNX util from common library

* Fixed build

* Fixed code style
2021-10-01 07:24:28 +03:00
Ilya Lavrenov 302eb08dc5
Replaced gtest deprecated macro (#7779) 2021-10-01 03:46:32 +03:00
Mikhail Nosov 6e05cead11
[OV20] Reference implementation for NV12toRGB and NV12toBGR operations (#7601)
* Reference implementation for NV12toRGB and NV12toBGR operations
Tests:
- ngraph: visitor + type_prop
- template plugin: reference implementation
- inference-engine: shared tests for plugins
- cpu plugin: compare with ref implementation tests

* Fix clang

* Serialization tests

* Fix clang-format

* Changed 'f32' to 'any supported floating-point type'
Added appropriate shape inference tests
Added error test for >2 inputs
Fixed failed CI tests

* Updates after rebase
+ Try to fix Ninja build

* Fix CI

* Support endianness + potential fix of win32 test fails

* Fix review comment

* Fix review comments

* Fix unit test build

* Fix unit test build #2

* Possible build fix 3

* Simplified reference tests
Observed issue with shuffling Y pixels on little-endian systems, added tests
2021-09-30 16:34:46 +03:00
Anton Pankratv fab4056ceb
Fixed callback copy count (#6607) 2021-09-30 15:09:47 +03:00
Ilya Lavrenov 757db35528
Dynamism in new API (#7742)
* Fixed precisions conversion in new API

* Added tests

* Fixed old IR cases

* Disable FP16

* Fixed regex for CentoOS

* Refactored tests to use new API

* Temp

* Fixed tests

* Moved smart reshape related sources to ngraph

* Added tests for invalid names

* Moved reshape to tensor_names

* clang-format

* Fixed CC build

* Removed IEConv, IEDeconv from primitives pririty
2021-09-30 15:04:24 +03:00
Mikhail Nosov 414c3dc133
[OV2.0] Preprocessing - resize (#7583)
* Initial version

* Added 'network' layout to preprocessing info
Moved existing resize tests to template plugin

* Fix clang

* More tests for 'resize' reference implementation + CPU tests + error cases
Coverage is 100%

* Align with new base_reference_test implementation

* Fixed comments

* Add assert to check that desired size is not out of bounds

* CPU: skip failed test
2021-09-30 11:41:25 +03:00
Vladislav Volkov 4bf8d15793
Import/Export tests enabled for the CPU plugin (#7735) 2021-09-30 09:11:01 +03:00
Ilya Lavrenov 1f5355cd07
Enabled several CPU tests (#7724) 2021-09-29 20:51:23 +03:00
Mikhail Nosov 4fd59f72ea
Use 'u8' element type in tests (#7704)
Use 'float32' output for 'compare with reference' tests to avoid IE precisions undesired conversions
Added GPU preprocessing tests skeleton
2021-09-29 09:46:37 +03:00
Ilya Lavrenov bd09f70876
Fixed precisions conversion in new API with compile_model(filename) (#7711)
* Fixed precisions conversion in new API

* Added tests

* Fixed old IR cases

* Disable FP16
2021-09-29 07:00:13 +03:00
Dmitrii Khurtin a3dfa980ad
[GNA] Improved accuracy on model after Accuracy Aware (#7576)
* improved accuracy on model after Accuracy Aware

* refactoring+test

* removed unnessary FakeQuantI8/I16

* added comments, moved fake_quantized from UpdateInputScaleFromNetwork(), removed _Np template param from QuantDescTmpl
2021-09-28 11:34:09 +03:00
Gleb Kazantaev 204c17cc21
Enable SoftmaxFusion inside MOC Transformations pipeline (#7684)
* Enable SoftmaxFusion inside MOC Transformations pipeline

* Disable SoftmaxDecomposition by default
2021-09-28 10:46:31 +03:00
Irina Efode 818f385398
[IE TESTS] Add example for QueryNetwork in SLT (#7628)
* [IE TESTS] Add example for QueryNetwork in SLT

* Update mul_conv_fusion.cpp

* Skip

* skip[
2021-09-27 11:22:38 +03:00
Wilson Seok 8262aed30c
Migrate ngraph backend test of arithmetic2 operations (#7500)
* Remove fp16 of Convert layer test from skip_tests.config.cpp as it works now

* update repo

* add sin asin template plugin reference test

* add cos template plugin reference test and remove asin/sin/cos ngraph backend test

* update CMakeList.txt

* add template plugin reference test for asinh, cosh, sinh, tanh

* remove ngraph backend test for asinh, cosh, sinh, tanh

* update CMakeList.txt

* add ngraph type prop test for tanh

* add ngraph visitor api test for asin, sin

* add atanh type in activation SLT

* remove boolean from sin/cos/tan/asin/sinh/cosh evaluate
2021-09-27 05:23:52 +03:00
Yuan Hu b968c7b813
AutoPlugin: support performance Hint (#7621)
Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com>
2021-09-25 12:30:21 +03:00
Vladimir Paramuzov 3eb1aa59de
[MULTI] Fixed devices comparison to respect default device id (#7311)
* [GPU] Fixed default device id

* [MULTI] Fixed devices comparison to respect default device id
2021-09-24 12:32:38 +03:00
Roman Lyamin f202c45c46
[IE TESTS] Move locale test to shared folder (#7605) 2021-09-24 10:27:07 +03:00
Maxim Shevtsov f2dda1bbca
Added new tests that config set via ie.SetConfig or LoadNetwork is returned via exe_net.GetConfig and align plugin impl to that (#7627) 2021-09-24 10:03:24 +03:00
Vladislav Volkov f8f6e57c39
[CPU] Fix for Int8 models serialization issues (#7554) 2021-09-24 09:24:35 +03:00
Ilya Churaev 6159a5b0bc
New ov::Function API (#7436)
* Generates tensor names

* Implement function helpers for Inputs/Outputs

* Fixed code style

* Share result tensor and add more tests

* Avoid not unique tensor names

* Print tensor name

* Fixed comment

* Fixed matmul transformation

* Fixed function evaluate

* Fixed typo

* Fixed interpreter backend

* Fixed comments

* Removed tensor names check

* Disabled negative tests

* Fixed NetworkContext_CNNNetwork tests

* Fixed GNA tests

* Remove reset names

* Fixed code style

* Temporary disable names generation

* Revert "Temporary disable names generation"

This reverts commit 133315a611.

* Fixed mapping generation and e2e tests

* Fixe Myriad tests

* Introduce AtomicGuard to fix possible thread issues

* Fixed comments
2021-09-24 07:11:02 +03:00
Mikhail Nosov 531118c4b0
OV2.0 Preprocessing shared tests - initial version (#7568)
* Shared preprocessing tests for plugins.
Comparing inference with reference implementation

* Moved evaluate tests to template plugin

* Fixed clang-style

* CPU tests: Set IE precision manually in SetUp. Also allow rounding to integer mismatch

* Added acceptable threshold depending on particular test
2021-09-23 23:17:59 +03:00
Ilya Churaev 634759210f
Introduced OpenVINO RTTI and add version string to operations (#7288)
* Introduced OpenVINO RTTI and add version string to operations

* Fixed build

* Try to fix build

* Removed get_type_info_static

* Fixed tests

* Moved ov operations to new macros

* Fixed type_info_static

* Introduce new header only declaration

* Deprecate type_info static member

* Introduced OPENVINO_OPERATION macro

* Fixed ngraph lib with new RTTI

* Fixed unit tests

* Fixed code style

* Fixed VPU common

* Fixed all target for macOS

* Changed macto to OPENVINO_OP

* Changed cldnn

* Fixed typo

* Fixed some unit tests with old operations

* Fixed DiscreteTypeInfo

* Fixed type relaxed operations

* Fixed legacy tests

* Fixed naming style

* Fixed cpuTests

* Disabled deprecation to pass CI

* Added compatibility to internal operations

* Added BWDCMP for internal ops

* Deprecate type_info

* Fixed Slice RTTI

* Fixed Myriad

* Applied patch from PR 7573
2021-09-23 13:29:39 +03:00
Ilya Lavrenov ab34701590
Added OpenVINO runtime macro (#7586)
* Fixed typo

* Moved ie::Parameter to new API

* New OpenVINO API macro

* Used OpenVINO Plugin API for some plugins

* Used OPENVINO_RUNTIME_API

* Revert "Moved ie::Parameter to new API"

This reverts commit fef5e3b487.

* Fixed code style and docs

* Fixed compilation
2021-09-23 10:39:20 +03:00
Ilya Lavrenov 538d492a70
Removed dependencies scripts (#7569) 2021-09-22 12:17:41 +03:00
Irina Efode f5e7c9646d
[IE TESTS] Separate conformance tests to 3 targets: op_conformance, api_conformace and conformance_infra (#7503)
* [IE TESTS] Separate conformance tests to 3 targets: op_conformance, api_conformace and conformance_infra

* Small fixes

* small fix

* try fix ci
2021-09-22 11:00:37 +03:00
Dawid Kożykowski c29edb1f4e
remove deprecated test classes (#7390) 2021-09-21 15:15:48 +03:00
Ilya Lavrenov db385569c2
Throw ov::Exception from ov::runtime (#7536)
* Exceptions

* Throw ov::Exception from ov::runtime

* code style

* Fixed function name
2021-09-21 14:26:01 +03:00
Andrey Sapozhnikov 2349caa482
[GNA] Plugin transition to the library v3.0 Master (#7386)
* GNA Plugin transition to the library v3.0 Master

* [GNA] Enable 2D convolution decomposition on GNA 3.0

* [GNA] Fix cpplint

* [GNA] Fix cpplint

Co-authored-by: Szymon Irzabek <szymon.jakub.irzabek@intel.com>
2021-09-21 10:59:35 +03:00
Vladimir Zinoviev fadb768fcd
[LPT] INT16, INT32 Quantization support (#7199)
* [LPT] INT16, INT32 Quantization support

* [LPT] Support build on platforms with size_t == unsigned int

* [LPT] Test and fix wrong constant

* Fix build for size_t = unsigned int
2021-09-21 10:00:35 +03:00
Gleb Kazantaev 07d9b51121
Replace IR Reader With IR Frontend (#7249)
* Replace IR Reader With IR Frontend
2021-09-20 23:17:22 +03:00
Ilya Churaev 55fb542bc6
Added OpenVINO util library (#7481)
* Added OpenVINO util library

* Fixed code style

* Fixed build

* Fixed build

* Added methods from IE utils

* Fixed style

* Fixed Windows build

* Fixed linux build

* Fixed windows build

* Try to fix dladdr

* Try to fix windows

* Fixed typo

* Fixed detection dynamic libs from static library

* Revert some changes

* Revert changes in windows loader

* Revert network reader

* Removed some methods from plugin API

* Fixed fluid tests

* Fixed typo

* Fixed include

* Try to fix CI

* Try to fix centos

* fix typo
2021-09-20 18:37:32 +03:00
Roman Lyamin 660c106233
[GPU] Performance counters fix (#7143) 2021-09-17 13:12:25 +03:00
Yuan Hu ac8db25864
Enable CPU accelerate FIL in MULTI (#7380)
* Enable CPU accelerate FIL in MULTI

Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com>

* add configure to device

KEY_PERFORMANCE_HINT_NUM_REQUESTS

Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com>
2021-09-17 11:17:54 +03:00