platform/upstream/dldt.git
3 years agoReduced usage of batch in python samples (#3104)
Mikhail Ryzhov [Tue, 17 Nov 2020 07:12:33 +0000 (10:12 +0300)]
Reduced usage of batch in python samples (#3104)

* Reduced usage of batch in python sampes

Excluded from hello_classification and object_detection samples

3 years ago[IE TESTS] Move main.cpp to shared lib from plugin functional tests (#3157)
Irina Efode [Tue, 17 Nov 2020 07:11:17 +0000 (10:11 +0300)]
[IE TESTS] Move main.cpp to shared lib from plugin functional tests (#3157)

3 years ago[IE TESTS][IE CPU] Add smoke prefix for broadcast SLT (#3158)
Irina Efode [Tue, 17 Nov 2020 07:10:45 +0000 (10:10 +0300)]
[IE TESTS][IE CPU] Add smoke prefix for broadcast SLT (#3158)

3 years ago[IE TESTS] Added test for NMS (#2830)
Maxim Andronov [Tue, 17 Nov 2020 06:33:19 +0000 (09:33 +0300)]
[IE TESTS] Added test for NMS (#2830)

3 years ago[CPU] added MergePermuteAndReorder optimization + added test (#2519)
Anton Voronov [Tue, 17 Nov 2020 06:04:49 +0000 (09:04 +0300)]
[CPU] added MergePermuteAndReorder optimization + added test (#2519)

3 years agoProtect reading external weights from up-dir (#3098)
Mateusz Bencer [Tue, 17 Nov 2020 04:16:39 +0000 (05:16 +0100)]
Protect reading external weights from up-dir (#3098)

* introduced path sanitizing

* added tests, folders structure clean-up

* fixed test

* fixed up-dir path handling

* improved sanitizing for windows

* fix Windows test

* move sanitize impl

3 years agoLSTM/GRU/RNN Sequences : support for seq_lengths input (#2788)
Ivan Tikhonov [Tue, 17 Nov 2020 04:04:20 +0000 (07:04 +0300)]
LSTM/GRU/RNN Sequences : support for seq_lengths input (#2788)

* sequences to ti transformations, support for seq_lengths input, update reference implemetations, add new tests

* fix python api, update sequences to ti transformation

* fix sequences to ti transformation

* Update sequences to TI transformation: fix reverse sequence support

* update single layer tests, fix TI reference impl, fix Sequences to TI transformations

* ngraph code style

* fix build

* fix ngraph python api

* resolver review comments, refactoring

* Resolve review remarks

* delete xfail

3 years agoSpecification to ONNX external data feature (#2939)
Mateusz Bencer [Tue, 17 Nov 2020 03:57:57 +0000 (04:57 +0100)]
Specification to ONNX external data feature (#2939)

* Added external weights files doc

* review remarks

* review remarks

* review remarks

Co-authored-by: Michał Karzyński <4430709+postrational@users.noreply.github.com>
* review remarks. part 2

Co-authored-by: Michał Karzyński <4430709+postrational@users.noreply.github.com>
* fixed info about nullptr

* Apply suggestions from code review

Co-authored-by: Anastasiya Ageeva <anastasiya.ageeva@intel.com>
* review remarks. part 2

Co-authored-by: Michał Karzyński <4430709+postrational@users.noreply.github.com>
Co-authored-by: Anastasiya Ageeva <anastasiya.ageeva@intel.com>
3 years agoUse std::transform instead of vector constructor (#3151)
Tomasz Socha [Tue, 17 Nov 2020 03:57:00 +0000 (04:57 +0100)]
Use std::transform instead of vector constructor (#3151)

3 years ago[IE TESTS] Remove extra dependency from Shared lib (#3006)
Irina Efode [Mon, 16 Nov 2020 19:29:02 +0000 (22:29 +0300)]
[IE TESTS] Remove extra dependency from Shared lib (#3006)

* [IE TESTS][IE CMAKE] Add cmake option for configuration to skip tests

* [IE TESTS] Remove extra dependency from IE tests shared lib

* Revert to add flag

3 years agoCorrected "-i" argument description (#3142)
Mikhail Ryzhov [Mon, 16 Nov 2020 18:48:06 +0000 (21:48 +0300)]
Corrected "-i" argument description (#3142)

* Corrected "-i" argument description

According to their usage in samples

3 years ago[IE CLDNN] Add asymmetric quantization support to fsv16 imad 1x1 convolution kernel...
Jedrzej Hajduczenia [Mon, 16 Nov 2020 17:56:19 +0000 (18:56 +0100)]
[IE CLDNN] Add asymmetric quantization support to fsv16 imad 1x1 convolution kernel (#2941)

3 years agoFix for Reduce extractors and normalizer (#3136)
Evgeny Lazarev [Mon, 16 Nov 2020 15:50:13 +0000 (18:50 +0300)]
Fix for Reduce extractors and normalizer (#3136)

* Fixed extractor for ONNX ReduceXXX operations and fixed ReduceAxisNormalizer transformation

* Unit test for ReduceAxisNormalizer transformation

3 years ago[IE][VPU]: ExpGenerateProposals: added temporary buffer allocation (#3093)
Alexey Ershov [Mon, 16 Nov 2020 15:03:19 +0000 (18:03 +0300)]
[IE][VPU]: ExpGenerateProposals: added temporary buffer allocation (#3093)

ExpGenerateProposals: temporary buffer allocation moved from firmware to blob
* Added tmpBuffer
* Changed the amount of allocated memory
* firmware update

Co-authored-by: Ivan Poliksenov <ivan.poliksenov@intel.com>
3 years ago[IE][VPU]: NMS - fix memory allocation bug (#3133)
Andrey Sokolov [Mon, 16 Nov 2020 14:52:27 +0000 (17:52 +0300)]
[IE][VPU]: NMS - fix memory allocation bug (#3133)

3 years agoUpdate tolerance values for ONNX model tests (#3131)
Mateusz Tabaka [Mon, 16 Nov 2020 14:23:20 +0000 (15:23 +0100)]
Update tolerance values for ONNX model tests (#3131)

3 years agosmall refactor samples setBatchSize (#3053)
Anton Romanov [Mon, 16 Nov 2020 14:20:54 +0000 (17:20 +0300)]
small refactor samples setBatchSize (#3053)

* small refactor samples setBatchSize

3 years agoExtend test coverage for ONNX Resize Operator (#3086)
Bartosz Sledz [Mon, 16 Nov 2020 14:20:01 +0000 (15:20 +0100)]
Extend test coverage for ONNX Resize Operator (#3086)

3 years agoAdd ceil_mode for Max and Avg pooling (#2965)
Bartosz Sledz [Mon, 16 Nov 2020 14:16:24 +0000 (15:16 +0100)]
Add ceil_mode for Max and Avg pooling (#2965)

3 years agoBump wheel from 0.34.2 to 0.35.1 in /ngraph/python (#3120)
dependabot[bot] [Mon, 16 Nov 2020 13:08:12 +0000 (14:08 +0100)]
Bump wheel from 0.34.2 to 0.35.1 in /ngraph/python (#3120)

3 years ago[CPU] Broadcast check has been added to the ConvertPowerToPowerIEMatcher transformati...
Maksim Kutakov [Mon, 16 Nov 2020 12:58:10 +0000 (15:58 +0300)]
[CPU] Broadcast check has been added to the ConvertPowerToPowerIEMatcher transformation. (#3132)

* [CPU] Added broadcast check to the ConvertPowerToPowerIE transformation.

* [CPU] Eltwise single layer test instance extended with a two inputs case.

3 years agoFixed negative paddings for convolution backprop data (#3117)
Ilya Churaev [Mon, 16 Nov 2020 12:30:18 +0000 (15:30 +0300)]
Fixed negative paddings for convolution backprop data (#3117)

* Fixed negative paddings for convolution backprop data

* Fixed code style

* Fixed comments

3 years agoadd tests for 5 ops based on model zoo (#3062)
Bartek Szmelczynski [Mon, 16 Nov 2020 12:19:31 +0000 (13:19 +0100)]
add tests for 5 ops based on model zoo (#3062)

* add tests for 5 ops based on model zoo

* remove unnecessary layers from the test

* add test case with merge_repeated=0

* remove unnecessary layers and add new test casae with do_softmax=0

* remove unnecessary layers from the test

3 years agoRevert "Erase from unwaited requests container on QoS abort (#3125)" (#3148)
Krzysztof Bruniecki [Mon, 16 Nov 2020 12:05:59 +0000 (13:05 +0100)]
Revert "Erase from unwaited requests container on QoS abort (#3125)" (#3148)

This reverts commit d7e98f605d157ebf3dd986b4336a9b0a76da7f80.

3 years agoErase from unwaited requests container on QoS abort (#3125)
Krzysztof Bruniecki [Mon, 16 Nov 2020 10:30:48 +0000 (11:30 +0100)]
Erase from unwaited requests container on QoS abort (#3125)

3 years agoEnablement of GatherND tests (nG & ONNX) (#3013)
Tomasz Dołbniak [Mon, 16 Nov 2020 10:09:34 +0000 (11:09 +0100)]
Enablement of GatherND tests (nG & ONNX) (#3013)

3 years agoFixed klockwork (#3119)
Ilya Lavrenov [Mon, 16 Nov 2020 09:50:03 +0000 (12:50 +0300)]
Fixed klockwork (#3119)

3 years agoAlignment model and input (#3115)
Anton Romanov [Mon, 16 Nov 2020 09:26:04 +0000 (01:26 -0800)]
Alignment model and input (#3115)

3 years ago[BugFix] Fix compilation error caused by typo in #3109 (#3135)
Rafik Saliev [Mon, 16 Nov 2020 08:25:57 +0000 (09:25 +0100)]
[BugFix] Fix compilation error caused by typo in #3109 (#3135)

3 years agoImprove reshapeability of models with eltwise nodes influencing shapes (#2767)
Roman Kazantsev [Mon, 16 Nov 2020 06:50:41 +0000 (09:50 +0300)]
Improve reshapeability of models with eltwise nodes influencing shapes (#2767)

* Fix ElementwiseInputReshape transformation

Reshape node always needs to be inserted
in order to preserve ShapeOf nodes (reshapability of a model) that can potentially be above
elementwise node.

Refactor EltwiseInputReshape_test and EltwiseInputNormalization_test since the logic of maintaining reshape for eltwise has been changed.

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Merge EltwiseInputNormalization and EltwiseInputReshape transformations

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Remove Unsqueeze from Fused_op

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

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

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

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Perform full normalization based on shapes of all inputs to eltwise

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
* Refactor much to avoid old API and edges with unsqueeze_dims attribute

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

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
3 years ago[IE][VPU][XLink]: XLink semaphore wrappers impl (#3079)
Maksim Doronin [Sun, 15 Nov 2020 23:51:46 +0000 (02:51 +0300)]
[IE][VPU][XLink]: XLink semaphore wrappers impl (#3079)

XLink wrappers for POSIX semaphore functions (refer sem_overview for details). In the description of standard sem_destroy the following is noted:
"Destroying a semaphore that other processes or threads are currently blocked on (in sem_wait(3)) produces undefined behavior."
XLink wrappers use thread-safe reference count and destroy the semaphore only in case if there are no waiters.

* XLink semaphore wrapper impl
* Extend XLink win_synchapi

3 years agoPropogate DEVICE_ID for functions working with RemoteContext (#3109)
Ilya Lavrenov [Fri, 13 Nov 2020 16:44:40 +0000 (19:44 +0300)]
Propogate DEVICE_ID for functions working with RemoteContext (#3109)

* Propogate DEVICE_ID for functions working with RemoteContext

* More fixes for RemoteContext

* Fixed tests compilation with VariableState

3 years ago[GNA] fix 4d batch size eltwise issue (#3127)
Anna Alberska [Fri, 13 Nov 2020 16:28:02 +0000 (17:28 +0100)]
[GNA] fix 4d batch size eltwise issue (#3127)

3 years agoEnable segfaulting getAvailableDevices, ExecGraphSerializationTest.ExecutionGraph_CPU...
Alexander Perepelkin [Fri, 13 Nov 2020 16:17:27 +0000 (19:17 +0300)]
Enable segfaulting getAvailableDevices, ExecGraphSerializationTest.ExecutionGraph_CPU after segfaults are fixed (#3124)

3 years ago[GNA] 4D concat align pass (#2970)
Kamil Magierski [Fri, 13 Nov 2020 15:12:45 +0000 (16:12 +0100)]
[GNA] 4D concat align pass (#2970)

* [GNA] Fix RemovePermutationsNHWCToNCHWPass in cases that permute input has many outData

* style

* [GNA] linux test fail fix

3 years ago[CPU] fix NMS-5 CentOS7 error (#3083)
Maxim Andronov [Fri, 13 Nov 2020 14:56:20 +0000 (17:56 +0300)]
[CPU] fix NMS-5 CentOS7 error (#3083)

3 years agoONNX LSTM fix get_shape error (#3033)
Katarzyna Mitrus [Fri, 13 Nov 2020 14:31:29 +0000 (15:31 +0100)]
ONNX LSTM fix get_shape error (#3033)

* ONNX LSTM get dimension only if required

* Test dynamic onnx lstm model import

* Enable LSTM_Seq_lens_unpacked_model import test

* Disable model zoo execution test "MSFT_opset9_LSTM_Seq_lens_unpacked"

* Add missed comma in xfail list

* Update error messages

* init xfail issue

* test zoo models import xfail issue

* Fix SEQ_LENGTH init

* Comments update

* Fix usage of v0::Add by overloaded operator

3 years ago[IE CLDNN] Fixed pad value used for input coords calculation in fsv16 imad conv ...
Vladimir Paramuzov [Fri, 13 Nov 2020 14:24:40 +0000 (17:24 +0300)]
[IE CLDNN] Fixed pad value used for input coords calculation in fsv16 imad conv (#3081)

3 years agonGraph: fix TopK output shape inference (#2967)
Tomasz Jankowski [Fri, 13 Nov 2020 14:10:42 +0000 (15:10 +0100)]
nGraph: fix TopK output shape inference (#2967)

* nGraph: Fix TopK output shape inference

* nGraph: Correct TopK output shape inference

TopK lower bound of output shape at the axis was mistakenly calculated
basing on max_lenght instead of min_lenght.

* nGraph: Correct TopK output shape inference

* nGraph: Correct TopK type prop test

The topk_negative_axis_support type properties test was comparing
incompatible variables carrying the same value. So it was passing ok.

* nGraph: Add TopK type prop test

* nGraph: Fix code style

* nGraph: Follow review guidelines

Improve variables meaning.
Enforce rigid test pass condition.

* nGraph: Remove magic numbers

3 years agoCreate u-tests for RESULT_NOT_READY and INFER_NOT_STARTED (GNA QoS) (#3102)
Krzysztof Bruniecki [Fri, 13 Nov 2020 13:32:26 +0000 (14:32 +0100)]
Create u-tests for RESULT_NOT_READY and INFER_NOT_STARTED (GNA QoS) (#3102)

* Create tests for RESULT_NOT_READY and INFER_NOT_STARTED (GNA QoS)

* Suppress deprecated definition errors

* Fix warning

3 years agoRevert "Reshape-able SliceConverter (#2954)" (#3118)
Yegor Kruglov [Fri, 13 Nov 2020 12:36:04 +0000 (15:36 +0300)]
Revert "Reshape-able SliceConverter (#2954)" (#3118)

This reverts commit b437387bd536532467b9b29d25a082bf0fdc33d1.

3 years agoEnable CPU and Interpreter Loop tests (#3042)
Mateusz Bencer [Fri, 13 Nov 2020 12:32:19 +0000 (13:32 +0100)]
Enable CPU and Interpreter Loop tests (#3042)

3 years ago[nGraph] MatMul - Remove fused op and align output shape inference (#2866)
Katarzyna Mitrus [Fri, 13 Nov 2020 12:15:22 +0000 (13:15 +0100)]
[nGraph] MatMul - Remove fused op and align output shape inference (#2866)

To follow MatMul spec update for 1D tensors this PR removes FusedOp decomposition for MatMul without changing current MatMul output shape inference logic (numpy/onnx aligned).
Based on previous PR #2212 that follows rather current spec logic.

3 years agoImprove ConvertBroadcast3 pass to avoid extra Multiply operations for BIDIRECTIONAL...
Gleb Kazantaev [Fri, 13 Nov 2020 11:39:07 +0000 (14:39 +0300)]
Improve ConvertBroadcast3 pass to avoid extra Multiply operations for BIDIRECTIONAL mode (#3113)

* Fixed ConvertBroadcast3 pass for BIDIRECTIONAL mode to avoid excess Multiply operations

* Added funcitonal tests for new decompositions

* Return false if mode is unknown; avoid usign node in replace_node

* Added functional tests for cases when TargetShape input is not a Constant

3 years ago[OpenVino ONNX CI watchdog] Small improvements (#3096)
Rafal Blaczkowski [Fri, 13 Nov 2020 09:17:11 +0000 (10:17 +0100)]
[OpenVino ONNX CI watchdog] Small improvements (#3096)

* Small improvements

* Enlarge pending status

3 years ago[IE CLDNN] Fix for fusing Activation into Eltwise primitive in fused_conv_eltwise...
Sergey Shlyapnikov [Fri, 13 Nov 2020 08:58:03 +0000 (11:58 +0300)]
[IE CLDNN] Fix for fusing Activation into Eltwise primitive in fused_conv_eltwise primitive case usgae (#2997)

3 years agoAdd Dependabot configuration (#3029)
Michał Karzyński [Fri, 13 Nov 2020 08:50:47 +0000 (09:50 +0100)]
Add Dependabot configuration (#3029)

* Add Dependabot configuration

* Update config to Dependabot native

3 years agoHetero KW warning fix (#3107)
Anton Pankratv [Fri, 13 Nov 2020 07:53:31 +0000 (10:53 +0300)]
Hetero KW warning fix (#3107)

3 years ago[LPT] POT support: absent convert fix & element-wise empty dequantization data (...
Edward Shogulin [Fri, 13 Nov 2020 07:32:59 +0000 (10:32 +0300)]
[LPT] POT support: absent convert fix & element-wise empty dequantization data (#3067)

3 years ago[IE CLDNN] Cleanup cldnn source tree and README (#3043)
Vladimir Paramuzov [Fri, 13 Nov 2020 06:29:28 +0000 (09:29 +0300)]
[IE CLDNN] Cleanup cldnn source tree and README (#3043)

3 years ago[IE CLDNN] Fixed fmt traits map (#3088)
Vladimir Paramuzov [Fri, 13 Nov 2020 06:29:05 +0000 (09:29 +0300)]
[IE CLDNN] Fixed fmt traits map (#3088)

3 years ago[VPU][NGraph] Extend TopK K propagation (#2943)
Andrew Bakalin [Fri, 13 Nov 2020 04:50:31 +0000 (07:50 +0300)]
[VPU][NGraph] Extend TopK K propagation (#2943)

* [VPU][NGraph] Support ShapeOf and Gather in TopK K propagation

* [VPU] Save calculated K value

* [VPU][Tests] Introduces tests

* [Tests] Review fixes

3 years agoDisable test ExecGraphSerializationTest.ExecutionGraph_CPU (#3097)
Alexander Perepelkin [Thu, 12 Nov 2020 23:26:55 +0000 (02:26 +0300)]
Disable test ExecGraphSerializationTest.ExecutionGraph_CPU (#3097)

* Disable test ExecGraphSerializationTest.ExecutionGraph_CPU as temporary measure to avoid segfault

* Disable segfaulting getAvailableDevices

3 years agoinstall_NEO_OCL_driver: Added user to render group. (#3099)
Artyom Anokhov [Thu, 12 Nov 2020 16:35:19 +0000 (19:35 +0300)]
install_NEO_OCL_driver: Added user to render group. (#3099)

3 years ago[IE][VPU]: GatherND DTS transformation (#3025)
Andrew Bakalin [Thu, 12 Nov 2020 14:30:41 +0000 (17:30 +0300)]
[IE][VPU]: GatherND DTS transformation (#3025)

* Implement GatherND DTS
* Introduce tests on DTS
* Introduce tests on DSR+GatherND

3 years ago[GNA] Added tests for negative memory layer offset and split - trivial permute -...
Elizaveta Lobanova [Thu, 12 Nov 2020 14:07:38 +0000 (17:07 +0300)]
[GNA] Added tests for negative memory layer offset and split - trivial permute - concat scenario (#2989)

3 years agoadd getting nms_threshold / iou_threshold from RetinaNet (#3075)
Pavel Esir [Thu, 12 Nov 2020 12:04:07 +0000 (15:04 +0300)]
add getting nms_threshold / iou_threshold from RetinaNet (#3075)

* added getting nms_threshold/iou_threshold from original TF RetinaNet model

* iou_threshold definition added

* fixed getting iou_threshold for TF NMS V2, some minor corrections

* added box_encoding to NMS extractors

3 years agoRemoved const_cast from addOutput method (#3091)
Ilya Churaev [Thu, 12 Nov 2020 11:59:28 +0000 (14:59 +0300)]
Removed const_cast from addOutput method (#3091)

3 years ago[CPU] Converted Pad Layer to MKLDNNNode and added more optimized implementations...
Alexandra Sidorova [Thu, 12 Nov 2020 11:25:42 +0000 (14:25 +0300)]
[CPU] Converted Pad Layer to MKLDNNNode and added more optimized implementations (#2586)

Pad-1: fixed ngraph reference for symmetric mode and added cpu tests

3 years agoITT performance counters for first inference (#1741)
Vladislav Volkov [Thu, 12 Nov 2020 11:00:14 +0000 (14:00 +0300)]
ITT performance counters for first inference (#1741)

* ITT performance counters for first inference

ITT counters for nGraph passes

* RTTI for trnasformation passes

* The MKLDNN plugin first inference counters improvements

3 years ago[IE][VPU][TESTS]: support different modes for Interpolate (#2963)
Daria Mityagina [Thu, 12 Nov 2020 10:51:48 +0000 (13:51 +0300)]
[IE][VPU][TESTS]: support different modes for Interpolate (#2963)

3 years agoFixed KW for Windows (#3089)
Ilya Churaev [Thu, 12 Nov 2020 10:34:28 +0000 (13:34 +0300)]
Fixed KW for Windows (#3089)

* Fixed KW for Windows

* Fixed code style

* Fixed compilation

3 years agoMove QueryState from ExecutableNetwork to InferRequest (#2818)
Svetlana Dolinina [Thu, 12 Nov 2020 09:40:43 +0000 (12:40 +0300)]
Move QueryState from ExecutableNetwork to InferRequest (#2818)

* QueryState moved to InferRequest

* deprecate ExecutableNetwork::QueryState,chaged tests (without any check yet)

* fix build

* review fixes + build fix

* build fix + review changes

* remove blank line

* style fixes

* test build fixes

* style fix

* style fix

* fixed build of tests

* fix

* mac build fix

* hddl plugin build fix

* clean up unneeded implementation for method

* fixed tests build

* add implementation for getstate, correct getName for MklDNN

* fixed description of state API in comments

* lint fixes

* Rename MemoryState to VariableState

* added tests for cpu for VariableStates, several small fixes in tests and code

* merge fix

* lint fix

* remove whitespaces

* spaces fix

* fix in test to make it workable for all plugins

* fix typo

* fix test for gna

* remove extra comment

* fix test for gna

3 years agoSummary report generator for layer and subgraph tests (#2707)
Mikhail Treskin [Thu, 12 Nov 2020 09:33:23 +0000 (12:33 +0300)]
Summary report generator for layer and subgraph tests (#2707)

* Initial summary dumper implementation

* Handle Tensoriterator body + add parser script

* Add support of XML reports merging + report OP names with versions

* Remove debug device name change

* Fix windows building issue

* Add --disable_test_skips command line option

* Gtest failure with logging

* Change skipping logic and resolve linkage errors caused by extern

* Get graph body from Loop

* Fix disable_tests_skipping symbol redefinition

* Fix inline for currentTestIsDisabled

* Rollback get_body for Loop

* Handle cases with skip in test SetUp

* Report Loop and TI ops along with ops in subgraph body

* Resolve some PR comments

* Dummy commit to kick pre-commit validation

Co-authored-by: Efode, Irina <irina.efode@intel.com>
3 years agoFixed transformations looking for FusedBatchNorm operation to look for FBNV2 and...
Evgeny Lazarev [Thu, 12 Nov 2020 04:33:39 +0000 (07:33 +0300)]
Fixed transformations looking for FusedBatchNorm operation to look for FBNV2 and FBNV3 also (#3078)

* Fixed transformations looking for FusedBatchNorm operation to consider FusedBatchNormV2 and FusedBatchNormV3 also.

* Updated unit test for FusedBatchNormTraining

* Fixed unit test

3 years ago[IE][VPU]: Implement VPU Ngraph EIP->ReorgYolo transformation (#3066)
Maksim Doronin [Wed, 11 Nov 2020 19:04:59 +0000 (22:04 +0300)]
[IE][VPU]: Implement VPU Ngraph EIP->ReorgYolo transformation (#3066)

* We need to convert ExtractImagePatches op to ReorgYolo to restore the working capacity of myriad plugin while compiling Yolo-v2 models.
* It was previously removed in #2687

3 years agoDon't build extra module if it doesn't have cmake files (#3074)
Ilya Lavrenov [Wed, 11 Nov 2020 17:31:44 +0000 (20:31 +0300)]
Don't build extra module if it doesn't have cmake files (#3074)

3 years ago[LPT] Dequantization constant output precision handling extending (#2987)
Edward Shogulin [Wed, 11 Nov 2020 15:50:37 +0000 (18:50 +0300)]
[LPT] Dequantization constant output precision handling extending (#2987)

* [LPT] moveDequantizationAfter fix

* [LPT] ConcatTransformation fix: only intermediate operations are handled

3 years ago[IE][VPU]: Optimize swish layer and remove swish replacement pass (#2993)
Maxim Kurin [Wed, 11 Nov 2020 14:40:37 +0000 (17:40 +0300)]
[IE][VPU]: Optimize swish layer and remove swish replacement pass (#2993)

* Swish layer optimization
* Update VPU firmware 1468

3 years agoretinanet onnx model has Upsample error (#3052)
Vladimir Gavrilov [Wed, 11 Nov 2020 14:31:00 +0000 (17:31 +0300)]
retinanet onnx model has Upsample error (#3052)

* Commit.

* Fixed infer function of ONNXResize11 operation.

* Small fixes.

* Written unit tests for shape calculation for ONNXResize11.

3 years agoRemoval of obsolete constant folding passes (#2902)
Tomasz Dołbniak [Wed, 11 Nov 2020 12:49:40 +0000 (13:49 +0100)]
Removal of obsolete constant folding passes (#2902)

* Redundant op::Max CF removal

* Redundant op::Min CF removal

* Redundant op::Sum & op::Product CF removal

* CF Min and Max using evaluate()

* Arithmetic reduction CF pass removal

* Quantize op CF pass removal

* Convert op CF pass removal

* Logical reduction CF pass removal

* Select op CF pass removal

* OneHot CF pass removal

* Code formatting

* ScatterElements CF pass removal

* Gather CF pass removal

* Disable a Quantize op test that fails in CI

* CF pass cleanup

* Convert op cleanup and test adaptation to spec

* Possible fix for failing VPU tests

* Limit the types used in OneHot::evaluate

* Quantize op evaluator removal

* Refactor of Gather evaluator

3 years agoFix spelling errors in samples and documentation (#2795)
Roman Donchenko [Wed, 11 Nov 2020 12:35:39 +0000 (15:35 +0300)]
Fix spelling errors in samples and documentation (#2795)

* Fix spelling errors in samples

* Fix spelling errors in the documentation

3 years ago[LPT] CNNNetwork LPT removal (#3035)
Edward Shogulin [Wed, 11 Nov 2020 11:56:58 +0000 (14:56 +0300)]
[LPT] CNNNetwork LPT removal (#3035)

* [LPT] CNNNetwork LPT removal

* Fixes for LPT removal

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
3 years agoFix GatherND to output dynamic rank tensor (#3073)
Roman Kazantsev [Wed, 11 Nov 2020 11:47:00 +0000 (14:47 +0300)]
Fix GatherND to output dynamic rank tensor (#3073)

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
3 years ago[IE][VPU][Tests]: Fix NMS DTS outputs naming + tests (#3040)
Andrew Bakalin [Wed, 11 Nov 2020 10:52:42 +0000 (13:52 +0300)]
[IE][VPU][Tests]: Fix NMS DTS outputs naming + tests (#3040)

* Fix dynamic output case in interpreterFunction. For dynamic output cases, we can't call get_shape on the result because it's shape is dynamic, instead, we should take the real output shape from output HostTensor
* Fix outputs naming as it's done in other DTS transformation for operations with multiple outputs (Split, TopK, etc).

Ticket - #-42421

3 years ago[IE CLDNN] Add asymmetric quantization support to reference convolution imad kernel...
Jedrzej Hajduczenia [Wed, 11 Nov 2020 09:38:45 +0000 (10:38 +0100)]
[IE CLDNN] Add asymmetric quantization support to reference convolution imad kernel (#2994)

3 years agoAdded support for a new version of the TF OD API pre-processing part (#3063)
Evgeny Lazarev [Wed, 11 Nov 2020 08:53:10 +0000 (11:53 +0300)]
Added support for a new version of the TF OD API pre-processing part (#3063)

* Added support for a new version of the TF OD API pre-processing part of the mode

* Get rid of legacy API usage

* Fix comment and added assert

* Wording

3 years ago[IE CLDNN] Added LogSoftmax-5 operation (#2945)
Roman Lyamin [Wed, 11 Nov 2020 05:53:30 +0000 (08:53 +0300)]
[IE CLDNN] Added LogSoftmax-5 operation (#2945)

3 years agoFix wrong statement in ConvertConvolutions transformation (#3056)
Gleb Kazantaev [Wed, 11 Nov 2020 04:49:22 +0000 (07:49 +0300)]
Fix wrong statement in ConvertConvolutions transformation (#3056)

* Fixed wrong statement in ConvertConvolution transformation

* Added tests

* FIXME: 42956

3 years ago[CPU] Proposal layer. Check img info input. (#2456)
Nikolay Shchegolev [Tue, 10 Nov 2020 21:36:38 +0000 (00:36 +0300)]
[CPU] Proposal layer. Check img info input. (#2456)

3 years ago[GNA] Added Multiplication 1x1x1 (#2470)
Andrey Dmitriev [Tue, 10 Nov 2020 17:56:21 +0000 (20:56 +0300)]
[GNA] Added Multiplication 1x1x1 (#2470)

* [GNA] Broadcast power primitive

[GNA] Broadcast power primitive

[GNA] Added Multiplication 1x1x1

[GNA] Broadcast power primitive

Added secondary changes

* Added fix test

3 years ago[IE][VPU]: support new operation CEILING (#3004)
Andrey Sokolov [Tue, 10 Nov 2020 16:28:53 +0000 (19:28 +0300)]
[IE][VPU]: support new operation CEILING (#3004)

Add new Operation "Ceiling" for VPU Myriad
task: -42885

3 years agoReshape-able SliceConverter (#2954)
Yegor Kruglov [Tue, 10 Nov 2020 14:51:59 +0000 (17:51 +0300)]
Reshape-able SliceConverter (#2954)

* initial commit

* add cast

* data type fix

* added tests

* added test without axes and steps

* remove redundant imports

* discussions resolving

* Add cast to TFSliceToSlice

* layer tests fix

* update unittest

3 years agoProvide GatherND with original layout for inputs and output (#3002)
Roman Kazantsev [Tue, 10 Nov 2020 14:24:04 +0000 (17:24 +0300)]
Provide GatherND with original layout for inputs and output (#3002)

* Provide GatherND with original layout for inputs and output

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

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
3 years ago[GNA] fixed case when input connected to concat from left and const from right (...
Andrey Dmitriev [Tue, 10 Nov 2020 13:37:03 +0000 (16:37 +0300)]
[GNA] fixed case when input connected to concat from left and const from right (#2874)

* Added test

* Added fix

* Fix comment

* Fix conflict

3 years ago[GNA] Added fix for export scores (#3009)
Andrey Dmitriev [Tue, 10 Nov 2020 13:33:41 +0000 (16:33 +0300)]
[GNA] Added fix for export scores (#3009)

3 years agoOneCore toolchain (#3044)
Ilya Lavrenov [Tue, 10 Nov 2020 13:29:37 +0000 (16:29 +0300)]
OneCore toolchain (#3044)

* Added OneCoreUap toolchain file

* Intentation

* Updated OneCore toolchain

* Fixed linkage error with static runtime

* Link reader_api library

* Enable static runtime for ONNX part

* Allow to override flags

* Added flag for clDNN; plus refactoring

* Fix Includes

* Added toolchain check

* Added apivalidator for MYRIAD plugin

* Added commented apivalidator for CLDNN plugin

3 years agoReference implementations for Loop and TensorIterator ops (#2978)
Ivan Tikhonov [Tue, 10 Nov 2020 12:49:59 +0000 (15:49 +0300)]
Reference implementations for Loop and TensorIterator ops (#2978)

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

* refactoring SubGraphOp class

* type prop unit tests

* ngraph code style

* update comment

* single layer tests for Loop operation

* fix file name

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

* first debug version

* more tests

* missing test file

* removed not needed shapes from test data

* move test data to new folder

* shape infer tests

* Added execution tests

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

* ngraph codestyle, refactoring, clone_new_args test

* resolve review remarks

* fix build

* fix tests

* more execution tests

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

* execution tests

* synchro with current version

* handle scalars and more tests

* scalar test enabled

* loop reference impl

* bug fixes in tests, onnx importer part and in the ref implementation of the Loop op

* applied remarks

* handle unsupported cases

* rewrite unit tests

* update INTERPRETER manifest

* is_termination_condition_always_true simplification

* [TEST] update python models tests

* review remarks

* added xfail to tiny_yolov3

* missing model test

* revert test data

* fixed numbers of failing tests

* fixed failed test description

* fix test message

* fix xfail test

* reference implementation for ngraph::function

* update loop reference implementation

* Refactor loop reference implementation

* ngraph codestyle

* Refactoring

* Submodule update

* Skip check for Reduce ops in mkl for scalar cases, support for yolov3

* fix ngraph reader tests

* revert ceiling op, renaming

* Add allias(Ceiling) for Ceil op in mkl

* delete xfails

* fix build

* single layer tests for tensor iterarator

* Refactor TensorIterator and Loop ref impls

* revert dynamic tensor creation, disable some dynamic test cases

* fix warning

* Resolve review remarks

* revert Predefined values in Loop tests

Co-authored-by: Mateusz Bencer <mateusz.bencer@intel.com>
3 years agoAdd fix for multiple_activations test (#2984)
Krzysztof Bruniecki [Tue, 10 Nov 2020 10:40:28 +0000 (11:40 +0100)]
Add fix for multiple_activations test (#2984)

* Add fix for multiple_activations test

   - Add forbid activation fusing pass for GNA2 library
   - Fix get all prev layers fnct
   - To enable GNA_NoRegression.smoke_multiple_activations_onGNA_INT16

* Apply Bartek review

3 years ago[IE][Myriad] Fixing global_lock_fd locking in mvnc (#3024)
Nikita Kudriavtsev [Tue, 10 Nov 2020 09:39:32 +0000 (12:39 +0300)]
[IE][Myriad] Fixing global_lock_fd locking in mvnc (#3024)

3 years agoSet friendly name in order to operate with it on visit attributes and validate stages...
Ilya Churaev [Tue, 10 Nov 2020 09:24:53 +0000 (12:24 +0300)]
Set friendly name in order to operate with it on visit attributes and validate stages (#3048)

3 years ago[ONNX Importer] Resolved problem with incorrect opset version set in subgraph (#2959)
Mateusz Bencer [Tue, 10 Nov 2020 08:57:06 +0000 (09:57 +0100)]
[ONNX Importer] Resolved problem with incorrect opset version set in subgraph (#2959)

3 years ago[IE TESTS] Replaced size_t with int64_t (#2699)
Liubov Batanina [Tue, 10 Nov 2020 08:35:24 +0000 (11:35 +0300)]
[IE TESTS] Replaced size_t with int64_t (#2699)

* Replaced size_t with int64_t

* Fix gpu plugin

3 years ago[CPU] fixed strides filling in blocking desc (#2353)
Anton Voronov [Tue, 10 Nov 2020 08:25:12 +0000 (11:25 +0300)]
[CPU] fixed strides filling in blocking desc (#2353)

3 years agoUpdate get started Linux instructions (#3016)
Jesus Espinoza [Tue, 10 Nov 2020 07:57:27 +0000 (23:57 -0800)]
Update get started Linux instructions (#3016)

* Updating broken link on getting started linux doc

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

* Update get-started-linux.md

* Update get-started-linux.md

* Update get-started-linux.md

* Update get-started-linux.md

Fixed broken links and updated commands

3 years ago[CPU] Fixed Eltwise node endless loop in case nthreads = 1 (#3008)
Gorokhov Dmitriy [Tue, 10 Nov 2020 07:56:22 +0000 (10:56 +0300)]
[CPU] Fixed Eltwise node endless loop in case nthreads = 1 (#3008)

3 years agoRevise Broadcast reference implementation (#2715)
Mateusz Bencer [Tue, 10 Nov 2020 07:42:26 +0000 (08:42 +0100)]
Revise Broadcast reference implementation (#2715)

* change tile reference implementation

* remove tile tests from interpreter manifest

* add repeats parameter to tile

* improve tile reference implementation

* add repeats parameter to tile reference call in tile evaluate method

* style apply

* include <numeric>

* add unnamed namespace to helper functions. Change stdio.h to cstdio. Change input_rank to be constant int

* add const reference to parameter repeats in tile reference function

* change createPitches function to use partial_sum instead of accumulate

* change a little bit createPitches function

* style-apply

* fix function naming

* style-apply

* fix calling functions name bug

* Add description of create_pitches function

* first version with debug logs

* reduce footprint

* single layer tests

* added more tests

* fixed handling bool type

* styles applied

* fix tile

* [ONLY DEBUG] print error scenario message

* fixed problem with e2e tests

* fixed casting of start_axis for numpy mode

Co-authored-by: pszmel <piotr.szmelczynski@intel.com>
3 years ago[ONNX] Return NMS-5 generation (#3003)
Andrew Bakalin [Tue, 10 Nov 2020 06:45:14 +0000 (09:45 +0300)]
[ONNX] Return NMS-5 generation (#3003)

* [ONNX] Return NMS-5 generation

* Disable failed models

3 years agoUpdated MO requirements for numpy (#3034)
Evgeny Lazarev [Tue, 10 Nov 2020 06:12:09 +0000 (09:12 +0300)]
Updated MO requirements for numpy (#3034)

3 years agoApply rest of the comments for NMS-5 review (#3037)
Vladimir Gavrilov [Tue, 10 Nov 2020 04:18:40 +0000 (07:18 +0300)]
Apply rest of the comments for NMS-5 review (#3037)

* Commit.

* Moved the preprocessing functions for NMS-5 to Interpreter backend.

* Code style fix.