platform/upstream/dldt.git
4 years agoAdd Round-5 operation (#2328)
Anton Chetverikov [Tue, 20 Oct 2020 15:36:19 +0000 (18:36 +0300)]
Add Round-5 operation (#2328)

* Add Round-5 operation

* Add ONNX Round to supported operation list

* Add ngraph implementation for Round operation

* Update MO part

* Create UnaryElementwise class, update Round Operation

* Fix mode attr in mxnet extractor

* Add tests for Round shape infer

* Update 'enable' attr

* Update MO IR Reader to support UnaryElementwise operations

* Minor test refactor

* Update ngraph Round operation

* Add reference implementation

* Add test for reference implementation

* Add test for shape infer

* Add test for IE IR Reader

* AddRound operation to python api

* Fix missed mode attr

* Update Round operation version

* Fix codestyle

* Add MxNet Round to supported layers list

* Fix error in reference

* Fix comments style

* Update CMake file

* Update Ngraph reference test

* Update IE IR Reader tests

* Return v0::Round operation

* Update shape infer tests

* Fix v0::Round reference

* Fix codestyle

* Enum instead of string

* Fix codestyle

* Add Mode attribute adapter

* Update Mode attr

* Fix reference for v0::Round

* Fix codestyle

* Fix mode attr

* Fix get() method

* Fix codestyle in python api

* Update test info

* Fix ngraph api part

* Ad round v5 to interpreter tests

* Fix codestyle is ie reader test

* Update ngraph python api __init__.py file

* Adde opser5 to dafault opsets in ie_ir reader

* Add parser for Round layer

* Remove redundant spaces

* Add round creator to appropriate list

* Remove redundant import

* Commit to bump infrastructure version

I'm sorry for this, but this commit will be squashed on merge to master anyway and it is needed for your PR to correctly pass the pipeline

* Fix import

* fix codestyle

* Fix ngraph api part

* Add shape infer tests in python api

* Add .upper() for mode attr

* Refactor MO shape infer test for Round op

* Update tests and add comments

* Revert "Commit to bump infrastructure version"

This reverts commit 56e6ae1e4c31439ba0d4636fa76782c03bf30aca.

* remove parser for Round layer

* Update Ronund-5 evaluate test

* Resolve review comments

Co-authored-by: User <user@nnlvdp-achetver.inn.intel.com>
Co-authored-by: Andrey Babushkin <andrey.babushkin@intel.com>
Co-authored-by: Anton Chetverikov <anton.chetverikov@.intel.com>
4 years agoCleanup single_layer_tests (#2716)
Irina Efode [Tue, 20 Oct 2020 11:31:59 +0000 (14:31 +0300)]
Cleanup single_layer_tests (#2716)

4 years agoAdd LogSoftmax-5 to MO and ngraph (#2409)
Maxim Vafin [Tue, 20 Oct 2020 10:40:06 +0000 (13:40 +0300)]
Add LogSoftmax-5 to MO and ngraph (#2409)

Co-authored-by: Evgeny Lazarev <evgeny.lazarev@intel.com>
4 years agoRemove deprecated Any op from nGraph (#2719)
Mateusz Tabaka [Tue, 20 Oct 2020 09:36:46 +0000 (11:36 +0200)]
Remove deprecated Any op from nGraph (#2719)

4 years ago[ONNX] Add type conversion for Pow op inputs (#2589)
Mateusz Tabaka [Tue, 20 Oct 2020 09:19:03 +0000 (11:19 +0200)]
[ONNX] Add type conversion for Pow op inputs (#2589)

Co-authored-by: mitruska <katarzyna.mitrus@intel.com>
4 years agoImplement LookupTableInsert shape inference (#2348)
Roman Kazantsev [Tue, 20 Oct 2020 06:57:55 +0000 (09:57 +0300)]
Implement LookupTableInsert shape inference (#2348)

* Implement LookupTableInsertV2 shape inference

It is needed if other nodes not beeing pruned in the graph
have a conditional dependence on LookupTableInsertV2 node.

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Fix after core-review #1

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Fix the code after review #2

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Fix after code review #3

4 years ago[JAVA] Fixed IECore constructor (#2685)
Anna Likholat [Mon, 19 Oct 2020 16:38:55 +0000 (19:38 +0300)]
[JAVA] Fixed IECore constructor (#2685)

4 years ago[IE CLDNN] DispatchData refactoring (#2508)
Vladimir Paramuzov [Mon, 19 Oct 2020 15:45:05 +0000 (18:45 +0300)]
[IE CLDNN] DispatchData refactoring (#2508)

4 years ago[CPU] CTCLoss performance improvement.
Nikolay Shchegolev [Mon, 5 Oct 2020 08:58:54 +0000 (11:58 +0300)]
[CPU] CTCLoss performance improvement.

4 years ago[PP GAPI] Extended plug-ins shared precision conversion tests to use (#2677)
Anton Potapov [Mon, 19 Oct 2020 09:35:59 +0000 (12:35 +0300)]
[PP GAPI] Extended plug-ins shared precision conversion tests to use (#2677)

`GetBlob()` as well

- test were extended to cover case when input tensors are copied into
Blob return by `InferRequest::GetBlob`
- channel number of input tensor is made a test parameter

4 years agoImprove GNA MT sychronization (#2553)
Krzysztof Bruniecki [Mon, 19 Oct 2020 09:21:01 +0000 (11:21 +0200)]
Improve GNA MT sychronization (#2553)

* Sync GNA lib calls to avoid multi threads and plugins crash

* Remove TODO

* Enable sync for GNA1

* Fix GNA1 sync

* Add core_threading_tests to GNA Plugin to address story 31709

* Disable and change test description

4 years agoRemove `memcheck_pregen_irs_tests` MemCheck configs due obsolescence (#2693)
Vitaliy Urusovskij [Mon, 19 Oct 2020 06:48:38 +0000 (09:48 +0300)]
Remove `memcheck_pregen_irs_tests` MemCheck configs due obsolescence (#2693)

4 years agoRevise LRN reference implementation (#2672)
Mateusz Tabaka [Mon, 19 Oct 2020 05:40:04 +0000 (07:40 +0200)]
Revise LRN reference implementation (#2672)

* fix typo in LRN docs

* fix link to reference in LRN doc

* LRN, LRN_IE types alignment with spec

* align LRN ref implementation to plugins behavior

* update LRN docs

* Improve LRN reference implementation performance

* restore LRN constructor with no axes in the input

* apply code format

* revert double->float size_t->int change

* small fix to example in doc

* revert double->float size_t->int in onnx_importer and backend tests

* Changes to docs after review

4 years ago[opset5] ngraph implementation of Loop op (#2583)
Ivan Tikhonov [Mon, 19 Oct 2020 03:53:46 +0000 (06:53 +0300)]
[opset5] ngraph implementation of Loop op (#2583)

* Loop op ngraph implementation, update IE IR Reader and ngraph to cnn converter

* refactoring SubGraphOp class

* type prop unit tests

* ngraph code style

* update comment

* single layer tests for Loop operation

* fix file name

* Add SpecialBodyPorts attribute in Loop op, update single layer tests

* add several new tests cases, strict checks in Loop impl, temporary disable single layer tests

* ngraph codestyle, refactoring, clone_new_args test

* resolve review remarks

* fix build

* fix tests

* add a new constructor of Loop op, resolve review remarks

4 years ago[IE CLDNN] Added HSigmoid operation (#2700)
Roman Lyamin [Sun, 18 Oct 2020 17:47:22 +0000 (20:47 +0300)]
[IE CLDNN] Added HSigmoid operation (#2700)

4 years agoImprove python_wheel CMake target (#2688)
Michał Karzyński [Sun, 18 Oct 2020 15:12:25 +0000 (17:12 +0200)]
Improve python_wheel CMake target (#2688)

4 years agoTweaks for ONNX scoreboard (#2697)
Michał Karzyński [Sun, 18 Oct 2020 15:08:06 +0000 (17:08 +0200)]
Tweaks for ONNX scoreboard (#2697)

4 years ago[install_dependencies.sh] install latest cmake if current version is lower 3.13 ...
Alexey Suhov [Fri, 16 Oct 2020 18:03:46 +0000 (21:03 +0300)]
[install_dependencies.sh] install latest cmake if current version is lower 3.13 (#2695)

* [install_dependencies.sh] install latest cmake if current version is lower 3.13

* add shellcheck for Ubuntu

* install python 2.7 for Ubuntu

4 years agoUpdating broken link on getting started linux doc (#2507)
Jesus Espinoza [Fri, 16 Oct 2020 16:02:41 +0000 (09:02 -0700)]
Updating broken link on getting started linux doc (#2507)

Link to build instructions was broken, updated link to the correct location.

4 years agoSmall fix for python doc (#2696)
Ilya Churaev [Fri, 16 Oct 2020 15:12:20 +0000 (18:12 +0300)]
Small fix for python doc (#2696)

4 years ago[GNA][Speech sample] Add option to specify blob names (#1529)
Andrey Dmitriev [Fri, 16 Oct 2020 12:34:22 +0000 (15:34 +0300)]
[GNA][Speech sample] Add option to specify blob names  (#1529)

* Added output names

* Add input, output, ref names

* Added zero scale factor

* Adding support for multiple reference files

4 years ago[GNA] Fix remove layer + identity layer insertion (#2626)
Kamil Magierski [Fri, 16 Oct 2020 10:23:32 +0000 (12:23 +0200)]
[GNA] Fix remove layer + identity layer insertion (#2626)

* [GNA] Fix remove layer + identity layer insertion

test stub

Test impl

style

hpp style

* disable FP16 for GPU

4 years agoRemove segfault marks form test_unary_op_scalar and test_range tests (#2692)
Michał Karzyński [Fri, 16 Oct 2020 09:34:26 +0000 (11:34 +0200)]
Remove segfault marks form test_unary_op_scalar and test_range tests (#2692)

Co-authored-by: Ewa21 <ewa.tusien@intel.com>
4 years agoAvoid unnecessary Reshape in ONNX Softmax impl (#2686)
Tomasz Dołbniak [Fri, 16 Oct 2020 09:30:20 +0000 (11:30 +0200)]
Avoid unnecessary Reshape in ONNX Softmax impl (#2686)

4 years agoUse GatherND-5 in the onnx_importer (#2634)
Tomasz Dołbniak [Fri, 16 Oct 2020 09:30:00 +0000 (11:30 +0200)]
Use GatherND-5 in the onnx_importer (#2634)

4 years agoAdded apiValidator post-build checks for WCOS compliance (#2657)
Ilya Lavrenov [Fri, 16 Oct 2020 07:58:38 +0000 (10:58 +0300)]
Added apiValidator post-build checks for WCOS compliance (#2657)

* Added apiValidator post-build checks for WCOS compiance

* WA for cmake

* Additional checks for old WDK version

4 years ago[IE CLDNN] Add FP16 axes precision to Interpolate-4 (#2681)
Egor Churaev [Fri, 16 Oct 2020 07:14:22 +0000 (10:14 +0300)]
[IE CLDNN] Add FP16 axes precision to Interpolate-4 (#2681)

JIRA: 40805

4 years agoWorkaround for Cython issue on Python 3.8 (#2684)
Michał Karzyński [Fri, 16 Oct 2020 06:44:03 +0000 (08:44 +0200)]
Workaround for Cython issue on Python 3.8 (#2684)

4 years agoSet chmod +x for model_zoo_preprocess.sh
azhogov [Fri, 16 Oct 2020 05:19:46 +0000 (08:19 +0300)]
Set chmod +x for model_zoo_preprocess.sh

4 years ago[NGRAPH] Fix UNITY build under Windows (#2678)
Vladislav Vinogradov [Fri, 16 Oct 2020 03:57:30 +0000 (06:57 +0300)]
[NGRAPH] Fix UNITY build under Windows (#2678)

4 years agoReference Implementation for RegionYolo operator (#2474)
Gabriele Galiero Casay [Thu, 15 Oct 2020 20:30:12 +0000 (22:30 +0200)]
Reference Implementation for RegionYolo operator (#2474)

4 years agoUpdate nGraph Python API build instructions (#2610)
Michał Karzyński [Thu, 15 Oct 2020 20:15:33 +0000 (22:15 +0200)]
Update nGraph Python API build instructions (#2610)

4 years agoBroadcast visit_attributes fix (#2649)
Evgenya Stepyreva [Thu, 15 Oct 2020 18:39:42 +0000 (21:39 +0300)]
Broadcast visit_attributes fix (#2649)

* Broadcast visit_attributes fix

* Broadcast: Python API adjustment

* Revert back deserialization change

4 years ago[ONNX] Replace global poolings with reduce operations (#2650)
Tomasz Socha [Thu, 15 Oct 2020 17:04:43 +0000 (19:04 +0200)]
[ONNX] Replace global poolings with reduce operations (#2650)

4 years agoUpdate test_shufflenetv2 tolerance values (#2674)
Mateusz Tabaka [Thu, 15 Oct 2020 13:47:20 +0000 (15:47 +0200)]
Update test_shufflenetv2 tolerance values (#2674)

* Update test_shufflenetv2 tolerance values

* Update model path

* Update models xfails

* Update mounting volumes to container

Co-authored-by: rblaczko <rafal.blaczkowski@intel.com>
4 years agoReorgYolo reference implementation (#2384)
Katarzyna Mitrus [Thu, 15 Oct 2020 10:42:21 +0000 (12:42 +0200)]
ReorgYolo reference implementation (#2384)

* Align ReorgYolo to the spec (vector strides -> int stride)

* ReorgYolo ref impl

* ReorgYolo evaluate method

* ReorgYolo tests

* Tests update

* Style apply

* Add some coments

* Code refactor

* Comment update

* Style apply

* Build fix, mark evaluate as override

* Revert "Align ReorgYolo to the spec (vector strides -> int stride)"

* Use int_executable instead of evaluate

* Use char* instead of templates

* Code refactor

* Comment update

* Code review comment

* Add constructor aligned with spec

* Update shape validation

* Update attributes tests

* Add type_prop tests

* Update backend tests

* Add single layer tests

* Update the spec

* Remove wrong transformation test

4 years ago[IE CLDNN] Fixes for GatherTree and ReverseSequence (#2660)
Vladimir Paramuzov [Thu, 15 Oct 2020 07:28:00 +0000 (10:28 +0300)]
[IE CLDNN] Fixes for GatherTree and ReverseSequence  (#2660)

4 years agoAdd hsigmoid op to ngraph (#2647)
iliya mironov [Thu, 15 Oct 2020 04:41:46 +0000 (07:41 +0300)]
Add hsigmoid op to ngraph (#2647)

4 years agoExtend MO for operation GatherND (#2540)
Roman Kazantsev [Thu, 15 Oct 2020 04:40:58 +0000 (07:40 +0300)]
Extend MO for operation GatherND (#2540)

* Extend MO for operation GatherND

* Update documentation

* Rename GatherNd.py to gathernd.py

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
4 years agoFixed CVS-35316 (#2072)
Anastasiya Ageeva [Wed, 14 Oct 2020 18:50:02 +0000 (21:50 +0300)]
Fixed CVS-35316 (#2072)

4 years agoTime tests improvements (#2642)
Vitaliy Urusovskij [Wed, 14 Oct 2020 17:05:52 +0000 (20:05 +0300)]
Time tests improvements (#2642)

* Remove extra functions from run_timetest.py

* Add `log.debug` of raw and aggregated statistics in run_timetest.py

* Implement storing of models locally for test_timetest.py

4 years agoLoop-5 operation specification (#2291)
Evgeny Lazarev [Wed, 14 Oct 2020 16:12:25 +0000 (19:12 +0300)]
Loop-5 operation specification (#2291)

The Loop-5 operation specification

4 years agoFix itt build (#2662)
Andrey Somsikov [Wed, 14 Oct 2020 15:35:21 +0000 (18:35 +0300)]
Fix itt build (#2662)

4 years agosetupvars.sh: Updated setting pyenv error to warning. (#2663)
Artyom Anokhov [Wed, 14 Oct 2020 15:33:17 +0000 (18:33 +0300)]
setupvars.sh: Updated setting pyenv error to warning. (#2663)

4 years agonGraph implementation of NMS-5 (without `evaluate()`) (#2651)
Vladimir Gavrilov [Wed, 14 Oct 2020 13:47:43 +0000 (16:47 +0300)]
nGraph implementation of NMS-5 (without `evaluate()`) (#2651)

* Written nGraph NMS-5 without evaluate().

* Used NGRAPH_RTTI_DECLARATION.

4 years agoLeaky relu transformation refactor (#2640)
Evgeny Lazarev [Wed, 14 Oct 2020 13:43:29 +0000 (16:43 +0300)]
Leaky relu transformation refactor (#2640)

* Refactored LeakyRelu transformation

* Added unit test for LeakyRelu transformation + removed duplicate test function valued_const

4 years ago[IE][VPU]: Added DSR_Reshape tests with dynamic output shape descriptor (#2607)
Maksim Doronin [Wed, 14 Oct 2020 11:30:59 +0000 (14:30 +0300)]
[IE][VPU]: Added DSR_Reshape tests with dynamic output shape descriptor (#2607)

* Added DSR_Reshape tests with dynamic output shape descriptor

4 years ago[IE][VPU]: TopK: Relax requirement for supporting Sort::None mode if K==1 (#2653)
Andrew Bakalin [Wed, 14 Oct 2020 10:35:17 +0000 (13:35 +0300)]
[IE][VPU]: TopK: Relax requirement for supporting Sort::None mode if K==1 (#2653)

* Update firmware
* Add TopK tests
* Disable some cases

4 years agoUse ittnotify built from sources (#2577)
Andrey Somsikov [Wed, 14 Oct 2020 10:08:06 +0000 (13:08 +0300)]
Use  ittnotify built from sources (#2577)

* Use  ittnotify built from sources

ITT tracing was only possible on the platfroms supported by VTune.
Building ittnotify from sources removes VTune dependency.

ITT traces was found significantly slowdown tests execution time.
Disabling ENABLE_PROFILING_ITT by default. This is also
a current behavior of Intel Distribution of OpenVINO.

* Fix missprint

* Add include directories to itt

4 years agoProvide ONNX external data mechanism to ReadNetwork (#2588)
Mateusz Bencer [Wed, 14 Oct 2020 09:30:53 +0000 (11:30 +0200)]
Provide ONNX external data mechanism to ReadNetwork (#2588)

* added unit test

* added python test

* using pword approach

* Added passing path to onnx reader

* support for wstring

* Added more tests

* Apply suggestions from code review

Co-authored-by: Michał Karzyński <4430709+postrational@users.noreply.github.com>
* fix build for Windows

* styles applied

* Fixed Windows tests

* styles applied

* fixed styles in tests

* review remarks

* cmake order

* Used target_compile_definitions instead of add_definitions

* Move ONNX_TEST_MODELS to other scope

Co-authored-by: Michał Karzyński <4430709+postrational@users.noreply.github.com>
4 years agoExtend nGraph for operation GatherND-5 and implement reference (#2587)
Roman Kazantsev [Wed, 14 Oct 2020 09:20:22 +0000 (12:20 +0300)]
Extend nGraph for operation GatherND-5 and implement reference (#2587)

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
4 years agoFix using numpy scalars in Python API (#2520)
Mateusz Bencer [Wed, 14 Oct 2020 08:17:44 +0000 (10:17 +0200)]
Fix using numpy scalars in Python API (#2520)

* fixed numpy scalars

* reverted tests changes

* python style fixed

4 years ago[IE][VPU]: Support DTS for Split (#2576)
Andrew Bakalin [Wed, 14 Oct 2020 08:02:21 +0000 (11:02 +0300)]
[IE][VPU]: Support DTS for Split (#2576)

* [IE Tests] Remove unnecessary cout
* [VPU] Add DTS for split
* [VPU][Tests] Add tests

4 years agoMove legacy transformations and ops to legacy library (#2624)
Gleb Kazantaev [Wed, 14 Oct 2020 07:58:01 +0000 (10:58 +0300)]
Move legacy transformations and ops to legacy library (#2624)

* Initial movement

* Divided transformations to common and legacy

* Changed ngraph visibility to ie_api.h

* CommonTransformaitons to Internal

* New trasnformations location structure

* fixde typo; move convert_quantize_dequantize to common

* Added control_flow folder

4 years agoused native LTO support from cmake 3.9.6 (#2625)
Ilya Lavrenov [Wed, 14 Oct 2020 07:43:24 +0000 (10:43 +0300)]
used native LTO support from cmake 3.9.6 (#2625)

* used native LTO support from cmake 3.9.6

* Removed compilation flags push / pop

* Fixes

* Fixes for VPU unit tests

* Temp WA for old gcc

4 years agoDo reshape only if input shapes will be changed (#2632)
Ilya Churaev [Wed, 14 Oct 2020 06:42:39 +0000 (09:42 +0300)]
Do reshape only if input shapes will be changed (#2632)

* Added private reshape

* Removed incorrect check

4 years agoRound-5 nGraph implementation (#2652)
Anton Chetverikov [Wed, 14 Oct 2020 05:10:05 +0000 (08:10 +0300)]
Round-5 nGraph implementation (#2652)

* Implement nGraph Round-5 operation

* Remove reference implementation

* Add shape infer tests

* Fix codestyle

4 years agoAdd LogSoftmax-5 to ngraph (#2645)
Maxim Vafin [Wed, 14 Oct 2020 05:08:27 +0000 (08:08 +0300)]
Add LogSoftmax-5 to ngraph (#2645)

4 years agoGeneral code fixes (#2609)
Maksim Derbasov [Wed, 14 Oct 2020 03:46:12 +0000 (06:46 +0300)]
General code fixes (#2609)

4 years ago[IE TESTS] Remove some deprecated single layer tests (#2646)
Irina Efode [Tue, 13 Oct 2020 21:58:28 +0000 (00:58 +0300)]
[IE TESTS] Remove some deprecated single layer tests (#2646)

* [IE TESTS] Remove some deprecated single layer tests

* Gather Tree

4 years ago[IE][NGRAPH][BUILD] Enable UNITY build for more targets (#2592)
Vladislav Vinogradov [Tue, 13 Oct 2020 14:35:55 +0000 (17:35 +0300)]
[IE][NGRAPH][BUILD] Enable UNITY build for more targets (#2592)

* Avoid symbols clash due to source merging.
* Tested on Ubuntu 20.04 with GCC 9.3.0.

4 years agoPlugin interface refactoring (#2591)
Ilya Lavrenov [Tue, 13 Oct 2020 14:22:51 +0000 (17:22 +0300)]
Plugin interface refactoring (#2591)

* Simplified plugin interface

* Allow not implemented

* Fixes

* Fixed CPU plugin tests

* Fixed tests dependencies

* Fixes

* Fixed GPU plugin compilation

* Renamed plugin

* Fixes

* Removed tests for plugin base

* Fix2

* Fix 2

* Define a macro to define plugin creation function

* Clean-up

* Fixed OSX build

* Fixed CentOS

* Removed statuscode from IExecutableNetworkInternal interface

* Interface

* Removed not used macro

* QueryNetwork returns result using return value

* LoadNetwork interface

* Fixed compilation with private plugins

* Fixed compilation when NGRAPH_INTERP is not enabled

* Return ExecutableNetwork from ImportNetwork with fileName

* Updated GetContext method

* Return exec graph information as return value

* Message about deprecation of Export with file name

* Message about deprecation of QueryState

* Updated ExecutableNetwork::GetConfig signature

* Updated ExecutableNetwork::GetMetric signature

* Updated docs

* WIP createIR

* Simplified IR creation

* CreateInferRequest returns value

* Removed GetExecutor from ExecutableNetworkThreadSafeDefault

* execDataPreprocessing is protected

* Fixed mock test

4 years ago[IE CLDNN] Revert fix for profiling of multiple kernel implementations (#2219) (...
Jedrzej Hajduczenia [Tue, 13 Oct 2020 13:40:30 +0000 (15:40 +0200)]
[IE CLDNN] Revert fix for profiling of multiple kernel implementations (#2219) (#2595)

4 years agoGitHub CI: Add files_size.yml (#2570)
Alexander Zhogov [Tue, 13 Oct 2020 10:27:34 +0000 (13:27 +0300)]
GitHub CI: Add files_size.yml (#2570)

* GitHub CI: Add files_size.yml

* Update job name

4 years ago[IE][BUILD] Fix C5208 warning under Windows (#2628)
Vladislav Vinogradov [Tue, 13 Oct 2020 08:37:30 +0000 (11:37 +0300)]
[IE][BUILD] Fix C5208 warning under Windows (#2628)

* C++ feature in C `typedef struct` code.
* The warning can be promoted to error in dependent projects.

C5208: unnamed class used in typedef name cannot declare members other than
non-static data members, member enumerations, or member classes

4 years agoadd build option USE_SYSTEM_PUGIXML (#2502)
helmutg [Mon, 12 Oct 2020 20:24:24 +0000 (22:24 +0200)]
add build option USE_SYSTEM_PUGIXML (#2502)

It allows skipping inference-engine/thirdparty/pugixml and using the
system copy instead.

Thanks to @Osse for helping understand cmake scoping rules.

Co-authored-by: Helmut Grohne <helmut.grohne@intenta.de>
4 years agoAzure CI: Fix nGraph ONNX
Alexander Zhogov [Mon, 12 Oct 2020 16:23:00 +0000 (19:23 +0300)]
Azure CI: Fix nGraph ONNX

4 years agoAzure CI: Disable steps in nGraph ONNX
Alexander Zhogov [Mon, 12 Oct 2020 16:20:28 +0000 (19:20 +0300)]
Azure CI: Disable steps in nGraph ONNX

4 years agoAzure CI: Add linux_ngraph_onnx.yml
azhogov [Mon, 12 Oct 2020 15:46:14 +0000 (18:46 +0300)]
Azure CI: Add linux_ngraph_onnx.yml

4 years ago[IE Myriad] Fix layer tests for logical_and (#2622)
Nikita Kudriavtsev [Mon, 12 Oct 2020 13:37:31 +0000 (16:37 +0300)]
[IE Myriad] Fix layer tests for logical_and (#2622)

4 years agoFixed ODR for LTO with gcc5 (#2615)
Ilya Lavrenov [Mon, 12 Oct 2020 11:16:30 +0000 (14:16 +0300)]
Fixed ODR for LTO with gcc5 (#2615)

4 years ago[MO] [Kaldi] Add TDNN Component (#1870)
Pavel Esir [Mon, 12 Oct 2020 11:10:27 +0000 (14:10 +0300)]
[MO] [Kaldi] Add TDNN Component (#1870)

* [MO] [Kaldi] Added TDNN Component

* TdnnComponent replacer graphical comment updated

* Added SpecAugmentTimeMaskComponent

* some refactor of memoryoffset shape_infer

* moved memoryoffset splitting to the middle stage

* some corrections
- set `need_shape_inferenc`=False in split_memoryoffset
- use cycle instead of pattern in tdnn_replacer

* separated splitting of MemoryOffsets in LSTM and TDNN blocks

* set transpose_weights=True in TdnnComponent

* Corrected Supported_Frameworks_Layers

* corrected comments

* separate naming for tdnn and lstm memoryoffset splits

* corrected BOM file

* corrected generaldropout_ext.py and removed 'has_default' for tdnn_component

* corrections after PR review

* renamed LSTM -> recurrent; added setting element_size for paired nodes of tdnn_memoffset and othe minor changes

* Update split_tdnn_memoryoffset.py

* corrected partial infer with new API in elemental.py and split_tdnn_memoryoffset.py

4 years ago[IE TOOLS] Support of models with output port in names (#2594)
Anastasia Kuporosova [Mon, 12 Oct 2020 10:52:49 +0000 (13:52 +0300)]
[IE TOOLS] Support of models with output port in names (#2594)

4 years ago[MO] Fix ONNX Clamp-11 shape infer with no min/max inputs (#2603)
Pavel Esir [Mon, 12 Oct 2020 06:55:45 +0000 (09:55 +0300)]
[MO] Fix ONNX Clamp-11 shape infer with no min/max inputs (#2603)

4 years ago[IE CLDNN] TopK registry spill avoiding for sort-by-value mode (#2590)
Ilya Znamenskiy [Mon, 12 Oct 2020 05:36:57 +0000 (08:36 +0300)]
[IE CLDNN] TopK registry spill avoiding for sort-by-value mode (#2590)

4 years agoTests and docs for registering custom ONNX operators (#2416)
Mateusz Tabaka [Mon, 12 Oct 2020 04:36:19 +0000 (06:36 +0200)]
Tests and docs for registering custom ONNX operators (#2416)

* Add tests, examples and documentation changes for custom ONNX operators registration mechanism

* Change snippet paths

* fix CoreThreadingTests.ReadNetwork - data race in ops_bridge

* Make TemplateExtension::Operation externally visible

* changes after review

* apply code format

* use std::int64_t

* forward declare get_attribute_value specializations

* introduce unregister_operator in onnx_importer

* onnx_custom_op - lock mem first then take a buffer

* func tests - create template_extension via make_so_pointer

* fix build with NGRAPH_ONNX_IMPORT_ENABLE=OFF

* remove exports from Operation and Extension

* Move multithreaded AddExtension test to different directory to it can be excluded when NGRAPH_ONNX_IMPORT_ENABLE=OFF

* Dont include Extension tests if ENABLE_MKL_DNN=OFF

* fix excluding onnx_reader tests

* include extension tests only if mkl is enabled

* add comment on empty blob

* use register_operator conditionally in template_extension

* fix docs after review

* create static library from onnx_custom_op

* add additional test for unregister_operator

* move model example after register step

* revert changes to unit tests

* update ngraphConfig.cmake.in header

* add headers to onnx_custom_op

* changes to docs CMakeLists

* remove redundant onnx_importer dependency

* remove extension directory from func tests

* make onnx_importer a component of ngraph package

* docs fixes

* update header of ngraph/cmake/share/ngraphConfig.cmake.in with ngraph_onnx_importer_FOUND

4 years agoFixed LTO for gcc-9 (ubuntu 20.04) (#2616)
Ilya Lavrenov [Mon, 12 Oct 2020 03:57:59 +0000 (06:57 +0300)]
Fixed LTO for gcc-9 (ubuntu 20.04) (#2616)

* Fixed LTO for gcc-9 (ubuntu 20.04)

* Fixed ODR rules violation for MKLDNN deprecated functional tests

* Fixed tests build for templatePlugin

4 years agoAllow to specify both in/out precision, add in/out layout in tests (#2516)
Alexander Perepelkin [Sun, 11 Oct 2020 08:05:55 +0000 (11:05 +0300)]
Allow to specify both in/out precision, add in/out layout in tests (#2516)

* test definitions

* CPU plugin shared tests

* CPU plugin custom tests

* GNA plugin shared tests

* GPU plugin shared tests

* MYR plugin shared tests

* TML plugin shared tests

4 years agoDOCS: added code snippets compilation and fixes (#2606)
Ilya Lavrenov [Sat, 10 Oct 2020 08:19:16 +0000 (11:19 +0300)]
DOCS: added code snippets compilation and fixes (#2606)

4 years agoUpdate ONNX importer LSTM to use v5 LSTMSequence (#2511)
Katarzyna Mitrus [Fri, 9 Oct 2020 13:24:10 +0000 (15:24 +0200)]
Update ONNX importer LSTM to use v5 LSTMSequence  (#2511)

4 years agoFine-Grain Transformation pipeline tuning (#2547)
Gleb Kazantaev [Fri, 9 Oct 2020 12:33:19 +0000 (15:33 +0300)]
Fine-Grain Transformation pipeline tuning (#2547)

* Initial version of transformation callback refactoring

* Improved fine-grain tuning for transformation pipeline

* Check disabled matchers in GraphRewrite

* Avoid deprecated classes inside PassConfig

* Enabled DepthToSpace fusion by default

* Removed doulbe search in map

* Moved back pass_config.hpp; Added doxygen documentation for new class and methods

* Added doxygen comment for Manager and GraphRewrite new mthods

4 years agoShellcheck update (#2557)
Ilya Lavrenov [Fri, 9 Oct 2020 10:25:53 +0000 (13:25 +0300)]
Shellcheck update (#2557)

* Fixed SC2236 rules

* Fixed SC2086 rule

* Small fixes in other scripts

4 years agoAdd strict timeout for test execution (#2598)
Rafal Blaczkowski [Fri, 9 Oct 2020 10:08:50 +0000 (12:08 +0200)]
Add strict timeout for test execution (#2598)

4 years agongraph python sample (#2574)
Mikhail Ryzhov [Fri, 9 Oct 2020 10:05:55 +0000 (13:05 +0300)]
ngraph python sample (#2574)

This sample demonstrates how to execute an inference using ngraph::Function to create a network
- added sample
- added readme
- added lenet weights

4 years ago[MO] Fix many spelling and grammar errors (#2543)
Roman Donchenko [Fri, 9 Oct 2020 09:16:12 +0000 (12:16 +0300)]
[MO] Fix many spelling and grammar errors (#2543)

4 years ago[IE][VPU]: Added wrapper for LogicalNot layer (#2562)
Nikita Kudriavtsev [Fri, 9 Oct 2020 09:09:14 +0000 (12:09 +0300)]
[IE][VPU]: Added wrapper for LogicalNot layer (#2562)

4 years agoSpecify LogSoftmax-5 operation (#2382)
Maxim Vafin [Thu, 8 Oct 2020 17:04:38 +0000 (20:04 +0300)]
Specify LogSoftmax-5 operation (#2382)

* Specify LogSoftmax operation

* Fix feedback

4 years agodoc: add openvino tag link on StackOverflow (#2585)
Kate Generalova [Thu, 8 Oct 2020 13:17:30 +0000 (16:17 +0300)]
doc: add openvino tag link on StackOverflow (#2585)

4 years agoNonMaxSuppression-5 operation specification (#2310)
Vladimir Gavrilov [Thu, 8 Oct 2020 12:58:39 +0000 (15:58 +0300)]
NonMaxSuppression-5 operation specification (#2310)

* The specification of NonMaxSuppression-5.

* Replaced opset4 with opset5.

* Fixed func(iou) when soft_nms_sigma == 0.

* Now outputs of NMS-5 have dynamic shapes.

* Now inputs 3, 4, 5, 6 can be 0D or 1D tensors.

* Now output 3 is 1D tensor.

4 years agonGraph Python API tweaks and tutorial (#2471)
Michał Karzyński [Thu, 8 Oct 2020 12:09:17 +0000 (14:09 +0200)]
nGraph Python API tweaks and tutorial (#2471)

4 years agoSpecify `cl_cache_dir` env var: (#2581)
Vitaliy Urusovskij [Thu, 8 Oct 2020 12:02:31 +0000 (15:02 +0300)]
Specify `cl_cache_dir` env var: (#2581)

1. General behaviour doesn't work for some compute-runtime versions.
Specification of `cl_cache_dir` fixes it

4 years agoPrepare new test configuration for test_timetest.py (#2561)
Vitaliy Urusovskij [Thu, 8 Oct 2020 07:30:43 +0000 (10:30 +0300)]
Prepare new test configuration for test_timetest.py (#2561)

* Add logging of DB upload to tconf with refs saving

* Prepare `.automation/tgl_test_config.yml` with models from VPUX package

* Add restriction on `exe` and `model` existence in run_timetest.py

4 years ago[IE CLDNN] Fix profiling of multiple kernel implementations (#2219)
Jedrzej Hajduczenia [Thu, 8 Oct 2020 06:22:34 +0000 (08:22 +0200)]
[IE CLDNN] Fix profiling of multiple kernel implementations (#2219)

4 years ago[IE CLDNN] Refreshment of convolution_gpu_fs_byx_fsv32 kernel (#2536)
Mikołaj Życzyński [Thu, 8 Oct 2020 06:20:51 +0000 (08:20 +0200)]
[IE CLDNN] Refreshment of convolution_gpu_fs_byx_fsv32 kernel (#2536)

4 years agoUpdated ConstantFolding pass to propagate friendly name (#2572)
Gleb Kazantaev [Thu, 8 Oct 2020 06:16:28 +0000 (09:16 +0300)]
Updated ConstantFolding pass to propagate friendly name (#2572)

* Fixed concat output name when decomposing shape_of in CF

* Added friendly_name propagation for CF pass

* Propagate runtime info inside ConstantFolding pass

* Fixed rt info merge strategy to avoid cases when merge is not implemented but attributes number is equal to 1

4 years agoincrease http timeout for artifacts uploading (#2571)
Konstantin Satunin [Thu, 8 Oct 2020 06:12:22 +0000 (09:12 +0300)]
increase http timeout for artifacts uploading (#2571)

4 years ago[IE Tests] Added NormalizeL2 tests (#2327)
Liubov Batanina [Thu, 8 Oct 2020 04:23:25 +0000 (07:23 +0300)]
[IE Tests] Added NormalizeL2 tests (#2327)

* Added NormalizeL2 tests

* Added NormalizeL2 reference

* Add nGraph tests

* Fix tests

* Added NormalizeL2 builder

4 years agoAdd specification for Round operation (#2238)
Anton Chetverikov [Wed, 7 Oct 2020 15:33:43 +0000 (18:33 +0300)]
Add specification for Round operation (#2238)

* Add specification for Round operation

* Create opset5.md file

* Resolve review comments

* Remove useless formula section from specification

* Update specification

* Update Round specification

* Resolve review comments

4 years agoAdd HSigmoid spec (#2412)
iliya mironov [Wed, 7 Oct 2020 15:24:54 +0000 (18:24 +0300)]
Add HSigmoid spec (#2412)

* Add HSigmoid spec

4 years agoTimetests test_runner improvements (#2552)
Vitaliy Urusovskij [Wed, 7 Oct 2020 14:15:02 +0000 (17:15 +0300)]
Timetests test_runner improvements (#2552)

* Remove `generate_tmp_path` as unnecessary after refactoring

* Add `check_positive_int` check for `-niter` CLI key

* Replace `TestConfDumper` with number of fixtures:
1. Save all test info in global `request` and `pytestconfig` fixtures
2. Add `test_info` fixture for retrieving test info from test
3. Add `prepare_tconf_with_refs` fixture for test conf dump