Commit Graph
153 Commits
Author SHA1 Message Date
Eugeny Volosenkov 05cd830de5 Move eval tests to template tests (#7132)
* Add If implementation with reference

* fix test

* fix comments

* Fix validate_and_INFER_TYPES

* rewrite tests for dynamic cases

* Fix ci failed

* add comentaries for validate_and_infer_types

* fix api

* Added ngraph checks and delete copied op from opset8

* code style fix

* fix code style

* add checkers to reference

* add has_evaluate

* fix eval

* Fix code style

* fix code style

* Add template plugin tests

* fix code style

* delete boolean

* fix IfParams

* Fix comments

* intermediate commit

* delete eval test

* add common header

* Fix codestyle

* fix set_invariant_input/set_body_output

* fix code_style

* fix codestyle

* delete validate_and_infer_types from type prop tests

* delete comments
2021-10-07 18:40:57 +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
Mikhail Nosov e20cefb620 PrePostProcessor.output() - first implementation of post-processing (#7866)
* PrePostProcessor.output() - first implementation of post-processing
Supported convert_layout, convert_element_type and custom operations

* Fix review comments

* Added test for pre and post processing together
Fix clang-format

* Move 'validate_and_infer_types' before post-processing
2021-10-06 21:17:10 +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
Ilya Churaev 3859990b1b Introduce IR v11 (#7787)
* Enabled support of IR v11 in IR frontend

* Enabled serialization to v11

* Added indexes for Inputs/Outputs

* Fixed typo

* Fixed code style

* Fixed deserialization tests

* FIxed typo

* Avoid changes in the original serialized function

* Fixed TI tests

* Removed version from the function and indexes from parameters/results

* Restore function version

* Clone function rt info

* Removed v11 version
2021-10-05 13:09:59 +03:00
Ilya Lavrenov f762751968 Deprecated dynamism in old IE API (#7812) 2021-10-05 01:06:10 +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
Mikhail Nosov f8ed195841 Fix 'NV12 batch case' (was sporadic failure) (#7790)
Introduced 'absolute threshold' for LayerTests and BaseReferenceTests to consistently catch absolute differences
Previously, when set 'threshold=1.f' it was treated as 'allowed difference is 100%", so there was no way to allow absolute difference as 1.f
2021-10-01 20:21:52 +03:00
Mikhail Nosov 5b39e407d9 [OV2.0] Preprocessing - add 'convert_layout' (#7772)
* Preprocessing - add 'convert_layout'

* Fix comments, removed 'set_data_shape' for time being
2021-10-01 19:45:40 +03:00
Mikhail Nosov a883b5c097 Temporary disable sporadically failed test (PR #7601) (#7782)
* Temporary disable sporadically failed test

* Looks like skip test config didn't skip the test
2021-10-01 10:25:08 +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
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
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
Ilya Lavrenov d074eea063 Fixed regex for template tests skip (#7725) 2021-09-29 01:58:02 +03:00
Ilya Lavrenov 65dcffe913 Reference tests use OpenVINO 2.0 headers and namespaces (#7700)
* Reference tests via OpenVINO 2.0

* Migrated to new API acos test

* Fixed other tests compilation

* Fixed tests

* Reference tests use ov::

* Fixed compilation
2021-09-28 19:19:08 +03:00
Ilya Lavrenov 476fbee00f Reference template plugin tests to OpenVINO 2.0 (#7685) 2021-09-28 10:46:03 +03:00
Vladimir Gavrilov 1d3df63d64 Implement reference nGraph implementation for operation ExperimentalDetectronROIFeatureExtractor (#6484)
* Written reference implementation of the operation ExperimentalDetectronROIFeatureExtractor.

* Small fixes.

* Started to write tests for evaluation of the operation ExperimentalDetectronROIfeatureExtractor.

* Written test for evaluation of the nGraph operation ExperimentalDetectronROIFeatureExtractor.

* Some changes.

* Added debug prints to evaluates.map.

* Added more debug prints.

* Added another debug prints.

* Added more debug prints.

* Added more debug prints.

* Added more debug prints.

* Inserted additional static_casts.

* Added more static_casts.

* Commented some debug prints.

* Some reversion.

* Deleted some debug prints.

* Deleted some debug prints.

* Deleted more debug prints.

* Added some casts and debug prints.

* Some changes.

* Small changes.

* Some changes.

* Added png files.

* Small changes.

* Code style fixes.

* Code style fixes.

* Rewritten some auxiliary functions.

* Corrected the body of the function experimental_detectron_roi_feature_extractor().

* Some code style fixes.

* Code style fixes.

* Small code style fixes.

* Commented one debug print.

* Small changes.

* Added some debug print.

* Small changes.

* Added more debug prints.

* Small fixes.

* Added more debug prints.

* Commented some code.

* Indexing operation [] was replaced by .at() method in the function pre_calc_for_bilinear_interpolate().

* Deleted unneeded variables w1, w2, w3, w4.

* Deleted variable xx.

* Added GCC pragma before the function pre_calc_for_bilinear_interpolate().

* Fixes in macros.

* Fixed pragma before the function pre_calc_for_bilinear_interpolate().

* Deleted some debug prints.

* Deleted more debug prints and fixed some code style issues.

* Deleted redundant assert.

* Deleted redundant assert in the function split_points().

* Started to move tests for nGraph reference implementation of ExperimentalDetectronROIFeatureExtractor to template plugin.

* Enabled test INTERPRETER.onnx_model_experimental_detectron_roi_feature_extractor.

* Deleted backend tests for the reference nGraph implementation of the operation ExperimentalDetectronROIFeatureExtractor.

* Deleted commented code.

* Fixed typo.

* Some fixes.

* Some fixes.

* Some fixes.

* Some fixes.

* Some fixes.

* Renamed the function that calculates ROIAlign.

* Deleted redundant usings.

* Now input shapes are parameters of test.

* Small fix.

* Now element type is also test parameter.

* Deleted some commented code.

* Added test for float16 case.

* Small fix.

* Added test for bfloat16 case.

* Deleted redundant parameters of tests.

* Deleted commented code.

* Deleted redundant structure.

* Small fix.

* Some reverting.
2021-09-27 12:49:18 +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
Maxim Shevtsov 920e58caba disabling tests for template plugin that fails due to missing impl (CVS-66280) (#7651) 2021-09-24 16:23:13 +03:00
Wilson Seok b3050c268a Migrate acos operation from ngraph backend test to template plugin reference test (#7461)
* Remove fp16 of Convert layer test from skip_tests.config.cpp as it works now

* update repo

* add acos in template plugin reference test

* Create visitor API test for target operation Acos-1

* remove acos backend test

* remove acos backend test

* add test casses of int ata type

* remove boolean from acos evaluate
2021-09-24 07:19:45 +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
David Nam 790ecd54c8 Add atan to template plugin test (#7509)
* Add atan to template plugin reference test

* Remove atan.in.cpp from backend test

* Remove boolean type from atan evaluation
2021-09-16 09:33:27 +03:00
Egor Shulman bdaa44d0be Fixed Minimum op if u8/16/32/64 data type is used (#6665) 2021-09-15 07:52:46 +03:00
Irina Efode b3d6d11a99 [IE TESTS] Move SKIP macro from test bodies to SetUp() in InferRequestCancelation & Move Infer_Request_dynamic tests to the correct folder (#7299)
* try to fix behavior

* Try

* Revert changes

* Update behavior_test_utils.hpp

* Move Deynamic_tests

* fix build

* fix

* Init
2021-09-13 10:09:36 +03:00
Gabriele Galiero Casay deeb96440f Revise GatherTree reference implementation (#7275)
* Add visitor api test

* Review ngraph op shell with type_prop tests

* Add op to list of trusted operations

* Change name of struct with information of inputs

* Add include of array data structure to fix windowds compilation error

* Add template plugin test class

* Remove usage of CoordinateTransform index function call from reference implementation

* Rename SLT test suite

* Add template plugin unit test

* Add serialization SLTs

* Add indentation on GatherTreeParams class data members
2021-09-10 14:02:49 +03:00
Nikita Semaev 3c22b2af95 Revise NotEqual (#7198)
* Hiding the problem, Validate() changes 'function'

* Template plugin tests

* Undo the changes that are not necessary

* Align code style

* Added \n at end of file

* Removing an unused implementation

* New version with Code Style checking

* Cleaning backend tests

* Reworked the tests the right way

* Removed visit_attributes()

* Removed visit_attributes() in source file

* Added NGRAPH_CHECK macros to evaluate()

* Removed zero_sized_not_equal mention from unit_test.manifest

* Added function name to the constants.py

* Revert "Added function name to the constants.py"

This reverts commit 5b7478056f.

* Return visit_attributes() for op::v1::NotEqual due to NotEqual being moved to another location
2021-09-08 11:30:40 +03:00
Maksim Kutakov 5096fe19f1 [CPU] Dynamic shapes support using fallback on reference (#6882) 2021-09-08 10:33:20 +03:00
Anastasia PopovaandIlya Churaev d82fed9527 RandomUniform reference implementation. (#7012)
* Added RandomUniform reference implementation.

* Corrected comments.

* Small correction.

* Code style correction.

* Added has_evaluate() method.

* Added comments, added names to consts.

* Small fix.

* Replaced arrays with vectors.

* Apply suggestions from code review

Co-authored-by: Ilya Churaev <ilyachur@gmail.com>

* Code refactoring.

* Corrected tests, code style.

* Added comment.

* Added comments.

* Temporarily added debug output.

* Temporarily added debug output.

* Removed debug output.

* Added comment.

* Added comment.

* Enabled state saving for RandomUniform.

* Code style.

* Used to template to convert types.

* Added comments.

Co-authored-by: Ilya Churaev <ilyachur@gmail.com>
2021-09-06 11:49:27 +03:00
Tomasz Dołbniak 28075fb7fc MaxPool 8 reference implementation (#7115) 2021-09-01 19:14:45 +03:00
Dawid Kożykowski 3081fac758 Unify SLTs classes of Convert and ConvertLike operations (#7129)
* update comparisiofiles to use const ref param

* introduce conversion layer test definitions

* adapt old tests to the new format

* remove old duplicated conversion tests

* fix "convertion" typo to "conversion"

* fix style issues and abandon unnecessary changes

* fix include order

* update remaining conversion tests to use introduced class

* fix gpu class test naming

* bring back convert.hpp and convert_like.hpp files

* bring back convert.hppcppd convert_like.cpp files

* bring back single_layer_tests/convert.hpp file

* add missing copyright info

* fix issue with braces initiator for conversion types

* add missing convert_like tests

* add deprecated code macros

* update deprecated code macro message

* add missing space in deprecated code macro message

* update skip ConvertLike tests ticket

* update deprecated code to  use IE macros

* update remaining ngraph_deprecated macros to use IE macros
2021-09-01 14:19:38 +03:00
Gabriele Galiero Casay 70e6565619 Refactor backend test suite of Reduction ops into template plugin tests (#6930)
* Refactor visitor test of reduce operations to include operation name

* Add template plugin tests for reduction operations

* Remove backent unit tests of reduction operations

* Use Tensor utility to instantiate tests

* Use std::for_each instead of raw for loop to produce test case instances

* Cover remaining backend tests in manifest by SLTs cases

* Fix regex to skip cpu test failing in centos build with precision u64
2021-09-01 11:22:46 +03:00
bfae017cf2 Dynamic plugin reshape blob (#6969)
* Added nGraph as a public dependency

* Fixed Windows warning

* Fixed CMake

* Fixed constant op

* Fixed typo

* Added reshape to PartialShape to CNNNetwork

* Added SetShape to InferRequest

* Enable support of DynamicShape in IE Data

* Add support of dynamic shapes to template plugin

* Fixed build

* Enable support dynamic rank

* Fixed test for dynamic rank

* Fixed some tests

* Fix preprocess tests

* Fixed SetBlob

* Fixed code style

* Add more tests

* Fixed accuracy tests

* Fixed documentation

* Added tests for custom operation

* Added new tests

* WIP: move setShape from infer request to Blob

* Returned isApplicable check back

* Removed obsolete tests for InferRequest::SetShape and add new test for Blob::setShape (a trivial one)

* Fixed artifacts

* Break code style

* Revert "Break code style"

This reverts commit 71ee638cd0.

* Added -j8 for fix_all

* Applied code style fixes

* Adde doxygen items

* Fixed style

* Applied codestyle patch

* Reverted unrelevant commit with template extension

* Fixed cmake file for shared func tests (pick from master)

* Revert all changes in template_extension

* Deleted some old stuff that commented and won't be used

* Fixed wrong exception throwing

* Code style fix

* Fixed preprocessing part

* Fixed incorrect blob reshape in GetBlob

* Deleted incorrect assert in GAPI that prevents passing some tests in Debug

* Fixed issues identified during review

* Removed SetShape, replace getLayoutByDims by getLayoutByRank and removed problematic modification from IE preprocessing

* Fixed comments

* Removed obsolete setShape

* [VPU] Fixed allocating dynamic blobs in myriad_infer_request

* Fixed comments

* Fixed CNNNgraphImpl and comments

Co-authored-by: Ilya Churaev <ilya.churaev@intel.com>
Co-authored-by: Polina <polina.brzezinskaya@intel.com>
2021-09-01 10:59:42 +03:00
Bartosz Lesniewski 4a9ac22787 Revise ScatterElementsUpdate Op (#7162)
* Use ngraph rtti macros

* Add visitor test

* Add SSLT

* Add hardcoded refs tests for ScatterElementsUpdate

* Add ScatterElementsUpdate to trusted ops list

* Add i16 case to backend tests

* Add typed testcase generation, check for all supported types

* Remove redundant parameters from generateScatterParams
2021-08-30 13:47:30 +03:00
Piotr Szmelczynski 81c8cd711b Revise logical not (#6942)
* update spec

* remove backend tests and create op_reference test

* add logicalNot to constants

* add NGRAPH CHECK for number of inputs and outputs

* create type_prop tests

* create visitor test

* add type_op and visitor tests to CMakeLists

* remove backend test from CMakeList

* update T to T_BOOL

* update outputs part in spec

* fix type in the spec

* fixed conflicts in CMakeList

* update ReferenceLogicalLayerTest to also work with unary logical operator

* update logical_not op_reference test to use ReferenceLogicalLayerTest

* fix style

* fix style

* resolve conflict

* resolve conflict

* remove typo

* fix style

* Update ReferenceLogicalLayerTest class tto take input as a vector

* Create makeLogical function that takes ParameterVector as parameter

* update op_reference logical tests to take input as a vector

* Replace elem_type with input.type

* update getTestCaseName method
2021-08-27 06:55:19 +03:00
Irina Efode 841c3531fb [IE TESTS] Behavior2.0 -> InferRequest() (#6559)
* Need to remove

* Preprocessing + InferRequest

* infer_request_callback

* tmp commit

* InferRequest

* tst

* tetet

* Fix template

* SetBlobType

* InferRequest Conformance

* Add prc

* Remove prc

* Fix paths

* commit

* Fixes for review

* Dynamic Batch

* fix

* fiz

* Try

* fkf

* Fix azure

* Centos

* skip

* conformance fix

* fix template

* Small fix

* small fix in print

* Fixes
2021-08-25 14:43:19 +03:00
Piotr Szmelczynski ac53316f49 Revise greater equal (#7111)
* update spec

* create op_reference test

* add greateEqual to constants.py

* add ngraph_check for number of inputs and outputs

* add include

* fix style

* add information about broadcast in examples in spec

* Remove redundant reegistration of a new test class

* Remove visit_attributes method

* update outputs part in Greater and GreaterEqual spec

* fix typos in spec
2021-08-25 11:35:58 +03:00
Gabriele Galiero Casay 4d56803ce7 Revise ReverseSequence reference implementation (#7117)
* ReverseSequence ngraph op shell revision with type_prop tests

* Add attribute count check in visitor test

* Refactor backend tests to template plugin test with reference values

* Rename cpu SLT instances

* Add op to list of trusted operations

* Rewrite validation check for input type due to backward compatibility

* Reference implementation speed up by replacing index function call of CoordinateTransform by precalculated strides
2021-08-25 07:09:41 +03:00
Katarzyna Mitrus 551b17db81 CumSum reference implementation revision (#6915)
* New CumSum implementation init

* Unified ndim approach

* Move transpose to separate function

* Move transpose to original to separate function

* Move slice_count calculation to function

* Negative axes support

* Refactor redundant copy

* Changed copy to move

* Temp more backend tests

* Add const to shape arg

* Use span for slices calculation

* Remove unused headers

* CumSum new ref tests

* Add more ref tests

* Add all cumsum modes ref tests

* new optimized cum_sum reference

* Add reverse mode

* Optimized cumsum ref

* Remove deprecated cumsum backend tests

* Add more CumSum reference tests

* Simplify CumSum shared layer tests SetUp

* Replace auto to size_t in loop

* Change static_cast to T{}
2021-08-20 09:50:09 +03:00
Bartosz Lesniewski 9c5e7654d9 Revise CTCLoss OP (#6953)
* Add visitor test to CTCLoss

* Add CTC Loss SSLT

* Add CTC Loss template tests

* Use ngraph rtti macros

* Code style fix
2021-08-20 06:53:37 +03:00
Bartek Szmelczynski 563fd8fa9b Revise greater (#6955)
* add template test, remove backend tests, update spec

* minor spec update

* fix spelling errors in spec

* add not converted types
2021-08-17 07:16:56 +03:00
Dawid Kożykowski 8543daf95d Revise LogicalXor operation reference implementation (#6929)
* add tests for logical xor op

* update tests to use introduced libraries

* add empty line at the end of file

* adapt files to new clang-format rules

* fix braces typo
2021-08-16 07:29:31 +03:00
Xiping Yan 559ad4733f Xp/revise ngraph atanh (#6596)
* revise ../docs/ops/arithmetic/Atanh_3.md

* revise atanh

* recall atanh input data type description

* Revert "recall atanh input data type description"

This reverts commit 08e38f8c76.

* Migrate atanh to template plugin reference tests

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

* fix build fail.

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

* Remove atanh.in.cpp

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

* Atanh only accept [-1,1].
If input value outside of this range, it will return nan.
But nan is not value, can't compare.
So I update the reference implement.

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

* clang format

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

* Revert submodule mkl-dnn

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

* op::Atanh->op::v3::Atanh

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

* Keep algin with "Tensorflow", revert range input to [-1.0, 1.0];

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

* fix template test issue: if expect and actual both are nan, return true.

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

* 1: revert add new code to process condition: res and ref both are nan.
2: change || to ^, it looks like better.

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>
2021-08-12 05:25:35 +03:00
Bartek Szmelczynski 289df8db27 Revise equal (#6605)
* update spec, init backend file for equal op

* add backend, visitors, serialize SLT tests

* add backend test to manifest cause of mismatch of output type with cpu plugin

* add equal to list of trusted ops and to cmakelist file

* refactor backend tests to the new template

* refactor spec

* remove external link in numpy broadcast and update example

* remove comparison.in.cpp file and related tests from manifest

* fix example

* remove redundant arguments

* refactor backend tests

* add pdpd broadcast to the spec, and different precison to SLT test

* add precisions to SLT cpu

* remove unsupported type from SLT

* revert the deletion of comparison.in.cpp file

* remove visitors test, since it will be added in the other PR

* remove equal from CMakeLists.txt

* refactor links in the spec

* revert unwanted changes

* remove equal from unit test manifest

* revert links modification in spec

* add namespace

* split SSLTs for comaprison ops into seperate files

* fix SSLTs names

* add missing new lines

* udpate output type in spec

* rafactor numeric backend test to template

* merge numeric template tests into equal
2021-08-11 13:04:30 +03:00
Ilya Churaev ff500b0bed Fixed documentation code style (#7008) 2021-08-11 09:38:43 +03:00
Dawid Kożykowski 2a5584791c Revise LogicalOr operation reference implementation (#6867)
* add tests for logical or op

* remove redundant overrides

* add inputs/outputs tensor check

* create type_prop typed test for logical ops

* add new line in logical_or.cpp file

* refactor logical_and type_prop test

* update test labels

* beautify or.hpp file

* fix formatting to match clang-format

* beautifyfunctional test files

* move validate_and_infer_elementwise_logical() implementation to validate_and_infer_types()

* refactor logial or functional test to

* refactor logial aA functional test t

* update constants file

* add file to instantiate TEST_P and avoid test execution duplication

* add missing  empty lies at the end of files

* remove unused variable
2021-08-10 08:38:11 +03:00
Gabriele Galiero Casay aa3645cb53 Avoid template test from executing multiple times (#6948) 2021-08-09 11:42:05 +03:00
Gabriele Galiero Casay 371fc7aee4 Enable low precision types in ConvertLike operation reference implementation (#6890)
* Enable low precision types for ConvertLike operation

* Migrate backend unit test suite to template plugin reference tests

* Fix typo in naming convention

* Avoid duplication of template plugin tests execution

* Add file to instantiate TEST_P and avoid test execution duplication
2021-08-06 11:19:16 +03:00