platform/upstream/dldt.git
3 years agoFix testcase CheckExecGraphInfoSerialization (#2973)
Jozef Daniecki [Thu, 5 Nov 2020 04:16:24 +0000 (05:16 +0100)]
Fix testcase CheckExecGraphInfoSerialization (#2973)

* Generate unique output file names in CheckExecGraphInfoSerialization testcase.

When multiple instances of this test were executed in parallel the same
file was accessed by multiple threads which was the cause of flakiness.

* Enable ExecGraphTests.CheckExecGraphInfoSerialization on GPU

3 years agoUpdate Custom_Layers_Guide.md (#2964)
Zoe Cayetano [Thu, 5 Nov 2020 04:01:21 +0000 (20:01 -0800)]
Update Custom_Layers_Guide.md (#2964)

Update misspelling on ONNX

3 years agoFix serialization of execution graph. (#2901)
Jozef Daniecki [Thu, 5 Nov 2020 03:52:08 +0000 (04:52 +0100)]
Fix serialization of execution graph. (#2901)

* Fix serialization of execution graph.

* Add exec graph comparison.

* Align execution graph serialization to old aproach.

* Revise error massages.

* Fixed execution graph comparison.

Now only attribute names are compared since values can differ on
different devices.

* Readability refactoring.

* Refactoring regarding readability.

3 years ago[IE CLDNN] Added inference precision into execution graph (#2913)
Vladimir Paramuzov [Wed, 4 Nov 2020 21:13:49 +0000 (00:13 +0300)]
[IE CLDNN] Added inference precision into execution graph (#2913)

3 years ago[CPU] CTCLoss sporadic issue. (#2934)
Nikolay Shchegolev [Wed, 4 Nov 2020 18:16:53 +0000 (21:16 +0300)]
[CPU] CTCLoss sporadic issue. (#2934)

* [CPU] CTCLoss sporadic issue.

* [Tests] Enable CTCLoss tests.

3 years ago[IE CLDNN] Add asymmetric quantization support to fsv16 imad general convolution...
Jedrzej Hajduczenia [Wed, 4 Nov 2020 14:31:40 +0000 (15:31 +0100)]
[IE CLDNN] Add asymmetric quantization support to fsv16 imad general convolution kernel (#2778)

3 years ago[IE CLDNN] Convolutition optimizations for small channels count (#2849)
Sergey Shlyapnikov [Wed, 4 Nov 2020 11:41:12 +0000 (14:41 +0300)]
[IE CLDNN] Convolutition optimizations for small channels count (#2849)

3 years ago[ONNX][PyTests] Fix result datatype missmatch (#2596)
Tomasz Socha [Wed, 4 Nov 2020 11:19:40 +0000 (12:19 +0100)]
[ONNX][PyTests] Fix result datatype missmatch (#2596)

3 years agoExpand ONNX functions to sub-graphs before import (#2733)
Michał Karzyński [Wed, 4 Nov 2020 09:48:34 +0000 (10:48 +0100)]
Expand ONNX functions to sub-graphs before import (#2733)

Co-authored-by: Bartosz Sledz <bartosz.sledz@intel.com>
3 years agoAzure CL: Improve yaml (#2951)
Alexander Zhogov [Tue, 3 Nov 2020 18:20:53 +0000 (21:20 +0300)]
Azure CL: Improve yaml (#2951)

* Azure CL: Improve yaml

* Fix installing requirements

* Add run onnxImporterUnitTests

3 years ago[IE] Add batched blob support (#2203)
Rafik Saliev [Tue, 3 Nov 2020 18:19:26 +0000 (19:19 +0100)]
[IE] Add batched blob support (#2203)

* [IE] Add batched blob support

New `class BatchedBlob : public CompoundBlob` defined to allow to pass multiple blobs as 1 InferRequest input.

Motivation: There is the special user case when a number of plain images (e.g. `NV12Blob`) should be passed as one input for network which batch size > 1.

`class CompoundBlob` is not applicable for such cases due to:
1. `NV12Blob` is `CompoundBlob` which prevents to combine multiple NV12 images to a CompoundBlob
2. The default behavior in most of plugins - do not accept generic CompoundBlob as `SetBlob()` argument

Adding `SetBlob(name, vector<Blob::Ptr>...)` to `class IInferRequest`, `class InferRequest`, `class IInferRequestInternal`, ...  - is not effective solution due to limited and specific use cases for `batched inputs`.

+ Apply rule-of-zero to CompoundBlob and inherited classes.

* Add "BATCHED_BLOB" optimization capability metric

* Add BatchedBlob usage to hello_nv12_input_classification

* Apply offline code review outcome:

1. Revert CompoundBlob public .ctors signatures
2. Remove 'workaround' .ctor for `BatchedBlob`
3. Revert tensor descriptors of `I420Blob` `NV12Blob` back to the 'fake' value.

* Code review fix

* Add functional tests for CPU, GPU, MULTI, HETERO

* update doc comment

* Apply code review change requests.

3 years agoUpdated requirements dependency (#2950)
Evgeny Lazarev [Tue, 3 Nov 2020 15:26:11 +0000 (18:26 +0300)]
Updated requirements dependency (#2950)

3 years agoSigmoid revise (#2942)
Piotr Szmelczynski [Tue, 3 Nov 2020 15:16:16 +0000 (16:16 +0100)]
Sigmoid revise (#2942)

* remove sigmoid_backprop

* Update Sigmoid spec

* Update Sigmoid spec

3 years ago[IE TESTS] Fix reg exp for issue 42029 (#2957)
Irina Efode [Tue, 3 Nov 2020 15:12:24 +0000 (18:12 +0300)]
[IE TESTS] Fix reg exp for issue 42029 (#2957)

3 years agoAligned python read_network() with C/C++ behaviour (#2916)
Mikhail Ryzhov [Tue, 3 Nov 2020 13:18:43 +0000 (16:18 +0300)]
Aligned python read_network() with C/C++ behaviour (#2916)

Aligned python read_network() with C/C++ behaviour

Excluded mandatory check of weights file, it is redundant

* Added unit tests

3 years agoAdded info on DockerHub CI Framework (#2918)
Andrey Zaytsev [Tue, 3 Nov 2020 13:14:27 +0000 (16:14 +0300)]
Added info on DockerHub CI Framework (#2918)

3 years ago[GNA] Set default compact_mode (#2895)
Andrey Dmitriev [Tue, 3 Nov 2020 13:10:54 +0000 (16:10 +0300)]
[GNA] Set default compact_mode (#2895)

3 years agoAdd IR reader test for hsigmoid op (#2825)
iliya mironov [Tue, 3 Nov 2020 11:13:08 +0000 (14:13 +0300)]
Add IR reader test for hsigmoid op (#2825)

* Add IR reader test for hsigmoid op

* update ir

* Fix decomposition

* Update hsigmoid ir reader test

* Update unit test

* fix test

3 years ago[IE CLDNN] Fix X/Y swap in NV12 shared surface input layout (#2949)
Mikhail Letavin [Tue, 3 Nov 2020 10:29:36 +0000 (13:29 +0300)]
[IE CLDNN] Fix X/Y swap in NV12 shared surface input layout (#2949)

3 years agoAbort previous builds on PR update (#2877)
Rafal Blaczkowski [Tue, 3 Nov 2020 09:54:31 +0000 (10:54 +0100)]
Abort previous builds on PR update (#2877)

3 years ago[IE][VPU]: Support for Bidirectional mode in Broadcast DTS (#2873)
Andrew Bakalin [Tue, 3 Nov 2020 08:59:06 +0000 (11:59 +0300)]
[IE][VPU]: Support for Bidirectional mode in Broadcast DTS (#2873)

* [VPU][DTS] Update broadcast DTS to support BIDIRECTIONAL mode
* [VPU][Tests] Update tests with inference
* [VPU][Tests] Extend DTS tests

3 years ago[IE][VPU]: Interpolate - reuse "interp", "resample" layers (#2932)
Andrey Sokolov [Tue, 3 Nov 2020 08:56:55 +0000 (11:56 +0300)]
[IE][VPU]: Interpolate - reuse "interp", "resample" layers (#2932)

Reuse existing "interp", "resample" layers
task: #-29955

3 years agoFixed README (#2948)
Ilya Churaev [Tue, 3 Nov 2020 07:56:28 +0000 (10:56 +0300)]
Fixed README (#2948)

3 years agoFix cases when identities inserted identites are separated by nonFunctional layers...
Kamil Magierski [Tue, 3 Nov 2020 07:49:58 +0000 (08:49 +0100)]
Fix cases when identities inserted identites are separated by nonFunctional layers (#2771)

3 years agoHandle multiple GNA devices and modes HW/SW (#2720)
Krzysztof Bruniecki [Tue, 3 Nov 2020 07:49:09 +0000 (08:49 +0100)]
Handle multiple GNA devices and modes HW/SW (#2720)

* Introduce Gna2DeviceGetCount

* Check for the number of GNA devices

* Add Gna2DeviceGetCount() mock

3 years ago[GNA] Added export input/output names (#2601)
Andrey Dmitriev [Tue, 3 Nov 2020 07:45:08 +0000 (10:45 +0300)]
[GNA] Added export input/output names (#2601)

* [GNA] Added export input/output names

* fix comment

* Change version

3 years agoRemove obsoleted v0::Reshape operator (#2878)
Mateusz Tabaka [Tue, 3 Nov 2020 04:01:34 +0000 (05:01 +0100)]
Remove obsoleted v0::Reshape operator (#2878)

* Remove obsoleted v0::Reshape operator

* Fix handling negative dims on 32 bit platforms

Change-Id: Ia18e20df9a79fd0b7b38c434bee7140599833952

* apply code format

Change-Id: I4ddfb9e7033cbc97e167922f6ee5873d5487e551

3 years agoAdded check in hello sample (#2896)
Anton Romanov [Tue, 3 Nov 2020 03:34:06 +0000 (19:34 -0800)]
Added check in hello sample (#2896)

* Added check in hello sample

* move check before inference

3 years agoCompilation with MSVC for ARM (#2928)
Ilya Lavrenov [Mon, 2 Nov 2020 21:55:49 +0000 (00:55 +0300)]
Compilation with MSVC for ARM (#2928)

* Enable compilation with MSVC for ARM / ARM64

* Condition fix

3 years agoAdded transformation config to support automl efficientdet models (#2894)
Evgeny Lazarev [Mon, 2 Nov 2020 16:21:05 +0000 (19:21 +0300)]
Added transformation config to support automl efficientdet models (#2894)

* Added transformation config to support automl efficientdet-4 model

* Added configuration file to convert Automl EfficientDet model

* Updated unit test for Pack

* Added instruction on how to convert EfficientDet Tensorflow model

* Updated documentation on how to convert EfficientDet model

* Updated a documentation with instruction on how to convert Automl EfficientDet.

3 years ago[CPU] Added eltwise Round-5 (#2347)
Alexandra Sidorova [Mon, 2 Nov 2020 15:44:50 +0000 (18:44 +0300)]
[CPU] Added eltwise Round-5 (#2347)

3 years agoFixed FAST build mode (#2926)
Ilya Lavrenov [Mon, 2 Nov 2020 14:58:52 +0000 (17:58 +0300)]
Fixed FAST build mode (#2926)

3 years ago[IE TESTS] Split Layer Test refactoring (#2915)
Aleksandr Korolev [Mon, 2 Nov 2020 13:29:59 +0000 (16:29 +0300)]
[IE TESTS] Split Layer Test refactoring (#2915)

Co-authored-by: kora6 <kora6@github.com>
3 years agoRemove remaining Myriad-2 references (#2853)
Andrey Kamaev [Mon, 2 Nov 2020 12:10:50 +0000 (15:10 +0300)]
Remove remaining Myriad-2 references (#2853)

* Fix Myriad firmware copying command for multi-target cmake generators

* Remove remaining Myriad-2 references

* Remove remaining Myriad-2 compute stick from documentation

3 years agoChange pip install documentation (#2884)
Anton Romanov [Mon, 2 Nov 2020 11:09:54 +0000 (03:09 -0800)]
Change pip install documentation (#2884)

3 years agoVisitor API deserialization - create models for ops (#2889)
Bartek Szmelczynski [Mon, 2 Nov 2020 10:48:53 +0000 (11:48 +0100)]
Visitor API deserialization - create models for ops (#2889)

* add tests for 11 operators, which compare V7 and V10 version of the model optimizer

* add test for space_to_depth model

3 years ago[IE CLDNN] Fixed unitialized parameters in resample primitive which led to kernels...
Vladimir Paramuzov [Mon, 2 Nov 2020 10:31:07 +0000 (13:31 +0300)]
[IE CLDNN] Fixed unitialized parameters in resample primitive which led to kernels recompilation (#2923)

3 years agoUnmark passed ONNX test
Alexander Peskov [Thu, 29 Oct 2020 15:14:39 +0000 (18:14 +0300)]
Unmark passed ONNX test

Signed-off-by: Alexander Peskov <alexander.peskov@intel.com>
3 years ago[TEST] One more trivival loop test
Alexander Peskov [Wed, 28 Oct 2020 22:34:18 +0000 (01:34 +0300)]
[TEST] One more trivival loop test

Signed-off-by: Alexander Peskov <alexander.peskov@intel.com>
3 years ago[CPU] Fix case with unused port in Loop body
Alexander Peskov [Wed, 28 Oct 2020 21:15:53 +0000 (00:15 +0300)]
[CPU] Fix case with unused port in Loop body

Signed-off-by: Alexander Peskov <alexander.peskov@intel.com>
3 years ago[TEST] One more trivial test case on Loop
Alexander Peskov [Tue, 27 Oct 2020 22:42:52 +0000 (01:42 +0300)]
[TEST] One more trivial test case on Loop

Also fixed compilation with gcc4.8

Signed-off-by: Alexander Peskov <alexander.peskov@intel.com>
3 years ago[CPU] Improve replication of passthrough Loop body
Alexander Peskov [Tue, 27 Oct 2020 22:36:33 +0000 (01:36 +0300)]
[CPU] Improve replication of passthrough Loop body

There was some problem with replicatioon of simple loop body where
input was used as output as is.

Also was voided usage of special prefixes like "in_" for Loop body inputs.

Signed-off-by: Alexander Peskov <alexander.peskov@intel.com>
3 years agoMin. Additional assert in copyTIBoody
Alexander Peskov [Tue, 27 Oct 2020 22:34:16 +0000 (01:34 +0300)]
Min. Additional assert in copyTIBoody

Signed-off-by: Alexander Peskov <alexander.peskov@intel.com>
3 years ago[TEST] Several more Loop test with static shapes
Alexander Peskov [Wed, 21 Oct 2020 23:49:51 +0000 (02:49 +0300)]
[TEST] Several more Loop test with static shapes

Signed-off-by: Alexander Peskov <alexander.peskov@intel.com>
3 years ago[CPU] implement Loop specification of TI node
Alexander Peskov [Wed, 21 Oct 2020 23:48:48 +0000 (02:48 +0300)]
[CPU] implement Loop specification of TI node

Signed-off-by: Alexander Peskov <alexander.peskov@intel.com>
3 years ago[NG] Keep special purposes port info in Loop after conversion to legacy
Alexander Peskov [Wed, 21 Oct 2020 23:37:20 +0000 (02:37 +0300)]
[NG] Keep special purposes port info in Loop after conversion to legacy

Also:
Simplified logic of data object name restoring. Avoid duplicatin of input ports
in case of multiple consumers. Provided code has WA comment in corresponding
naming restore section. Also added WA section with restore U8 precision for ouputs.
Avoid to eliminate limitation of CNNNetwork converter.

Signed-off-by: Alexander Peskov <alexander.peskov@intel.com>
3 years ago[TEST] improve data utils
Alexander Peskov [Wed, 21 Oct 2020 23:30:42 +0000 (02:30 +0300)]
[TEST] improve data utils

Signed-off-by: Alexander Peskov <alexander.peskov@intel.com>
3 years agoAvoid '-' symbol for test name
Alexander Peskov [Tue, 20 Oct 2020 09:37:43 +0000 (12:37 +0300)]
Avoid '-' symbol for test name

Signed-off-by: Alexander Peskov <alexander.peskov@intel.com>
3 years agoLoop tests enabled back
Alexander Peskov [Mon, 19 Oct 2020 17:17:50 +0000 (20:17 +0300)]
Loop tests enabled back

Signed-off-by: Alexander Peskov <alexander.peskov@intel.com>
3 years ago[IE] Improve Network topological sort in case of disconnected graph
Alexander Peskov [Wed, 28 Oct 2020 22:37:20 +0000 (01:37 +0300)]
[IE] Improve Network topological sort in case of disconnected graph

Signed-off-by: Alexander Peskov <alexander.peskov@intel.com>
3 years agoImprove CopyTIBody util to cover disconnected graphs
Alexander Peskov [Mon, 19 Oct 2020 17:16:34 +0000 (20:16 +0300)]
Improve CopyTIBody util to cover disconnected graphs

Signed-off-by: Alexander Peskov <alexander.peskov@intel.com>
3 years agoRemove obsoleted v0::StopGradient op (#2935)
Mateusz Tabaka [Mon, 2 Nov 2020 09:22:01 +0000 (10:22 +0100)]
Remove obsoleted v0::StopGradient op (#2935)

3 years agorefactor one-hot nGraph backend test (#2578)
Tomasz Jankowski [Mon, 2 Nov 2020 09:12:39 +0000 (10:12 +0100)]
refactor one-hot nGraph backend test (#2578)

3 years agoAvoid verbose return-type warnings (#2420)
Tomasz Jankowski [Mon, 2 Nov 2020 09:11:35 +0000 (10:11 +0100)]
Avoid verbose return-type warnings (#2420)

3 years agonGraph backend tests refactor: gather, numeric (#2367)
Tomasz Jankowski [Mon, 2 Nov 2020 09:10:25 +0000 (10:10 +0100)]
nGraph backend tests refactor: gather, numeric (#2367)

3 years agoFixed compilation errors / warnings with clang (#2929)
Ilya Lavrenov [Mon, 2 Nov 2020 08:56:38 +0000 (11:56 +0300)]
Fixed compilation errors / warnings with clang (#2929)

3 years agoRemove obsoleted v0::Or operator (#2857)
Mateusz Tabaka [Mon, 2 Nov 2020 03:49:03 +0000 (04:49 +0100)]
Remove obsoleted v0::Or operator (#2857)

* Remove obsoleted v0::Or operator

* apply style format

3 years agoRemove deprecated v0::Round op (#2905)
Mateusz Tabaka [Mon, 2 Nov 2020 03:47:35 +0000 (04:47 +0100)]
Remove deprecated v0::Round op (#2905)

3 years agoRemove deprecated v0::Reverse op (#2899)
Mateusz Tabaka [Mon, 2 Nov 2020 03:46:30 +0000 (04:46 +0100)]
Remove deprecated v0::Reverse op (#2899)

* Remove deprecated v0::Reverse op

* fix unit tests

* add include for std::inserter

3 years agoTemporarily skip ExecGraphTests.CheckExecGraphInfoSerialization on GPU (#2921)
Andrey Babushkin [Sun, 1 Nov 2020 09:55:50 +0000 (12:55 +0300)]
Temporarily skip ExecGraphTests.CheckExecGraphInfoSerialization on GPU (#2921)

* Skip ExecGraphTests.CheckExecGraphInfoSerialization on GPU

* [execution_graph_tests] Add test skipping macro

* Add missing import

3 years agoAdding sinks to ngraph::Function (#2741)
Svetlana Dolinina [Sat, 31 Oct 2020 16:41:05 +0000 (19:41 +0300)]
Adding sinks to ngraph::Function (#2741)

* initial draft of adding sinks to ngraph::Function

* style fixes

* code style fixes

* code style fixes

* code style fix

* review fix+build fix

* code style fix

* fix build

* API changed according to latest discussion

* review fixes

* review fixes + tests

* added 1 more ctor

* style fixes

* used new api in ir parser

* fixed build

* review fixes

* remove validate_nodes_and_infer_types from remove_sink/remove_result

* removed validate_.. after discussion

* style fix

3 years ago[IE][VPU]: GatherND layer & tests (#2710)
Maxim Kurin [Fri, 30 Oct 2020 23:02:23 +0000 (02:02 +0300)]
[IE][VPU]: GatherND layer & tests (#2710)

* GatherND layer & test
* Update vpu firmware 1452

3 years ago[LPT] nGraph nodes naming fix (#2822)
Edward Shogulin [Fri, 30 Oct 2020 20:23:35 +0000 (23:23 +0300)]
[LPT] nGraph nodes naming fix (#2822)

* [LPT] functional tests: FakeQuantize with dynamic intervals

* [LPT] decomposeFakeQuantize: removed debug info

* [LPT] Add NetworkHelper::mark_as_dequantization_op function

[ngraph] Fix compare runtime info function

[LPT] Fix test cases with no DEQUANTIZATION runtime attribute

[LPT] Change include path for dequantization op

* [LPT] Remove Subtract functional test, enable and rename legacy tests

Co-authored-by: Vladislav Golubev <vladislav.golubev@intel.com>
Co-authored-by: Aleksandr Pertovsky <aleksandr.pertovsky@intel.com>
3 years agoAdded support for Visual Studio VERSIONINFO (#2900)
Ilya Lavrenov [Fri, 30 Oct 2020 18:38:34 +0000 (21:38 +0300)]
Added support for Visual Studio VERSIONINFO (#2900)

* Generate vs_version file

* Fixed comments

* Fixed comments

3 years agoFixed cmake stage with BUILD_SHARED_LIBS=ON (#2914)
Ilya Lavrenov [Fri, 30 Oct 2020 18:37:51 +0000 (21:37 +0300)]
Fixed cmake stage with BUILD_SHARED_LIBS=ON (#2914)

3 years agoFixed compilation with ENABLE_V7_SERIALIZE=ON (#2898)
Ilya Lavrenov [Fri, 30 Oct 2020 18:19:12 +0000 (21:19 +0300)]
Fixed compilation with ENABLE_V7_SERIALIZE=ON (#2898)

* Fixed compilation with ENABLE_V7_SERIALIZE=ON

* Removed legacy code

3 years agoadded OpenVINO Model Server to docs (#2541)
Trawinski, Dariusz [Fri, 30 Oct 2020 16:57:01 +0000 (17:57 +0100)]
added OpenVINO Model Server to docs (#2541)

* added OpenVINO Model Server

* updated documentation to include valid links

* minor fixes

* Fixed links and style

* Update README.md

fixed links to model_server

* more corrections

* dropped reference in ie_docs and minor fixes

* Update README.md

Fixed links to Inference Engine pages

Co-authored-by: Alina Alborova <alina.alborova@intel.com>
Co-authored-by: Andrey Zaytsev <andrey.zaytsev@intel.com>
3 years ago[IE CLDNN] Added int8 output suppirt into bfyx_to_fsv16 fp kernel (#2906)
Vladimir Paramuzov [Fri, 30 Oct 2020 12:19:02 +0000 (15:19 +0300)]
[IE CLDNN] Added int8 output suppirt into bfyx_to_fsv16 fp kernel (#2906)

3 years ago[IE CLDNN] Fix for some unwanted behaviour in layout optimizer (#2669)
Mikołaj Życzyński [Fri, 30 Oct 2020 12:18:14 +0000 (13:18 +0100)]
[IE CLDNN] Fix for some unwanted behaviour in layout optimizer (#2669)

3 years ago[MO] Add CMake install for Model Optimizer (28291) (#2831)
Sergey Lyubimtsev [Fri, 30 Oct 2020 11:37:06 +0000 (14:37 +0300)]
[MO] Add CMake install for Model Optimizer (28291) (#2831)

* [MO] Add CMake install for Model Optimizer

* [MO] Update test for version.py

* [MO] Add CMake install for Model Optimizer

* [MO] Update test for version.py

* [MO] Add CMake install for Model Optimizer

* [MO] Update test for version.py

* [MO] fix file permissions for install location

3 years ago[IE][VPU][Myriad]: NMS layer optimization; support big buffers (#2839) (#2839)
Andrey Sokolov [Fri, 30 Oct 2020 10:30:21 +0000 (13:30 +0300)]
[IE][VPU][Myriad]: NMS layer optimization; support big buffers (#2839) (#2839)

* Myriad: new firmware version (1445)

3 years ago[IE][VPU][GT]: Fixes Eltwise+ReLU merge for dynamic networks (#2777)
Gladilov, Gleb [Fri, 30 Oct 2020 08:42:09 +0000 (11:42 +0300)]
[IE][VPU][GT]: Fixes Eltwise+ReLU merge for dynamic networks (#2777)

Eltwise + ReLU merge is expected to be performed unconditionally
in all cases and since it does not require strides to be defined
could be performed before adjustDataLayout pass.

Unfortunately, there are cases with unexpected degradation after
such a change is introduced. In specific case it seems to be
caused by degradation in HW operation (convolution). It was not
investigated completely and reason is still unknown (convolution
itself remains unchanged in network, but for some reason works
slower).

It has been decided to introduce change only in case of dynamic
models to have performance benefit for some cases and avoid
degradations in others.

Moving mergeEltwiseAndReLU pass before adjustDataLayout for
dynamic cases allows to get additional performance gain due to
lack of extra copy stages introduced in adjustDataLayout.

Signed-off-by: Gladilov, Gleb <gleb.gladilov@intel.com>
3 years agoImprove ngraph python api in debug mode (#2836)
Rafal Blaczkowski [Fri, 30 Oct 2020 08:17:58 +0000 (09:17 +0100)]
Improve ngraph python api in debug mode (#2836)

* Update MacOS machine

* Update setup.py

* Add debug statement

* Improvements

* Update ngraph/python/setup.py

Co-authored-by: Michał Karzyński <4430709+postrational@users.noreply.github.com>
* Rollback the last change

Co-authored-by: Michał Karzyński <4430709+postrational@users.noreply.github.com>
3 years agoRemoved legacy travis script (#2888)
Ilya Churaev [Fri, 30 Oct 2020 07:18:09 +0000 (10:18 +0300)]
Removed legacy travis script (#2888)

* Removed legacy travis script

* Removed legacy variables

3 years ago[IE CLDNN] Fixed compilation error for tutorial samples (#430)
kobeyu [Fri, 30 Oct 2020 07:07:17 +0000 (15:07 +0800)]
[IE CLDNN] Fixed compilation error for tutorial samples (#430)

Co-authored-by: Kobe Yu <kobe.yu@kneron.us>
Co-authored-by: Alexander Zhogov <alexander.zhogov@intel.com>
3 years ago[IE][VPU][GT]: Introduce Split by dynamic dimension check (#2802)
Gladilov, Gleb [Fri, 30 Oct 2020 06:12:11 +0000 (09:12 +0300)]
[IE][VPU][GT]: Introduce Split by dynamic dimension check (#2802)

* [IE][VPU][GT]: Introduce Split by dynamic dimension check

At the moment, myriad plugin does not support split operation
by dynamic axis. To be sure there is no issue with optimized-out
split operation which should have been replaced with copy
stage - assertion before DTS transformation is introduced.

Check should be performed before loop with DTS transformations
because it requires dynamic context (dynamic dimension should be
visible as dynamic), otherwise dynamic dimension would be
replaced with upper-bound estimation and check will always pass.

Signed-off-by: Gladilov, Gleb <gleb.gladilov@intel.com>
* [IE][nGraph]: Fixes normalize_axis symbol exporting

Signed-off-by: Gladilov, Gleb <gleb.gladilov@intel.com>
3 years agoRemove operators with existing functional tests from layer creator (#2772)
Bartosz Lesniewski [Fri, 30 Oct 2020 04:42:27 +0000 (05:42 +0100)]
Remove operators with existing functional tests from layer creator (#2772)

* Remove 49 operators from layer creator

* Remove debug code

* Add specificCreator for deconvolution

* add specificCreator for logical not

* Fix concat creator behavior for negative axis

* add creator for TopK, overrides for visit_attribute methods

* remove layerCreator templates for removed ops

* Disable exception check for Deconvolution and TopK

* add specificCreator for stridedSlice

* add specificCreator for DetecionOutput

* resolve conflict with batchNormInference changes

* fix detection output visit_attributes for some of the bools

* Remove Ceiling from LayerCreator

* Change detectionOutput param validation to expect bool instead of uint

* detectionOutput specificCreator to set bool params as int strings

* Add vector of integer value accessor handling to xml deserializer.

* Fix indentation

3 years agoRemove obsoleted v0::ReplaceSlice (#2887)
Mateusz Tabaka [Fri, 30 Oct 2020 04:37:15 +0000 (05:37 +0100)]
Remove obsoleted v0::ReplaceSlice (#2887)

3 years agoRemove obsoleted v0::Not operator (#2846)
Mateusz Tabaka [Fri, 30 Oct 2020 04:33:26 +0000 (05:33 +0100)]
Remove obsoleted v0::Not operator (#2846)

* Remove obsoleted v0::Not operator

* restore tests from ngraph/test/backend

3 years agoSerialization of experimental and custom ops (#2862)
Jozef Daniecki [Fri, 30 Oct 2020 04:31:27 +0000 (05:31 +0100)]
Serialization of experimental and custom ops (#2862)

* Add IEGeneric node type handling.

* Remove dependency on plugin_api library.

IEGeneric type name is passed via Visiotr API as new syntetic atribute.

* Add custom operations support

* Fix charachter literals comparison.

* Pass custom opsets to CNNNetwork:serialize().

IE extensions are stored in ngraph CNNNetwork and later used to pass
custom opsets to serialization transformation.

* Refactor custom ops tests to use template_extension library.

* Add comment on __generic_ie_type__ purpose.

3 years agoFixed convertFunctionToCNNNetwork to support non unique names (#2864)
Gleb Kazantaev [Fri, 30 Oct 2020 04:24:37 +0000 (07:24 +0300)]
Fixed convertFunctionToCNNNetwork to support non unique names (#2864)

* Unique names normalization during nGraph to CNNNetwork conversion

* Added tests

* Code refactoring

3 years agoUpdate MemCheckTests OMZ part: get_testdata.py and configs (#2722)
Vitaliy Urusovskij [Thu, 29 Oct 2020 21:37:02 +0000 (00:37 +0300)]
Update MemCheckTests OMZ part: get_testdata.py and configs (#2722)

3 years ago[CPU] Enable GatherND tests in ONNX. (#2904)
Nikolay Shchegolev [Thu, 29 Oct 2020 19:53:26 +0000 (22:53 +0300)]
[CPU] Enable GatherND tests in ONNX. (#2904)

3 years ago[IE CLDNN] Added 6d crop support (#2841)
Vladimir Paramuzov [Thu, 29 Oct 2020 18:41:05 +0000 (21:41 +0300)]
[IE CLDNN] Added 6d crop support (#2841)

3 years ago[Python API] Remove IENetLayer class (#2755)
Anastasia Kuporosova [Thu, 29 Oct 2020 18:34:55 +0000 (21:34 +0300)]
[Python API] Remove IENetLayer class (#2755)

* [Python API] Remove IENetLayer class

* fix tests

* fix tests

* remove importing ngraph from several tests

3 years ago[CPU] GatherND implementation. (#2757)
Nikolay Shchegolev [Thu, 29 Oct 2020 16:28:31 +0000 (19:28 +0300)]
[CPU] GatherND implementation. (#2757)

3 years ago[IE CLDNN] Disabled fusing into eltwise node for fsv32 layout (#2844)
Vladimir Paramuzov [Thu, 29 Oct 2020 13:01:53 +0000 (16:01 +0300)]
[IE CLDNN] Disabled fusing into eltwise node for fsv32 layout (#2844)

3 years agoFix visual appearance (#2148)
Dominik Wernberger [Thu, 29 Oct 2020 12:27:33 +0000 (13:27 +0100)]
Fix visual appearance (#2148)

3 years agoImprove support ONNX Resize-10 created by PyTorch (#1350)
Maxim Vafin [Thu, 29 Oct 2020 12:26:23 +0000 (15:26 +0300)]
Improve support ONNX Resize-10 created by PyTorch (#1350)

3 years ago[IE][VPU][TESTS] Fix vpu split with unusable outputs & test (#2718)
Aleksandr Korolev [Thu, 29 Oct 2020 12:12:10 +0000 (15:12 +0300)]
[IE][VPU][TESTS] Fix vpu split with unusable outputs & test (#2718)

* Fix vpu split with unusable outputs & test

Co-authored-by: kora6 <kora6@github.com>
3 years ago[IE][VPU][DTS][Tests]: Remove WAs for networks with multiple outputs (#2828)
Andrew Bakalin [Thu, 29 Oct 2020 10:44:52 +0000 (13:44 +0300)]
[IE][VPU][DTS][Tests]: Remove WAs for networks with multiple outputs (#2828)

* Remove WAs for networks with multiple outputs

3 years agoRemoved forced CMAKE_VERBOSE_MAKEFILE (#2891)
Ilya Lavrenov [Thu, 29 Oct 2020 10:12:01 +0000 (13:12 +0300)]
Removed forced CMAKE_VERBOSE_MAKEFILE (#2891)

3 years agoFixed issue #41619 (#2827)
Ilya Lavrenov [Thu, 29 Oct 2020 09:50:46 +0000 (12:50 +0300)]
Fixed issue #41619 (#2827)

* Fixed issue #41619

* More descriptive error message

3 years agoSplit java CMakeLists.txt into several ones (#2734)
Ilya Lavrenov [Thu, 29 Oct 2020 09:48:03 +0000 (12:48 +0300)]
Split java CMakeLists.txt into several ones (#2734)

* Split java CMakeLists.txt into several ones

* Replaced openjdk to OpenJDK

* Build Java library before tests

3 years agoUpdated apiValidator rules (#2785)
Ilya Lavrenov [Thu, 29 Oct 2020 09:38:15 +0000 (12:38 +0300)]
Updated apiValidator rules (#2785)

* Updated apiValidator rules: added custom filter to emulate BinaryExclusions.xml

* temp

* Temp

* debug log

* Print a message about success

* Fixed file name

3 years agoFix for collision of #1932 and #2731 (#2890)
Konstantin Satunin [Thu, 29 Oct 2020 09:37:55 +0000 (12:37 +0300)]
Fix for collision of #1932 and #2731 (#2890)

3 years agoRevise ReLU (#2863)
Piotr Szmelczynski [Thu, 29 Oct 2020 08:37:52 +0000 (09:37 +0100)]
Revise ReLU (#2863)

* remove relu_backprop

* Update ReLU spec

* change inputs and outputs subsections of ReLU spec

* Update Mathematical Formulation subsection

* Update Category of ReLU in spec

* Update Short description of ReLU in spec

3 years ago[CPU] Add tests for SetBlob + I64 (#2402)
Maxim Andronov [Thu, 29 Oct 2020 08:34:29 +0000 (11:34 +0300)]
[CPU] Add tests for SetBlob + I64 (#2402)

3 years agoRemove obsoleted Min, Max operators (#2832)
Mateusz Tabaka [Thu, 29 Oct 2020 08:32:50 +0000 (09:32 +0100)]
Remove obsoleted Min, Max operators (#2832)

3 years agoRemoved InferenceEngine dependency on Legacy library (#1932)
Ilya Lavrenov [Thu, 29 Oct 2020 07:54:57 +0000 (10:54 +0300)]
Removed InferenceEngine dependency on Legacy library (#1932)

* Split libraries

* Small fixes

* Fixes after self-review

* Minimized legacy usage

* Fixed IE_CPU.onnx_prior_box

* Fixed linkage

* Temp WA for private plugins

* removed comments

* Reverted OneHot changes back