platform/upstream/dldt.git
4 years ago[Python API] Fix deprecation warnings (#812)
Anastasia Kuporosova [Tue, 9 Jun 2020 05:48:08 +0000 (08:48 +0300)]
[Python API] Fix deprecation warnings (#812)

4 years ago[LPT] [CPU] NormalizeL2 transformation (#662)
Edward Shogulin [Mon, 8 Jun 2020 19:42:50 +0000 (22:42 +0300)]
[LPT] [CPU] NormalizeL2 transformation (#662)

* [LPT] NormalizeL2 transformation

* [LPT] NormalizeL2 transformation tests improvement

* [CPU] Fixed depthwise injector aux_vec_count for broadcasting case

* [LPT] Normalize on GPU enabling

Co-authored-by: Zinoviev, Vladimir <vladimir.zinoviev@intel.com>
Co-authored-by: dmitrygo <dmitry.gorokhov@intel.com>
4 years agoAdd fixedscale(bias) components to Kaldi (#725)
Pavel Esir [Mon, 8 Jun 2020 18:37:44 +0000 (21:37 +0300)]
Add fixedscale(bias) components to Kaldi (#725)

* Added fixed scale(bias) components

* Successfully converted after adding fixed bias,scale components

* Added unittests

4 years ago[IE CLDNN] Fix variable initialization issues (#816)
Mikhail Letavin [Mon, 8 Jun 2020 18:07:50 +0000 (21:07 +0300)]
[IE CLDNN] Fix variable initialization issues (#816)

4 years ago[ICV] Watchdog switch + ddr initialization (#554)
Nikita Kudriavtsev [Mon, 8 Jun 2020 17:51:45 +0000 (20:51 +0300)]
[ICV] Watchdog switch + ddr initialization (#554)

* [IE Myriad] Added XLinkBootFirmware method in XLink API for booting firmware buffer

* [IE Myriad] Patch firmware in mvnc. Added test to check device reset without connecting.

* [IE Myriad] Added option MOVIDIUS_DDR_TYPE for Myriad plugin

* [IE Myriad] Added tests for new option MOVIDIUS_DDR_TYPE

* [IE Myriad] Update firmware 1201 -> 1212

* [IE Myriad] Convolution3x3 tests are disabled due to firmware issue. #-32921

4 years ago[IE TEST] Eltwise tests refactoring (#726)
Irina Efode [Mon, 8 Jun 2020 15:44:42 +0000 (18:44 +0300)]
[IE TEST] Eltwise tests refactoring (#726)

* [IE TEST] Eltwise tests refactoring

* [IE TESTS] Fix comments

4 years ago[GNA] Support changing the execution mode in runtime (#801)
Denis Orlov [Mon, 8 Jun 2020 15:43:12 +0000 (18:43 +0300)]
[GNA] Support changing the execution mode in runtime (#801)

4 years agoFix unit tests for select layer. (#638)
iliya mironov [Mon, 8 Jun 2020 15:39:40 +0000 (18:39 +0300)]
Fix unit tests for select layer. (#638)

* Fix unit tests for select layer.

4 years agoImplement support for opset3 EmbeddingBag ops (#546)
Maxim Vafin [Mon, 8 Jun 2020 15:06:40 +0000 (18:06 +0300)]
Implement support for opset3 EmbeddingBag ops (#546)

* [MO] Implement EmbeddingBag_3

* Transform dynamic sub-graph of Wide and Deep into EmbeddingSegmentsSum

- Expressed SparseWeightedSum sub-graph through EmbeddingSegmentsSum
- Removed experimental SparseWeightedSum layer
- Implemented tests for the transformation

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Fix EmbeddingBag shape infer

* Fix EmbeddingSegmentsSum transformation for Wide and Deep

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Fix EmbeddingSegmentSum replacer after ports swap

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Update package_BOM.txt

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Add unit tests for EmbeddingXXX shape infer

* Fix ATen resolver

* Remove deleted files from BOM

* Add opset version to embedding_bag

* Use base class for EmbeddingBag

* Fix per_sample_weights case

* Fix EmbeddingSegmentsSum transformation

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Fix EmbeddingBag checks

* Fix ATen front transformation and merge conflicts

* Fix BOM

* Work around limitation for I64 input of W&D model

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Cleanup where operation to fix affect of WhereDecomposition transform

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Fix BOM

* Correct EmbeddingSegmentSum transform for Wide and Deep

Add casting segment ids to i32 and remove ConstToResult sub-graph.

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Update BOM with RemoveConstToResult transform

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Add more comments for RemoveConstToResult transformation

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Remove useless logging in EmbeddingSegmentsSum transformation

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Small fixes

* Move EmbeddingBag resolving back to front phase

* Improve error messages

* Fix typo in unittests

* Reimplement sparse_reshape middle transform

Avoid deprecated API.

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Clean-up graph after sparse_reshape and ConstToResult transformation

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Fix clean-up for transformations

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Fix clean-up for transformation #2

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
4 years ago[IE CLDNN] Optimize 1x1 imad convolution kernel (#757)
Konrad Dobros [Mon, 8 Jun 2020 13:44:50 +0000 (15:44 +0200)]
[IE CLDNN] Optimize 1x1 imad convolution kernel (#757)

4 years agoAdd commit links to memcheck report (#820)
Andrey Somsikov [Mon, 8 Jun 2020 12:08:58 +0000 (15:08 +0300)]
Add commit links to memcheck report (#820)

4 years agoDisable warnings-as-errors for ONNX target (#749)
Tomasz Dołbniak [Mon, 8 Jun 2020 10:52:45 +0000 (12:52 +0200)]
Disable warnings-as-errors for ONNX target (#749)

* Disable warnings-as-errors for ONNX target

* Disable warnigs-as-errors for windows too

* Change WIN32 -> MSVC

4 years ago[ MO ] Groupped conv fusion (#797)
Evgenya Stepyreva [Mon, 8 Jun 2020 10:00:54 +0000 (13:00 +0300)]
[ MO ] Groupped conv fusion (#797)

Fixed the group convolution fusion pass to properly get the feature dim in NCHW layout case.

4 years ago[LPT] [Test] DepthToSpace sporadic fail fix (#815)
Edward Shogulin [Mon, 8 Jun 2020 09:55:37 +0000 (12:55 +0300)]
[LPT] [Test] DepthToSpace sporadic fail fix (#815)

4 years agoAzure CI: increase timeout for Mac to 180 min
Alexander Zhogov [Mon, 8 Jun 2020 09:17:50 +0000 (12:17 +0300)]
Azure CI: increase timeout for Mac to 180 min

4 years ago[IE CLDNN] Enable ShuffleChannels op (#787)
Vladimir Paramuzov [Sun, 7 Jun 2020 19:57:20 +0000 (22:57 +0300)]
[IE CLDNN] Enable ShuffleChannels op (#787)

4 years ago[LPT] [CPU] DepthToSpace transformation (#663)
Edward Shogulin [Sun, 7 Jun 2020 18:12:52 +0000 (21:12 +0300)]
[LPT] [CPU] DepthToSpace transformation (#663)

* [LPT] [TEST] LayerTransformation generalization

* [LPT] DequantizationDetails extending

* [LPT] DepthToSpace transformation implementation

4 years agoAzure: Add Ninja (#803)
Alexander Zhogov [Sat, 6 Jun 2020 12:56:24 +0000 (15:56 +0300)]
Azure: Add Ninja (#803)

* Azure: Add Ninja

* Fix 'Install Ninja' on Linux

* Fix bin dir path on Windows

* Add -Wno-unused-variable on Mac

* Add -Wno-error=unused-command-line-argument on Mac

* Set CXXFLAGS for Mac

* Improvements

* Fix BIN_DIR on Linux

4 years ago[IE CLDNN] Enable DepthToSpace (#780)
Vladimir Paramuzov [Fri, 5 Jun 2020 17:16:47 +0000 (20:16 +0300)]
[IE CLDNN] Enable DepthToSpace (#780)

Enabled DepthToSpace ngraph transformat
Updated implementation to support 5d and mode parameter
fsv16 direct support
Functional tests for GPU

4 years agoit is duplicate of PR: #656, but without test modification (#794)
Daria Mityagina [Fri, 5 Jun 2020 16:57:03 +0000 (19:57 +0300)]
it is duplicate of PR: #656, but without test modification (#794)

4 years agoDisable Hw Avg Pooling for small output tensors if excludePad=true (#772)
Chance Luo [Fri, 5 Jun 2020 16:47:53 +0000 (00:47 +0800)]
Disable Hw Avg Pooling for small output tensors if excludePad=true (#772)

4 years agoadd /wd4819 to disable C4819 warning, which is treated as error in win32 (#767)
Kami-996 [Fri, 5 Jun 2020 13:04:59 +0000 (21:04 +0800)]
add /wd4819 to disable C4819 warning, which is treated as error in win32 (#767)

Co-authored-by: jasonlee <jasonlee@qiyi.com>
4 years agoFix: ITT_INCLUDE_DIR was not correctly detected (#748)
emmanuelattia-philips [Fri, 5 Jun 2020 11:46:39 +0000 (13:46 +0200)]
Fix: ITT_INCLUDE_DIR was not correctly detected (#748)

4 years ago[IE CLDNN] GEMM int8 optimization using MMAD macro (#635)
Ilya Znamenskiy [Fri, 5 Jun 2020 11:28:21 +0000 (14:28 +0300)]
[IE CLDNN] GEMM int8 optimization using MMAD macro (#635)

4 years ago[CPU] supported ShuffleChannels and added tests (#636)
Anton Voronov [Fri, 5 Jun 2020 11:10:55 +0000 (14:10 +0300)]
[CPU] supported ShuffleChannels and added tests (#636)

4 years agoSave the name of output data if we remove previous layer (#760)
Ilya Churaev [Fri, 5 Jun 2020 10:36:35 +0000 (13:36 +0300)]
Save the name of output data if we remove previous layer (#760)

* Save the name of output data if we remove previous layer

* Added test

4 years ago[GNA] Set default GNA library to GNA2 (#771)
Pavel Rodionov [Fri, 5 Jun 2020 10:00:58 +0000 (13:00 +0300)]
[GNA] Set default GNA library to GNA2 (#771)

4 years ago[CPU] DepthToSpace review leftovers
dmitrygo [Thu, 4 Jun 2020 12:59:14 +0000 (15:59 +0300)]
[CPU] DepthToSpace review leftovers

4 years agoAdd ReduceL2 decomposition (#733)
Maxim Vafin [Fri, 5 Jun 2020 09:34:57 +0000 (12:34 +0300)]
Add ReduceL2 decomposition (#733)

* Add ReduceL2 decomposition

* Add ReduceL2 transformation tests

* Add const propagation unit test for ReduceL2

4 years agoFix hetero mode in speech sample - set config when loading network (#786)
Denis Orlov [Fri, 5 Jun 2020 08:54:03 +0000 (11:54 +0300)]
Fix hetero mode in speech sample - set config when loading network (#786)

4 years ago[SAMPLES] Use defined constant instead of string (#788)
Ilya Churaev [Fri, 5 Jun 2020 08:22:24 +0000 (11:22 +0300)]
[SAMPLES] Use defined constant instead of string (#788)

4 years ago[IE][VPU][nGraph]: Fixes DTS transformations to properly keep outputs names (#734)
Gladilov, Gleb [Fri, 5 Jun 2020 08:16:52 +0000 (11:16 +0300)]
[IE][VPU][nGraph]: Fixes DTS transformations to properly keep outputs names (#734)

* NonZero, Broadcast

* Concat

* Gather

* [IE][VPU][nGraph]: Fixes DTS transformations to correctly keep outputs names

* [IE][VPU][nGraph]: Fixes dynamic to static shape nonzero tests

Co-authored-by: Roman Vyunov <roman.vyunov@intel.com>
4 years ago[LPT] Output layers update fix (#754)
Edward Shogulin [Fri, 5 Jun 2020 07:54:38 +0000 (10:54 +0300)]
[LPT] Output layers update fix (#754)

4 years ago[IE CLDNN] Improve Gather performance and add fusing support (#736)
Sergey Shlyapnikov [Fri, 5 Jun 2020 07:20:58 +0000 (10:20 +0300)]
[IE CLDNN] Improve Gather performance and add fusing support (#736)

4 years ago[IE CLDNN] Implement NormalizeL2 int8 kernels (#720)
Egor Churaev [Fri, 5 Jun 2020 07:16:27 +0000 (10:16 +0300)]
[IE CLDNN] Implement NormalizeL2 int8 kernels (#720)

4 years agoAvoid loading of reader if it doesn't exist (#758)
Ilya Churaev [Thu, 4 Jun 2020 18:21:13 +0000 (21:21 +0300)]
Avoid loading of reader if it doesn't exist (#758)

* Avoid loading of reader if it doesn't exist

* Updated error messages

4 years agoFix Proposal for the case of 2 outputs (#773)
Maxim Vafin [Thu, 4 Jun 2020 17:56:46 +0000 (20:56 +0300)]
Fix Proposal for the case of 2 outputs (#773)

4 years agoAdded default value for 'aligned' in the ExperimentalDetectronROIFeatureExtractor...
Evgeny Lazarev [Thu, 4 Jun 2020 17:47:52 +0000 (20:47 +0300)]
Added default value for 'aligned' in the ExperimentalDetectronROIFeatureExtractor for backward compatibility (#777)

Fixed backward compatibility issue that old IRs with ExperimentalDetectronROIFeatureExtractor operation cannot be loaded with the new IE

4 years ago[IE CLDNN] Permute fused ops support (#642)
Lukasz Debski [Thu, 4 Jun 2020 14:01:21 +0000 (16:01 +0200)]
[IE CLDNN] Permute fused ops support (#642)

4 years ago[CPU][BF16] Default Optimisation Capability of BF16 was enabled on CPX (#647)
Alexey Varyzgin [Thu, 4 Jun 2020 13:06:15 +0000 (16:06 +0300)]
[CPU][BF16] Default Optimisation Capability of BF16 was enabled on CPX (#647)

4 years agoAdd support for ONNX Pad-11 (#744)
Maxim Vafin [Thu, 4 Jun 2020 11:48:31 +0000 (14:48 +0300)]
Add support for ONNX Pad-11 (#744)

4 years ago[GNA] Support 100 inputs, instead of 10 (#741)
Denis Orlov [Thu, 4 Jun 2020 11:33:09 +0000 (14:33 +0300)]
[GNA] Support 100 inputs, instead of 10 (#741)

4 years agoDepthToSpace, SpaceToDepth layers optimizations (#706)
Gorokhov Dmitriy [Thu, 4 Jun 2020 11:25:19 +0000 (14:25 +0300)]
DepthToSpace, SpaceToDepth layers optimizations (#706)

* [CPU] Updated DepthToSpace and SpaceToDepth layers to be conformant with the specification

The patch also includes n[d]hwc layout support as well as some optimizations

* [CPU][TESTS] Removed old DepthToSpace test since it doesn't corresponds to layer's specification

* [nGraph] Utilize CommonOptimizations pass with custom transformations callback

4 years ago[ MO ] InterpolateConcat empty sources fix (#764)
Evgenya Stepyreva [Thu, 4 Jun 2020 11:18:33 +0000 (14:18 +0300)]
[ MO ] InterpolateConcat empty sources fix (#764)

4 years ago[IE CLDNN] Disabled sporadic detection output tests (#740)
Vladimir Paramuzov [Thu, 4 Jun 2020 08:14:05 +0000 (11:14 +0300)]
[IE CLDNN] Disabled sporadic detection output tests (#740)

4 years ago[IE CLDNN] Remove unused fused deps for FQ (#712)
Vladimir Paramuzov [Thu, 4 Jun 2020 07:30:46 +0000 (10:30 +0300)]
[IE CLDNN] Remove unused fused deps for FQ (#712)

Remove unused fused FQ kernel arguments to avoid extra setArg() calls which significantly reduces host overhead

4 years ago[IE CLDNN] Implement EmbeddingBag operations (#623)
Egor Churaev [Thu, 4 Jun 2020 07:25:28 +0000 (10:25 +0300)]
[IE CLDNN] Implement EmbeddingBag operations (#623)

Implemented three operations: EmbeddingBagPackedSum,
EmbeddingBagOffsetsSum and EmbeddingSegmentsSum. These operations do
the same work but have a different format of inputs.

4 years ago[MKLDNN_PLUGIN] Convolution node: skip initializing of primitive descriptors for...
Anton Voronov [Thu, 4 Jun 2020 05:06:14 +0000 (08:06 +0300)]
[MKLDNN_PLUGIN] Convolution node: skip initializing of primitive descriptors for planar layout if there is already jit primitive (#672)

4 years agoRevert "Enabled thread tests (#717)" (#756)
Ilya Lavrenov [Wed, 3 Jun 2020 19:32:55 +0000 (22:32 +0300)]
Revert "Enabled thread tests (#717)" (#756)

This reverts commit 99a2423ec0dc6d4570ca989be97da02376b3e169.

4 years agoMO should support LRN k param with caffe model, rather than fixed to 1 (#716)
wistal [Wed, 3 Jun 2020 17:33:55 +0000 (01:33 +0800)]
MO should support LRN k param with caffe model, rather than fixed to 1 (#716)

Co-authored-by: yipengqu <yipeng.qu@intel.com>
4 years ago[Docs] Fixes in readme files: (#750)
Alexey Suhov [Wed, 3 Jun 2020 17:14:35 +0000 (20:14 +0300)]
[Docs] Fixes in readme files: (#750)

- change repo name to openvino
- update driver version
- fix path to samples data
- remove section about Movidius driver installation
- change latest release to 2020.3
- merge fixes in install_dependencies.sh from 2020 branch

4 years ago[IE CLDNN] Added fusing suport to all pooling kernels (#689)
Mikołaj Życzyński [Wed, 3 Jun 2020 16:44:27 +0000 (18:44 +0200)]
[IE CLDNN] Added fusing suport to all pooling kernels (#689)

adds fusing support to all available pooling kernels
tests all possible input type/output type configurations
fixes minor bug in max pooling in pooling_gpu_test.cpp
fixed minor bug with yxbf format in pooling_gpu_ref and pooling_gpu_int8_ref kernels
fixes bug with b_fs_yx_fsv32 format in pooling_gpu kernel
resolves bug with max pooling accuracy missmatch in case of non zero pad end layer parameter
resolves average pooling accuracy missmatch in case of non zero pad end layer parameter

4 years ago[IE CLDNN] Fixed stack overflow in calculate_prior_boxes pass (#747)
Lukasz Debski [Wed, 3 Jun 2020 16:42:50 +0000 (18:42 +0200)]
[IE CLDNN] Fixed stack overflow in calculate_prior_boxes pass (#747)

The problem behind this error was in program_impl::init_graph() where in calculate_prior_boxes we are trying to calculate output layout of an entire network recursively which causes stack overflow. Calculating output layouts beforehand in processing order fixes this issue.

4 years agoAdd 'aligned' param to ExperimentalDetectronROIFeatureExtractor for CPU plugin and MO
Ilya-Krylov [Wed, 3 Jun 2020 14:52:40 +0000 (17:52 +0300)]
Add 'aligned' param to ExperimentalDetectronROIFeatureExtractor for CPU plugin and MO

4 years agoPython API for Assign, ReadValue and ExtractImagePatches (#719)
Tomasz Dołbniak [Wed, 3 Jun 2020 13:01:43 +0000 (15:01 +0200)]
Python API for Assign, ReadValue and ExtractImagePatches (#719)

4 years agomkldnn_memory_solver.hpp: include stdint.h to avoid build error (#729)
LiweiSong [Wed, 3 Jun 2020 12:19:29 +0000 (20:19 +0800)]
mkldnn_memory_solver.hpp: include stdint.h to avoid build error (#729)

fix the following compile error:

inference-engine/src/mkldnn_plugin/mkldnn_memory_solver.hpp:60:9: error: 'int64_t' does not name a type
|    60 |         int64_t size;
|       |         ^~~~~~~

include stdint.h to fix this.

Signed-off-by: Liwei Song <liwei.song@windriver.com>
4 years ago[LPT] [TEST] Sporadic test fail fix (workaround) (#742)
Edward Shogulin [Wed, 3 Jun 2020 12:05:45 +0000 (15:05 +0300)]
[LPT] [TEST] Sporadic test fail fix (workaround) (#742)

4 years ago[ nGraph ] FP16 for evaluate (#722)
Evgenya Stepyreva [Wed, 3 Jun 2020 11:14:59 +0000 (14:14 +0300)]
[ nGraph ] FP16 for evaluate (#722)

4 years agoUse pre-defined DB collection names in memcheck_upload.py CLI (#651)
Vitaliy Urusovskij [Wed, 3 Jun 2020 10:54:38 +0000 (13:54 +0300)]
Use pre-defined DB collection names in memcheck_upload.py CLI (#651)

Use argparses `choices` for `--db_collection` option.

Also removed unnecessary redefinition of `db_collection` in memcheck_upload.py

4 years ago[IE CLDNN] Improve kernel selection for b_fs_yx_fsv16 layout and optimize Convolution...
Sergey Shlyapnikov [Wed, 3 Jun 2020 10:42:15 +0000 (13:42 +0300)]
[IE CLDNN] Improve kernel selection for b_fs_yx_fsv16 layout and optimize Convolution kernels (#730)

4 years ago[IE TESTS] Move InferRequestTests (#618)
Anton Zaytsev [Wed, 3 Jun 2020 09:16:00 +0000 (12:16 +0300)]
[IE TESTS] Move InferRequestTests (#618)

* [IE TESTS] move Infer_request tests

* fix v0

* [ci-skip][IE TESTS] test update basic class v0

* [ci-skip][IE TESTS] test update basic class v1

* [ci-skip][IE TESTS] test update basic class

* [ci-skip][IE TESTS] test update basic class v3

* [ci-skip][IE TESTS] test update basic class final versions

* [ci-skip][IE TESTS] fix

* [ci-skip][IE TESTS] fix codestaly and comment

Co-authored-by: Irina Efode <irina.efode@intel.com>
4 years agoSkip some functional tests on VPU (#568)
Evgeny Talanin [Wed, 3 Jun 2020 09:15:06 +0000 (12:15 +0300)]
Skip some functional tests on VPU (#568)

4 years ago[ONNX] GRU and RNN operators. (#607)
Adam Osewski [Wed, 3 Jun 2020 09:01:56 +0000 (11:01 +0200)]
[ONNX] GRU and RNN operators. (#607)

* Create generic RecurrentSequenceDirection enum.

* Helper class RecurrentSequenceOp.

* Add ONNX GRU & RNN operators.

* Use OutputVector.

* Update doc.

* Add UTs for GRU and skip them on IE_CPU

* Add UT for bidirectional mode and fix it.

* Normalize activation function name case.

* Add unit-tests for RNN operator.

* UT for GRU with linear_before_reset set to true.

* Fix ONNX GRU for linear_before_reset case.

* Remove unnecessary symbol export macro.

* Fix CentOS error.

* Update UTs.

- Update few tests accuracy tolerance
- Update rnn_fwd_activations with new reference values and model.

* Review comment: add check for static shape

* Add UT for RNN with constant inputs W, R.

* Skip UT with const W,R on IE_CPU

4 years ago[IE][VPU]: Faster-RCNN fixes on myriad plugin side (#711)
Gladilov, Gleb [Wed, 3 Jun 2020 08:43:19 +0000 (11:43 +0300)]
[IE][VPU]: Faster-RCNN fixes on myriad plugin side (#711)

* [IE][VPU]: Enables pass for propagating dynamism to network outputs

If network had dynamic output and then myriad Front-End inserted
convert stage at the end (to convert FP16 -> FP32 - output precision)
then dynamism would not be propagated - we have convert stage that
has dynamic input, but static output. As a result, we have run-time
error in Convert kernel: input and output shapes do not match.

At the moment, pass supports only Convert stage as output stage
over which we should propagate dynamism to outputs.

Signed-off-by: Gladilov, Gleb <gleb.gladilov@intel.com>
* [IE][VPU]: Fixes parse DSR in case of output data

Replacing stage output must be done after replacing
data to shape parent, because the last one may access
original parent producer, but after replacing stage output
it'd not have one.

Signed-off-by: Gladilov, Gleb <gleb.gladilov@intel.com>
* [IE][VPU]: Fixes MacOS build

* [IE][VPU]: Fixes shape data naming convention

Plugin part assumes that if there is dynamic data object, that's
represented as 2 different data objects (data and shape), then
shape data object has name = data object name + @shape suffix.

Pass that creates new dynamic data object should respect that
assumption.

* [IE][VPU]: Fixes dis-alignment in names of data objects representing dynamic data object

MyriadInferRequest::GetResult assumes that in case of dynamic data object
"data" data object and "shape" data object will have aligned names:
"shape" name = "data" name + "@shape" suffix.

In order to meet that expectation propagating dynamism pass must use output
data object name as prefix. Additionally, propagating pass must be applied
before converting shape notation pass in order to make output shape in IE
notation, not MDK, as MyriadInferRequest::GetResult is expecting.

Signed-off-by: Gladilov, Gleb <gleb.gladilov@intel.com>
4 years ago Remove deprecated layer test class (#610)
Mikhail Treskin [Wed, 3 Jun 2020 08:04:15 +0000 (11:04 +0300)]
 Remove deprecated layer test class (#610)

* Update activation layer test

Signed-off-by: Mikhail Treskin <mikhail.treskin@intel.com>
* Get rid of LayerTestsCommonDeprecated class

Signed-off-by: Mikhail Treskin <mikhail.treskin@intel.com>
* Fix activation tests instantiations for gpu and myriad plugins

* Remove leaking inferWithInterp function

4 years ago[IE CLDNN] Activation with fused quantize bug fix (#613)
Mikołaj Życzyński [Wed, 3 Jun 2020 06:30:49 +0000 (08:30 +0200)]
[IE CLDNN] Activation with fused quantize bug fix (#613)

fixed bug connected with quantization fusing to activation
added scale and activation fusing support
added corresponding tests

4 years agoUpdated deprecated messages (#715)
Ilya Lavrenov [Wed, 3 Jun 2020 03:04:50 +0000 (06:04 +0300)]
Updated deprecated messages (#715)

4 years ago[LPT] Output layers fix (#677)
Edward Shogulin [Tue, 2 Jun 2020 20:44:24 +0000 (23:44 +0300)]
[LPT] Output layers fix (#677)

4 years agoEnabled thread tests (#717)
Ilya Churaev [Tue, 2 Jun 2020 20:42:05 +0000 (23:42 +0300)]
Enabled thread tests (#717)

4 years ago[CPU] EmbeddingBagOffsetsSum, EmbeddingBagPackedSum, EmbeddingSegmentsSum operations...
Nikolay Shchegolev [Tue, 2 Jun 2020 18:56:17 +0000 (21:56 +0300)]
[CPU] EmbeddingBagOffsetsSum, EmbeddingBagPackedSum, EmbeddingSegmentsSum operations. (#576)

* [CPU] EmbeddingBagOffsetsSum, EmbeddingBagPackedSum, EmbeddingSegmentsSum operations.

* Performance fix

* Perf v2

* Code style

4 years agoadd PassManagerSettings & create more legible description for concat quantization...
Anna Alberska [Tue, 2 Jun 2020 18:03:27 +0000 (20:03 +0200)]
add PassManagerSettings & create more legible description for concat quantization exception and a test for it (#563)

4 years ago[Jenkinsfile] Add failFast parameter (#721)
Andrey Babushkin [Tue, 2 Jun 2020 17:22:25 +0000 (20:22 +0300)]
[Jenkinsfile] Add failFast parameter (#721)

It allows us to rebuild Jenkins build and wait until all stages are finished despite of some of them may fail

4 years agoImironov/cvs 31297 add yolov4 support (#594)
iimironov [Tue, 2 Jun 2020 16:20:29 +0000 (19:20 +0300)]
Imironov/cvs 31297 add yolov4 support (#594)

* Add transformation of softplus operation into log(1.0 + exp(x)).

4 years ago[IE][Myriad] Gather: add test case (#644)
Evgeny Latkin [Tue, 2 Jun 2020 14:41:19 +0000 (17:41 +0300)]
[IE][Myriad] Gather: add test case (#644)

4 years agoUpdated DeconvolutionIE to support dynamic shapes (#671)
Gleb Kazantaev [Tue, 2 Jun 2020 14:26:28 +0000 (17:26 +0300)]
Updated DeconvolutionIE to support dynamic shapes (#671)

* Updated DeconvolutionIE to support dynamic shapes

* Updated DeconvolutionIE to support output_shape input

* Updated ConvertConvolutions pass

4 years ago[IE CLDNN] Fixed names mapping chain in runtime graph to respect original names ...
Vladimir Paramuzov [Tue, 2 Jun 2020 14:25:41 +0000 (17:25 +0300)]
[IE CLDNN] Fixed names mapping chain in runtime graph to respect original names (#599)

4 years agoAdd parallel downloads to stress tests (#678)
Vitaliy Urusovskij [Tue, 2 Jun 2020 14:24:22 +0000 (17:24 +0300)]
Add parallel downloads to stress tests (#678)

4 years agospecificCreator for Transpose operation (#713)
Gleb Kazantaev [Tue, 2 Jun 2020 14:15:36 +0000 (17:15 +0300)]
specificCreator for Transpose operation (#713)

* Updated Transpose node convertor; replaced get_vector with cast_vector

* Replaced NodeCreator with specificCreator

4 years agoEnable Control Flow Guard for Windows binaries (#714)
Andrey Somsikov [Tue, 2 Jun 2020 13:46:23 +0000 (16:46 +0300)]
Enable Control Flow Guard for Windows binaries (#714)

Control Flow Guard is security option.

4 years agoRevert "Add ittnotify from IntelSEAPI"
azhogov [Tue, 2 Jun 2020 09:52:14 +0000 (12:52 +0300)]
Revert "Add ittnotify from IntelSEAPI"

This reverts commit 0583b37a14f7f5e4514d51f4a90818e5d42b57ba.

4 years agoRevert "Use ittnotify from thirdparty"
azhogov [Tue, 2 Jun 2020 09:50:06 +0000 (12:50 +0300)]
Revert "Use ittnotify from thirdparty"

This reverts commit 3863656f446bdaa1fa7664127e315fcd97d0ef7e.

4 years agoRemove TopKnormalizer from MO IR Reader transformation_list (#590)
Anton Chetverikov [Tue, 2 Jun 2020 09:43:41 +0000 (12:43 +0300)]
Remove TopKnormalizer from MO IR Reader transformation_list (#590)

* Remove TopKnormalizer from transformation_list and added call of normalize_outputs to fix read/save of some models

4 years ago[IE VPU] Enable s32->u8 conversion (#699)
Maksim Doronin [Tue, 2 Jun 2020 09:20:06 +0000 (12:20 +0300)]
[IE VPU] Enable s32->u8 conversion (#699)

4 years agoAlign MO requirements files (#710)
Evgeny Lazarev [Tue, 2 Jun 2020 08:32:39 +0000 (11:32 +0300)]
Align MO requirements files (#710)

4 years ago[IE CLDNN] Quantized deeplabv3 optimizations (#646)
Vladimir Paramuzov [Tue, 2 Jun 2020 06:17:39 +0000 (09:17 +0300)]
[IE CLDNN] Quantized deeplabv3 optimizations (#646)

Enabled dilation for imad dw fsv16 kernel
Added argmax and mutable_data to fsv16 white list
Enabled byxf input for quantize scale_shift kernel

4 years agoUse ittnotify from thirdparty
Somsikov, Andrey [Mon, 1 Jun 2020 07:26:34 +0000 (10:26 +0300)]
Use ittnotify from thirdparty

VTune ittnotify lack of support aarch64. Switching to use ittnotify
in sources to support any target architecture.

4 years agoAdd ittnotify from IntelSEAPI
Somsikov, Andrey [Fri, 29 May 2020 16:55:19 +0000 (19:55 +0300)]
Add ittnotify from IntelSEAPI

Adding ittnotify component of https://github.com/intel/IntelSEAPI

commit 88a56e0ecd162667c7afd2ee9969221d62a32509 (HEAD -> master, origin/master, origin/HEAD)
Merge: 6d743e1 809062a
Author: Alex <alexander.a.raud@intel.com>
Date:   Wed Jul 10 15:06:46 2019 -0700

4 years ago[VPU][NGraph] Reuse NonZero evaluate in StaticShapeNonZero (#658)
Andrew Bakalin [Mon, 1 Jun 2020 15:57:06 +0000 (18:57 +0300)]
[VPU][NGraph] Reuse NonZero evaluate in StaticShapeNonZero (#658)

* [VPU][NGraph] Reuse NonZero evaluate in StaticShapeNonZero

* [VPU][Tests] Adopt old tests to work with reverted indices

* [VPU] Update firmware

4 years ago[IE Python API] fix TensorDesc test file name (#701)
Katya [Mon, 1 Jun 2020 12:58:05 +0000 (15:58 +0300)]
[IE Python API] fix TensorDesc test file name (#701)

4 years ago[IE VPU] OutShapeOfReshape per-layer tests (#631)
Maksim Doronin [Mon, 1 Jun 2020 11:51:04 +0000 (14:51 +0300)]
[IE VPU] OutShapeOfReshape per-layer tests (#631)

* [IE VPU] OutShapeOfReshape per-layer tests

* [IE VPU] Update firmware

* [IE VPU] OutShapeOfReshape: get rid of code duplication

4 years agoAdded speech recognition demo package for centOS (#682)
Piotr Rozen [Mon, 1 Jun 2020 11:41:45 +0000 (13:41 +0200)]
Added speech recognition demo package for centOS (#682)

4 years ago[IE] Fix build error (#703)
Vladislav Vinogradov [Mon, 1 Jun 2020 10:09:23 +0000 (13:09 +0300)]
[IE] Fix build error (#703)

Missing changes in transformation library due to IE API dependency removal.

4 years ago[IE CLDNN] Free up first copy of weights/biases that were transferred to USM device...
Mikhail Letavin [Mon, 1 Jun 2020 09:01:28 +0000 (12:01 +0300)]
[IE CLDNN] Free up first copy of weights/biases that were transferred to USM device memory (#561)

4 years agoFix SparseWeightedSum transform for Wide and Deep (#698)
Roman Kazantsev [Mon, 1 Jun 2020 08:48:06 +0000 (13:48 +0500)]
Fix SparseWeightedSum transform for Wide and Deep (#698)

WhereDecomposition transform is applied to Where operation in for-garbage sub-graph remained after SparseWeightedSum transform.

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
4 years ago[IE CLDNN] Prefer bf(wz)yx format for reshape (#691)
Jedrzej Hajduczenia [Mon, 1 Jun 2020 07:38:33 +0000 (09:38 +0200)]
[IE CLDNN] Prefer bf(wz)yx format for reshape (#691)

Performance improvement for icnet-camvid model

4 years agoRemoved dependency on Inference Engine from transformation library (#680)
Ilya Churaev [Mon, 1 Jun 2020 07:31:31 +0000 (10:31 +0300)]
Removed dependency on Inference Engine from transformation library (#680)

* Removed dependency on Inference Engine from transformation library

* Change transformations export macro

* Fixed comments

4 years agoReshape-Permute-Reshape pattern to DepthToSpace layer transformation (#601)
Ivan Tikhonov [Mon, 1 Jun 2020 06:24:16 +0000 (09:24 +0300)]
Reshape-Permute-Reshape pattern to DepthToSpace layer transformation (#601)

* implemented depth_to_space transformation

* renaming

* added functional tests, fixed mistakes in implementation of the transformation

* disable ConvertSpaceToDepth/ConvertDepthToSpace transformation for CPU plugin, enable DepthToSpaceFusion for CPU plugin only, add specific creators

* fix wrong include

* fix for functional tests: set transformation callback

* revert callback calls for CPU plugin

* move functions to .cpp file

* Apply review comments

* Apply additional review comments

* fix cast to bool type

4 years ago[ONNX] Add Range op to ONNX importer (#548)
Ewa Tusień [Mon, 1 Jun 2020 02:59:39 +0000 (04:59 +0200)]
[ONNX] Add Range op to ONNX importer (#548)

* Added Range op to ONNX importer.

* Disable tests for IE.

4 years agoIe capi callback with explicit calling convention (#697)
emmanuelattia-philips [Sun, 31 May 2020 20:19:37 +0000 (22:19 +0200)]
Ie capi callback with explicit calling convention (#697)

* Added explicit calling convention to CAPI callback

* Fixed typo spacing

* Renamed INFERENCE_ENGINE_CALLBACK to INFERENCE_ENGINE_C_API_CALLBAC to make the macro really specific to the C API

4 years ago[IE][VPU]: Faster-RCNN fixes on myriad plugin side (#665)
Gladilov, Gleb [Sun, 31 May 2020 10:17:36 +0000 (13:17 +0300)]
[IE][VPU]: Faster-RCNN fixes on myriad plugin side (#665)

* [IE][VPU]: Fixes deallocation data for cases of CMX allocator run

The final loop tries to deallocate data objects that keep shape values for
other data objects that're outputs of a model. But the case when allocator
takes only CMX data into consideration was not handled and since allocation
could not happen, it lead to fail on deallocation of a data object that has
not been allocated.

Signed-off-by: Gladilov, Gleb <gleb.gladilov@intel.com>
* [IE][VPU]: Fixes allocator with work on data to shape edges

Since there is new relationship between data objects: some
data objects may contain shape of other data object - allocator
must properly respect that. The thing is if 2 data objects are
connected in such a way, they represent unite entity (dynamic
data object) and should have the same lifetime.

Signed-off-by: Gladilov, Gleb <gleb.gladilov@intel.com>