platform/upstream/dldt.git
3 years agoStatically analyzed issues. (#2274)
Nikolay Shchegolev [Wed, 16 Sep 2020 15:09:59 +0000 (18:09 +0300)]
Statically analyzed issues. (#2274)

3 years ago[IE TESTS] CoreThreading_LoadNetwork tests were disabled for GPU plugin (#2245)
Irina Efode [Wed, 16 Sep 2020 13:46:02 +0000 (16:46 +0300)]
[IE TESTS] CoreThreading_LoadNetwork tests were disabled for GPU plugin (#2245)

3 years agoTest refactor (#2225)
Piotr Szmelczynski [Wed, 16 Sep 2020 13:33:02 +0000 (15:33 +0200)]
Test refactor (#2225)

3 years agoupdate OpenCV version to 4.5.0 (#2254)
Alexey Suhov [Wed, 16 Sep 2020 13:13:41 +0000 (16:13 +0300)]
update OpenCV version to 4.5.0 (#2254)

* update OpenCV version to 4.5.0

* fix Azure pipelines

3 years agoFixed KW warning and review issues (#2263)
Ilya Churaev [Wed, 16 Sep 2020 12:33:23 +0000 (15:33 +0300)]
Fixed KW warning and review issues (#2263)

3 years agoRevert "[IE TESTS] dynavic batch for mvn layer (#1010)" (#2257)
Gorokhov Dmitriy [Wed, 16 Sep 2020 11:11:48 +0000 (14:11 +0300)]
Revert "[IE TESTS] dynavic batch for mvn layer (#1010)" (#2257)

This reverts commit 2e3378c50feb96df2bb8cb719bf0745705e35ad9.

3 years ago[IE][VPU]: update firmware 1378 (#2182)
Evgeny Latkin [Wed, 16 Sep 2020 10:51:33 +0000 (13:51 +0300)]
[IE][VPU]: update firmware 1378 (#2182)

3 years ago[VPU] Fix K propagation through Reshape (#2184)
Andrew Bakalin [Wed, 16 Sep 2020 09:41:49 +0000 (12:41 +0300)]
[VPU] Fix K propagation through Reshape (#2184)

* [VPU][DTS] Fix K propagation through Reshape

* [VPU] Add test cases

3 years ago[PP GAPI] Addded tests to cover exisiting precision conversions done by (#1976)
Anton Potapov [Wed, 16 Sep 2020 09:41:14 +0000 (12:41 +0300)]
[PP GAPI] Addded tests to cover exisiting precision conversions done by (#1976)

some plugins

- added shared parameterized tests
- instantiated for template plugin
- instantiated for cpu plugin
- fixed CPU plugin to properly handle U16 input
- fixed CPU reverse_sequence primitive to alolw input/oputput tensors to
be in FP32 only
- updated ngraph test_simple_computation_on_ndarrays to not expect
failure on U16 input

3 years agoadded check to avoid IR generation in case of wrong input shape (#2127)
Svetlana Dolinina [Wed, 16 Sep 2020 08:29:05 +0000 (11:29 +0300)]
added check to avoid IR generation in case of wrong input shape (#2127)

* added check to avoid IR generation in case of wrong input shape

* review changes

3 years ago[IE][VPU][OpenCL] 2021.1 release compiler (#2166)
Maxim Kurin [Tue, 15 Sep 2020 21:44:25 +0000 (00:44 +0300)]
[IE][VPU][OpenCL] 2021.1 release compiler (#2166)

3 years agoRevert "Eliminated invalid subgraphs (#2196)" (#2250)
Evgeny Talanin [Tue, 15 Sep 2020 16:24:57 +0000 (19:24 +0300)]
Revert "Eliminated invalid subgraphs (#2196)" (#2250)

This reverts commit 89a6f926a4784110b34848a432994e4632f860ce.

3 years agoAdded Public CI badge to main page (#2241)
Konstantin Satunin [Tue, 15 Sep 2020 14:39:32 +0000 (17:39 +0300)]
Added Public CI badge to main page (#2241)

3 years ago[GNA] fix scale factor calculation for unfused bias after fc (#2097)
Anna Alberska [Tue, 15 Sep 2020 13:04:06 +0000 (15:04 +0200)]
[GNA] fix scale factor calculation for unfused bias after fc (#2097)

* [GNA] fix scale factor calculation for unfused bias after fc

* change check

* add test

* apply requested changes

* cpplint fix

* apply test changes

* modify model for test to match ::op::

3 years agoFix running nG Python tests on Windows and update doc (#2162)
Mateusz Bencer [Tue, 15 Sep 2020 13:02:48 +0000 (15:02 +0200)]
Fix running nG Python tests on Windows and update doc (#2162)

3 years ago[IE][VPU]: Merges transformations calls from LoadExeNetwork and Frontend (#2220)
Gladilov, Gleb [Tue, 15 Sep 2020 12:28:28 +0000 (15:28 +0300)]
[IE][VPU]: Merges transformations calls from LoadExeNetwork and Frontend (#2220)

Signed-off-by: Gladilov, Gleb <gleb.gladilov@intel.com>
3 years agoReshape v7: remove (#1379)
Ilya Lavrenov [Tue, 15 Sep 2020 12:08:17 +0000 (15:08 +0300)]
Reshape v7: remove (#1379)

* Removed shape inference fr IR v7 and older

* Disabled dynamic batch tests which require reshape

* Fixes tests 2

* Disabled MKLDNN tests with convolution reshape

* Fixed GPU tests

* Disable VPU tests with batch size > 1 for old IRs

* Removed most of shape infer functions for old representation

* Removed most of CNNLayer validators

* Fixed validators and keep only parseParams

* Removed tests on invalid IR v7

* Disabled more VPU tests

* Removed Backetize validator

* Disable one more Myriad tests case where reshape for old IR is needed

* Removed useless reshape

* Need to replace GRUCell with Unique

* Moved shape infer functions for experimental layers to Core IE

* Fixed shape inference functions not to depend on legacy

* Added missed SparseToDense

* Added descriptive error message

* Fixed comments

3 years ago[IE][VPU]: Workaround to support parameter Beta for layer Swish (#2205)
Roman Vyunov (Intel) [Tue, 15 Sep 2020 11:39:27 +0000 (14:39 +0300)]
[IE][VPU]: Workaround to support parameter Beta for layer Swish (#2205)

* Workaround to full support Swish layer. It is faster than native Swish for now.

3 years ago[IE][TESTS] Fix compareRawBuffers and compareBlobData methods (#2222)
Vladislav Vinogradov [Tue, 15 Sep 2020 11:04:47 +0000 (14:04 +0300)]
[IE][TESTS] Fix compareRawBuffers and compareBlobData methods (#2222)

Use `<=` comparison instead of `<` with thresholds.
This allows to use `0` threshold for bit-exact comparison.

3 years agoEliminated invalid subgraphs (#2196)
Anton Pankratv [Tue, 15 Sep 2020 11:03:24 +0000 (14:03 +0300)]
Eliminated invalid subgraphs (#2196)

3 years agonGraph some KW fixes (#2102)
Ilya Churaev [Tue, 15 Sep 2020 11:03:07 +0000 (14:03 +0300)]
nGraph some KW fixes (#2102)

* Removed redundant methods

* Fixed KW for linux

3 years agoExtend error message (#2175)
Ilya Churaev [Tue, 15 Sep 2020 11:02:42 +0000 (14:02 +0300)]
Extend error message (#2175)

3 years agoFixed query network for networks with KSO (#2201)
Ilya Churaev [Tue, 15 Sep 2020 11:02:15 +0000 (14:02 +0300)]
Fixed query network for networks with KSO (#2201)

* Added a test to reproduce QueryNetwork with KSO

* Fixed QueryNetwork for networks with KSO

* Added additional test

3 years agoFixed output names for case with redundant ops before result (#2210)
Ilya Churaev [Tue, 15 Sep 2020 11:01:43 +0000 (14:01 +0300)]
Fixed output names for case with redundant ops before result (#2210)

3 years ago[IE][VPU]: Some KW fixes (#2142)
Maksim Doronin [Tue, 15 Sep 2020 09:42:16 +0000 (12:42 +0300)]
[IE][VPU]: Some KW fixes (#2142)

* Some KW fixes
* Fix printTo in vpu ngraph transformations

3 years ago[GNA] Safety fixes (#2158)
Denis Orlov [Tue, 15 Sep 2020 08:24:17 +0000 (11:24 +0300)]
[GNA] Safety fixes (#2158)

3 years ago[IE][VPU][Tests]: Enables tests on MergeSubsequentDSROperations (#2149)
Gladilov, Gleb [Tue, 15 Sep 2020 07:44:25 +0000 (10:44 +0300)]
[IE][VPU][Tests]: Enables tests on MergeSubsequentDSROperations (#2149)

Signed-off-by: Gladilov, Gleb <gleb.gladilov@intel.com>
3 years agoTensorIterator to RNN/GRU/LSTM Sequence transformation (#2146)
Ivan Tikhonov [Tue, 15 Sep 2020 07:11:51 +0000 (10:11 +0300)]
TensorIterator to RNN/GRU/LSTM Sequence transformation (#2146)

* ti to sequences transformations

* fix sequences to sequences ie conversion

* resolve review marks

* resolve review remarks, fix ti to sequences transformations to support batch > 1 if slice axis == 0

* temporary enable ngraph ti transformations for cpu plugin

* fix includes

* Revert "fix includes"

This reverts commit 6cf15b97bec94168df71606ac959b3cf60634c8a.

* Revert "temporary enable ngraph ti transformations for cpu plugin"

This reverts commit fd528d7216a2e6b11e915a0038a191259dc60551.

* delete todo comments

3 years ago[LPT] Copy constant with several outputs before blob update (cherry-pick to master...
Edward Shogulin [Tue, 15 Sep 2020 06:18:58 +0000 (09:18 +0300)]
[LPT] Copy constant with several outputs before blob update (cherry-pick to master) (#2198)

* [LPT] Copy constant implementation

* [LPT] the same Constant ops as FQ interval boundaries

3 years agosetupvars: update logic for setting path-like vars in case if they are empty. Updated...
Artyom Anokhov [Mon, 14 Sep 2020 16:49:57 +0000 (19:49 +0300)]
setupvars: update logic for setting path-like vars in case if they are empty. Updated copyrights. (#2229)

3 years agoGatherTree description was extended and outdated link fixed (#2167)
Svetlana Dolinina [Mon, 14 Sep 2020 16:49:29 +0000 (19:49 +0300)]
GatherTree description was extended and outdated link fixed (#2167)

* add more alrifications to description

* move clarification to comment

* pseudo code become more accurate

* review changes

3 years agoRevert "update OpenCV version to 4.5.0"
Alexey Suhov [Mon, 14 Sep 2020 15:47:19 +0000 (18:47 +0300)]
Revert "update OpenCV version to 4.5.0"

This reverts commit 5d229a45649091d25c3e85f391f99ea88122e008.

3 years agoupdate OpenCV version to 4.5.0
Alexey Suhov [Mon, 14 Sep 2020 14:58:39 +0000 (17:58 +0300)]
update OpenCV version to 4.5.0

3 years ago[CPU] add check on equality of values IL and IH ranges (#2190)
Maxim Andronov [Mon, 14 Sep 2020 12:28:37 +0000 (15:28 +0300)]
[CPU] add check on equality of values IL and IH ranges (#2190)

3 years agoAdd backend tests to ONNX OpenVino CI (#1972)
Rafal Blaczkowski [Mon, 14 Sep 2020 11:07:47 +0000 (13:07 +0200)]
Add backend tests  to ONNX OpenVino CI (#1972)

3 years agoDefine security policy (#2215)
Andrey Somsikov [Mon, 14 Sep 2020 10:50:03 +0000 (13:50 +0300)]
Define security policy (#2215)

3 years ago[Python Tools] Fix several problems in cross-check-tool (#2170)
Anastasia Kuporosova [Mon, 14 Sep 2020 10:49:01 +0000 (13:49 +0300)]
[Python Tools] Fix several problems in cross-check-tool (#2170)

3 years agoSuper smart reshape: HC Reshape to 2D followed by MatMul (#2183)
Evgenya Stepyreva [Mon, 14 Sep 2020 10:45:27 +0000 (13:45 +0300)]
Super smart reshape: HC Reshape to 2D followed by MatMul (#2183)

* Initial commit

* [SSR] Reshape(2D)->MatMul constrain relaxation

* Moved common pattern mechanics to the common function

* Moving SmartReshape to CNNNetworkNgraphImpl ctors

* Review comment

* Tests

3 years agoSplit time-tests common library (#2173)
Andrey Somsikov [Mon, 14 Sep 2020 06:04:49 +0000 (09:04 +0300)]
Split time-tests common library (#2173)

Split time-tests common library

Add a README.md with workflow description.
Defined "timetest_" suffix for all time tests.
Applied clang-format-9 and added a README.md

Co-authored-by: Alina Alborova <alina.alborova@intel.com>
3 years ago[DOC] Reshape feature (#2023)
Evgenya Stepyreva [Fri, 11 Sep 2020 18:41:42 +0000 (21:41 +0300)]
[DOC] Reshape feature (#2023)

* [DOC] Reshape feature

* Comments adressed.

* Clarifications

* Converting_Model_General.md

* Update ShapeInference.md

* Update ShapeInference.md

* Comments

* Update Convert_Object_Detection_API_Models.md

Co-authored-by: Andrey Zaytsev <andrey.zaytsev@intel.com>
3 years agoAdded type info for transformations (#2116)
Gleb Kazantaev [Fri, 11 Sep 2020 12:38:43 +0000 (15:38 +0300)]
Added type info for transformations (#2116)

3 years agoFix Mish and SoftPlus value propagation functions (#2120)
Anton Chetverikov [Fri, 11 Sep 2020 09:58:14 +0000 (12:58 +0300)]
Fix Mish and SoftPlus value propagation functions (#2120)

* Fix Mish and SoftPlus value propagation functions

* Add unit tests for SoftPlus & Mish operations value propagation functions

3 years ago[PYTHON API TESTS] Add ngraph tests (#2132)
Anastasia Kuporosova [Fri, 11 Sep 2020 09:56:57 +0000 (12:56 +0300)]
[PYTHON API TESTS] Add ngraph tests (#2132)

Co-authored-by: Alexander Zhogov <alexander.zhogov@intel.com>
3 years agoFix for static PartialShape detection algorithm (#2106)
Vladislav Volkov [Fri, 11 Sep 2020 03:15:24 +0000 (06:15 +0300)]
Fix for static PartialShape detection algorithm (#2106)

3 years agoAdded callback to disable PriorBox to PriorBoxIE transformation (#2159)
Ivan Tikhonov [Fri, 11 Sep 2020 03:12:14 +0000 (06:12 +0300)]
Added callback to disable PriorBox to PriorBoxIE transformation (#2159)

* move priorbox to ie transformations to Opset1ToLegacyOpset pipeline

* fix typo

* Revert "fix typo"

This reverts commit 4077a78cbdcc1340b0999a3756ce348dd567e45f.

* Revert "move priorbox to ie transformations to Opset1ToLegacyOpset pipeline"

This reverts commit 910e41ff2099b0516fc9bff2baaa2ec678c8a7bf.

* add functionality to disable prior box to ie transformation

* fix callback

3 years ago[IE CLDNN] Memory allocation optimizations (#2007)
Sergey Shlyapnikov [Thu, 10 Sep 2020 20:18:26 +0000 (23:18 +0300)]
[IE CLDNN] Memory allocation optimizations (#2007)

3 years agoAdd exposing function signatures via Cython (#2024)
Evgeny Talanin [Thu, 10 Sep 2020 16:58:45 +0000 (19:58 +0300)]
Add exposing function signatures via Cython (#2024)

3 years agoImplement `run_executable.py` to run `TimeTests` several times (#2125)
Vitaliy Urusovskij [Thu, 10 Sep 2020 16:41:23 +0000 (19:41 +0300)]
Implement `run_executable.py` to run `TimeTests` several times (#2125)

3 years ago[IE CLDNN] Fix stack-use-after-scope issue (#2150)
Sergey Shlyapnikov [Thu, 10 Sep 2020 15:59:15 +0000 (18:59 +0300)]
[IE CLDNN] Fix stack-use-after-scope issue (#2150)

3 years agoUpdated ConvertPrecision pass not to make extra copy of Constant data (#2108)
Gleb Kazantaev [Thu, 10 Sep 2020 14:11:10 +0000 (17:11 +0300)]
Updated ConvertPrecision pass not to make extra copy of Constant data (#2108)

3 years ago[samples] remove unused ngraph (#2156)
Kate Generalova [Thu, 10 Sep 2020 13:04:13 +0000 (16:04 +0300)]
[samples] remove unused ngraph (#2156)

3 years ago[IE Myriad][#38489] Reduce test scope for Swish layer (#2163)
Nikita Kudriavtsev [Thu, 10 Sep 2020 12:47:20 +0000 (15:47 +0300)]
[IE Myriad][#38489] Reduce test scope for Swish layer (#2163)

3 years agoFixed differences between glib versions (#2153)
Alexey Fadeev [Thu, 10 Sep 2020 12:11:08 +0000 (15:11 +0300)]
Fixed differences between glib versions (#2153)

3 years ago[IE][VPU]: Support ngraph::Function in VPU QueryNetwork (#1929)
Anton Dudchenko [Thu, 10 Sep 2020 11:49:19 +0000 (14:49 +0300)]
[IE][VPU]: Support ngraph::Function in VPU QueryNetwork (#1929)

* Support ngraph::Function in VPU QueryNetwork

3 years ago[IE Myriad][IE Tests] Activation layer's constants parametrization. (#2071)
Nikita Kudriavtsev [Thu, 10 Sep 2020 09:56:21 +0000 (12:56 +0300)]
[IE Myriad][IE Tests] Activation layer's constants parametrization. (#2071)

CI passed: https://gitlab-icv.inn.intel.com/inference-engine/product-configs/merge_requests/870

3 years agofix #38545 remove CPU network layer check for py samples (#2145)
Kate Generalova [Thu, 10 Sep 2020 09:44:13 +0000 (12:44 +0300)]
fix #38545 remove CPU network layer check for py samples (#2145)

3 years agoAdd support for custom onnx operators: DetectionOutput, Normalize and… (#2064)
Mateusz Tabaka [Thu, 10 Sep 2020 09:27:12 +0000 (11:27 +0200)]
Add support for custom onnx operators: DetectionOutput, Normalize and… (#2064)

3 years ago[IE][VPU][Custom CL]: Fix binary convolution3x3 3d transaction (#2144)
Maxim Kurin [Thu, 10 Sep 2020 08:55:32 +0000 (11:55 +0300)]
[IE][VPU][Custom CL]: Fix binary convolution3x3 3d transaction (#2144)

* Fix binary_convolution3x3.cl kernel & test

3 years ago[IE CLDNN] Fully connected MMAD kernel optimizations (#2115)
Ilya Znamenskiy [Thu, 10 Sep 2020 05:56:04 +0000 (08:56 +0300)]
[IE CLDNN] Fully connected MMAD kernel optimizations (#2115)

3 years ago[CPU] statically analyzed issues. (#2139)
Nikolay Shchegolev [Thu, 10 Sep 2020 05:35:32 +0000 (08:35 +0300)]
[CPU] statically analyzed issues. (#2139)

3 years ago[CPU] Supported depthwise 6d, 7d, ..., added test (#971)
Anton Voronov [Thu, 10 Sep 2020 05:33:38 +0000 (08:33 +0300)]
[CPU] Supported depthwise 6d, 7d, ..., added test (#971)

3 years agoFixed addOutput behavior for experimental ops (#2138)
Ilya Churaev [Thu, 10 Sep 2020 03:14:11 +0000 (06:14 +0300)]
Fixed addOutput behavior for experimental ops (#2138)

3 years ago[CPU] Fixed quantization post op memory leak (#2101)
Gorokhov Dmitriy [Wed, 9 Sep 2020 15:59:37 +0000 (18:59 +0300)]
[CPU] Fixed quantization post op memory leak (#2101)

3 years ago[CPU] add const and precision check quantize ranges (#2074)
Maxim Andronov [Wed, 9 Sep 2020 15:57:58 +0000 (18:57 +0300)]
[CPU] add const and precision check quantize ranges (#2074)

3 years ago[ IE ] ExperimentalDetectron shape infer fix (#2143)
Evgenya Stepyreva [Wed, 9 Sep 2020 15:25:53 +0000 (18:25 +0300)]
[ IE ] ExperimentalDetectron shape infer fix (#2143)

3 years ago[JAVA] Code style check added (#1984)
Anna Likholat [Wed, 9 Sep 2020 14:49:23 +0000 (17:49 +0300)]
[JAVA] Code style check added (#1984)

3 years ago[IE CLDNN] Fix problems with loop iterator and parameter check in clDNN (#2141)
Mikhail Letavin [Wed, 9 Sep 2020 14:21:10 +0000 (17:21 +0300)]
[IE CLDNN] Fix problems with loop iterator and parameter check in clDNN (#2141)

3 years ago[IE][TOOLS] compile_tool improvements (#2140)
Vladislav Vinogradov [Wed, 9 Sep 2020 14:14:20 +0000 (17:14 +0300)]
[IE][TOOLS] compile_tool improvements (#2140)

* Remove dead code.
* Protect device specific config options with device checks.
* Add missing space to precision parsing error message.
* Allow to switch FP32 input precision to U8.

3 years agoRelaxed tolerance for fp16_inception_v1 model (#2129)
Katarzyna Mitrus [Wed, 9 Sep 2020 13:47:53 +0000 (15:47 +0200)]
Relaxed tolerance for fp16_inception_v1 model (#2129)

3 years agoExtend MO for support of Interpolate-4 (#2026)
Vladimir Gavrilov [Wed, 9 Sep 2020 13:28:52 +0000 (16:28 +0300)]
Extend MO for support of Interpolate-4 (#2026)

* Commit.

* Added opset4 version in the class Interpolate.

* Added class ONNXResize11Op to read ONNX Resize with opset version >= 11.

* Added support for Interpolate-4 into transformations TestInterpolateReshapeWA and InterpolateConcat.

* Added support for Interpolate-4 into transformation InterpolateWithConcat.

* Deleted redundant checks from the transformation UpsampleToResample.

* Reverted last changes.

* Changed ONNX Resize extractor to support for Interpolate-4.

* Added conversion of ONNXResize11Op into Interpolate-4.

* Added support for Interpolate-4 into the transformation InterpolateSequenceToInterpolate.

* Small fix for formatting.

* Written tests for MO version of Interpolate-4 with shape_calculation_mode = sizes.

* Written tests for infer function of Interpolate-4.

* Now transformations InterpolateWithConcat, InterpolateConcat, InterpolateReshapeWA skip Interpolate-4.

* Used create_op_with_const_inputs in the transformation InterpolateSequenceToInterpolate.

* The transformation ONNXResize11ToInterpolate4 was rewritten using find_and_replace_pattern.

* Now the dictionary infers (dictionary of infer functions of Interpolate) is a class static attribute.

* Deleted unused variable.

* Restored original logic of find_and_replace_pattern method of the class InterpolateReshapeWA.

* Used create_op_with_const_inputs() in the transformation InterpolateSequenceToInterpolate for opset1 case.

* Replaced resize_name by resize.soft_get('name', resize.id).

* Small fixes.

* Added two tests for Interpolate-4 infer function.

* Fixed the transformation ONNXResize11ToInterpolateV4 for the case when ONNXResize11 operation has 3 inputs.

* Added conversion of ONNXResize11 with tf_crop_and_resize_mode to ROIPooling + ONNXResize11.

* Fixed bugs in the transformation ONNXResize11ToInterpolateV4 and in the infer function of the operation ONNXResize11.

* Small changes.

* Renamed transformation that converts ONNXResize11 into ROIPooling + ONNXResize11 and fixed BOM-file.

* Fixed tests for the transformation InterpolateSequenceToInterpolate.

* Small change.

* Now the transformation InterpolateSequenceToInterpolate preserves output layer name.

* Deleted the transformation ONNXResize11ToTFCropAndResize.

3 years agoImplement statistics collection: (#2056)
Vitaliy Urusovskij [Wed, 9 Sep 2020 12:30:23 +0000 (15:30 +0300)]
Implement statistics collection: (#2056)

1. Add `-s` CLI key to get statistics file path
2. Implement `StatisticsWriter` singleton to manage handle to this file

3 years ago[PP GAPI] - Generic precision conversion kernel; support for U8 (#2076)
Anton Potapov [Wed, 9 Sep 2020 12:30:08 +0000 (15:30 +0300)]
[PP GAPI] - Generic precision conversion kernel; support for U8 (#2076)

- added U8 support
- tests are extended

3 years ago[GNA] Fix for concat layer with >2 inputs (#1475)
Bartosz Sochacki [Wed, 9 Sep 2020 11:55:07 +0000 (13:55 +0200)]
[GNA] Fix for concat layer with >2 inputs (#1475)

* Fix for concat layer with more than 2 inputs

Signed-off-by: Bartosz Sochacki <bartosz.sochacki@intel.com>
* Fixed check if affine is used for crop layer

Signed-off-by: Bartosz Sochacki <bartosz.sochacki@intel.com>
* code cleanup for fix affine layer check

Signed-off-by: Bartosz Sochacki <bartosz.sochacki@intel.com>
* added test for concat layer with multiple inputs

* simplified test to use less number of layers

* fixed code style

* fixed coding style

* addressed review comments and one more issue that appeared during testing

* fixed code style errors

* scale factor propagation for concat layer with multiple inputs

* fix for a case when all inputs to concat are activation layers

* fix for linux compilation - C++14 is not enabled and fails on lambda with auto parameters

* corrected current year in headers in concat multi input tests

* fixes for code review issues raised by Denis Orlov

* enabled integer mode computation in GNA concat multi input test

* removed 1 space per review comment

* a fix to fail when not all scale factors are equal

* added GNA_DEVICE_MODE config to concat multi input test

* corrected searching for a next input to concat layer

* changed selection of 2nd candidate for source quant value

* code style fix - else and brackets should be in the same line

* small code improvement

* fix for mixing line endings

* addressed with endless requantization loop and fixed failing tests

3 years agoFixed AddressSanitizer issue (#2122)
Ilya Churaev [Wed, 9 Sep 2020 11:31:12 +0000 (14:31 +0300)]
Fixed AddressSanitizer issue (#2122)

3 years ago[IE CLDNN] fs_b_yx_fsv32 addition in quantize_scale_shift kernel and reorders removal...
Lukasz Debski [Wed, 9 Sep 2020 10:35:31 +0000 (12:35 +0200)]
[IE CLDNN] fs_b_yx_fsv32 addition in quantize_scale_shift kernel and reorders removal fix (#2124)

3 years ago[IE][Tests]: Fixes dangling reference access in nGraph function comparator (#2105)
Gladilov, Gleb [Wed, 9 Sep 2020 10:22:29 +0000 (13:22 +0300)]
[IE][Tests]: Fixes dangling reference access in nGraph function comparator (#2105)

Usage reference to front of the queue after pop is UB

Signed-off-by: Gladilov, Gleb <gleb.gladilov@intel.com>
3 years ago[IE TESTS] Remove normilizer tests (#2098)
Irina Efode [Wed, 9 Sep 2020 10:21:55 +0000 (13:21 +0300)]
[IE TESTS] Remove normilizer tests (#2098)

3 years agoTemporarily disable ONNX Loop operator for the 2021.1 release (#2110)
Michał Karzyński [Wed, 9 Sep 2020 10:07:02 +0000 (12:07 +0200)]
Temporarily disable ONNX Loop operator for the 2021.1 release (#2110)

3 years agoClang compilation error fix for Linux (#2126)
Tomasz Dołbniak [Wed, 9 Sep 2020 10:04:33 +0000 (12:04 +0200)]
Clang compilation error fix for Linux (#2126)

3 years ago[TEST] One more ReduceSUM func test
Alexander Peskov [Sun, 6 Sep 2020 23:47:14 +0000 (02:47 +0300)]
[TEST] One more ReduceSUM func test

Special test case with input values which cannot be correctly processed via
decomposition with int AVG pool layer.

Signed-off-by: Alexander Peskov <alexander.peskov@intel.com>
3 years ago[TEST] Fix blob util broadcast filler for non fp32 types
Alexander Peskov [Sun, 6 Sep 2020 23:45:15 +0000 (02:45 +0300)]
[TEST] Fix blob util broadcast filler for non fp32 types

Signed-off-by: Alexander Peskov <alexander.peskov@intel.com>
3 years ago[NGRAPH] Fix ReduceSum decompose pass
Alexander Peskov [Mon, 31 Aug 2020 12:50:20 +0000 (15:50 +0300)]
[NGRAPH] Fix ReduceSum decompose pass

Signed-off-by: Alexander Peskov <alexander.peskov@intel.com>
3 years agoHide itt.hpp to src folders (#2091)
Ilya Lavrenov [Wed, 9 Sep 2020 09:34:16 +0000 (12:34 +0300)]
Hide itt.hpp to src folders (#2091)

3 years agoUse metadata from executable network when fetching results of the infer request;...
Alexander Perepelkin [Wed, 9 Sep 2020 08:47:40 +0000 (11:47 +0300)]
Use metadata from executable network when fetching results of the infer request; Use user provided output precision when it was supplied (#2111)

3 years agoUse element type instead of F32 for constants (#2121)
Katarzyna Mitrus [Wed, 9 Sep 2020 07:50:27 +0000 (09:50 +0200)]
Use element type instead of F32 for constants (#2121)

3 years agoSort memcheck timeline report for failures (#2088)
Andrey Somsikov [Wed, 9 Sep 2020 07:10:22 +0000 (10:10 +0300)]
Sort memcheck timeline report for failures (#2088)

3 years ago[IE CLDNN] Fix eltwise activation types mismatch (#2090)
Vladimir Paramuzov [Wed, 9 Sep 2020 06:57:38 +0000 (09:57 +0300)]
[IE CLDNN] Fix eltwise activation types mismatch (#2090)

3 years ago[CPU] gemm convolution: added post ops JIT implementation (#1817)
Anton Voronov [Wed, 9 Sep 2020 06:17:57 +0000 (09:17 +0300)]
[CPU] gemm convolution: added post ops JIT implementation (#1817)

3 years agoSupport python 3.8 by the Model Optimizer tool in default configuration (#2078)
Roman Kazantsev [Wed, 9 Sep 2020 05:34:43 +0000 (08:34 +0300)]
Support python 3.8 by the Model Optimizer tool in default configuration (#2078)

* Support python 3.8 by the Model Optimizer tool in default configuration

* Fix after review #1

* Fix after the second round review

3 years ago[VPU][OpenCL] Update custom kernels (#2131)
Evgeny Latkin [Wed, 9 Sep 2020 00:50:40 +0000 (03:50 +0300)]
[VPU][OpenCL] Update custom kernels (#2131)

* [Custom CL] Updated OpenCL kernels and tests

* [Custom CL] Update OpenCL compiler

* Update firmware to 1365

* Disable ExpGenerateProposals tests

* VPU: new firmware no. 1370

* Myriad: re-enable ExpGenerateProposals tests

Co-authored-by: Maxim Kurin <maxim.kurin@intel.com>
3 years agoAdd `runPipeline` wrapper to mandatory track full run (#2100)
Vitaliy Urusovskij [Tue, 8 Sep 2020 21:13:07 +0000 (00:13 +0300)]
Add `runPipeline` wrapper to mandatory track full run (#2100)

3 years agoAdded code owners for scripts folder (#2130)
Artyom Anokhov [Tue, 8 Sep 2020 14:23:27 +0000 (17:23 +0300)]
Added code owners for scripts folder (#2130)

3 years agoUpdate tolerance for candy model (#1967)
Mateusz Tabaka [Tue, 8 Sep 2020 14:04:08 +0000 (16:04 +0200)]
Update tolerance for candy model (#1967)

3 years ago[nGraph] Enable u1 data type in Constant PyAPI (#2084)
Jan Iwaszkiewicz [Tue, 8 Sep 2020 11:11:05 +0000 (13:11 +0200)]
[nGraph] Enable u1 data type in Constant PyAPI (#2084)

3 years ago[IE][VPU]: Decompose Swish to Sigmoid + Prod (#2107)
Roman Vyunov (Intel) [Tue, 8 Sep 2020 08:52:05 +0000 (11:52 +0300)]
[IE][VPU]: Decompose Swish to Sigmoid + Prod (#2107)

* Workaround to decompose Swish to Sigmoid + Multiply

3 years ago[IE CLDNN] Switch back to old TI unroller to restore correct matching of TensorIterat...
Mikhail Letavin [Tue, 8 Sep 2020 08:48:11 +0000 (11:48 +0300)]
[IE CLDNN] Switch back to old TI unroller to restore correct matching of TensorIterator output names (#2096)

3 years ago[IE][VPU]: myriad_compile doesn't work without device - fix (#2054)
Daria Mityagina [Tue, 8 Sep 2020 08:21:18 +0000 (11:21 +0300)]
[IE][VPU]: myriad_compile doesn't work without device - fix (#2054)

* Revert setting deprecated PLATFORM config option in compile tool

3 years ago[GNA] add support for NCHW & NHWC layouts for exporting output (#2031)
Anna Alberska [Tue, 8 Sep 2020 07:57:44 +0000 (09:57 +0200)]
[GNA] add support for NCHW & NHWC layouts for exporting output (#2031)

* [GNA] add support for NCHW & NHWC ExportScores

* fix cpplint

3 years ago[GNA] Handling input orientation (#1851)
Andrey Dmitriev [Tue, 8 Sep 2020 07:46:10 +0000 (10:46 +0300)]
[GNA] Handling input orientation (#1851)

Added test

Add fix

3 years agoGRU/RNN/LSTM sequence ops, reference implementations, single layer tests (#1594)
Ivan Tikhonov [Tue, 8 Sep 2020 07:31:44 +0000 (10:31 +0300)]
GRU/RNN/LSTM sequence ops, reference implementations, single layer tests (#1594)

* gru/rnn sequences

* update gru/rnn sequences ops, add unit tests

* enable sequence transformations for cpu plugin

* ngraph codestyle

* update tensor iterator to rnn/gru/lstm sequence transformations, add unit tests

* ngraph codestyle

* add visitors for ngraph ie ops, fix a bug with incorrect axis, fix ngraph to ngraph ie conversion

* update GRUSequence/GRUSequenceIE according to plugin format

* fix ngraph ie implementations according to plugins restricrictions

* fix naming issue

* adapt unit tests to accordance to new changes

* strict checks, additional unit tests

* add descriptions for transformations, fix unit tests

* enable ti to sequnece and unroll transformations in plugins for testing

* disable tensor iterator ngraph reader tests

* delete unnecessary cmake file

* fix includes

* clean up, resolve review comments

* move ti to sequence transformation to ti folder

* validate_and_infer_types() implementation

* input parameter validation for LSTM, GRU and RNN

* style-check applied

* Add LSTMSequence dynamic shape validation and test props for RNNCell, GRUCell, LSTMCell and LSTMSequence.

* recurrent_sequence.hpp moved to ngraph/core/include/ngraph/op/util/

* style check applied

* removed unused variable from LSTMSequence::validate_and_infer_types

* Add missing newline mark at the end of file.

* Add supression macro for FusedOp deprecation.

* Add element type initialization

* transpose,rnn cell reference implementations

* Apply PR review remarks

* reference implementations for cells op, single layer tests, align lstm cell/sequence according to the spec

* lstm/gru/rnn cell decompostion transformations

* ngraph codestyle

* clean up

* ngraph code style

* change inheritance of Cells, fix build

* fix build

* fix build again

* remove Peepholes from LSTMSeq, fix copy_runtime_info in transformations

* Rewrite tests to use gtest exception assertions.

* resolve tests issues

* ngraph codestyle

* add missed files

* fix typeprop tests

* fix lstm sequence checks

* fix arm build

* fix arm again

* delete unnecessary file

* add convert weghts format function, enable lstm test, resolve review comments

* add ngraph builders

* ngraph codestyle

* fix unit tests

* revert transpose reference implementation

* move ti to sequences transformation to another branch, resolve review comments

* resolve review comments

* revert fix in ie_layer_validators

* revert LSTM Cell v0, add LSTMCell v1, update transformation lstm_cell_to_cell_ie

* v1 version of LSTMCell op

* LSTMSequence v1 operation, exclude LSTMSeq from opset4

* fix python api tests

* resolve review comments, tests for decomposition transformations, switch lstm cell to opset4 in mo

* references impl for RNN/GRU/LSTM Sequences, single layer tests, bidirectional transformation

* fix unit tests

* process dynamic ranks of rnn/gru/lstm ops

* remove sequences specifications from opset4

* resolve review comments

* fix validate_and_infer_types of GRU/RNN sequences

Co-authored-by: Szymon Durawa <szymon.durawa@intel.com>