Commit Graph

1987 Commits

Author SHA1 Message Date
Bartosz Sledz
ffebfe7f41
Extend test coverage for ONNX Resize Operator (#3086) 2020-11-16 15:20:01 +01:00
Bartosz Sledz
749d70bb63
Add ceil_mode for Max and Avg pooling (#2965) 2020-11-16 15:16:24 +01:00
dependabot[bot]
5d0bfbb47f
Bump wheel from 0.34.2 to 0.35.1 in /ngraph/python (#3120) 2020-11-16 14:08:12 +01:00
Maksim Kutakov
ca36b91a73
[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.
2020-11-16 15:58:10 +03:00
Ilya Churaev
17f478d8c4
Fixed negative paddings for convolution backprop data (#3117)
* Fixed negative paddings for convolution backprop data

* Fixed code style

* Fixed comments
2020-11-16 15:30:18 +03:00
Bartek Szmelczynski
e70b2bf469
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
2020-11-16 15:19:31 +03:00
Krzysztof Bruniecki
bb369f189a
Revert "Erase from unwaited requests container on QoS abort (#3125)" (#3148)
This reverts commit d7e98f605d.
2020-11-16 15:05:59 +03:00
Krzysztof Bruniecki
d7e98f605d
Erase from unwaited requests container on QoS abort (#3125) 2020-11-16 13:30:48 +03:00
Tomasz Dołbniak
fd877cd5c9
Enablement of GatherND tests (nG & ONNX) (#3013) 2020-11-16 11:09:34 +01:00
Ilya Lavrenov
0a230f829e
Fixed klockwork (#3119) 2020-11-16 12:50:03 +03:00
Anton Romanov
74f8b86e8c
Alignment model and input (#3115) 2020-11-16 12:26:04 +03:00
Rafik Saliev
9790c1253c
[BugFix] Fix compilation error caused by typo in #3109 (#3135) 2020-11-16 11:25:57 +03:00
Roman Kazantsev
10b18a00c6
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>
2020-11-16 09:50:41 +03:00
Maksim Doronin
2a7f2f5eb6
[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
2020-11-16 02:51:46 +03:00
Ilya Lavrenov
fec3bc0990
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
2020-11-13 19:44:40 +03:00
Anna Alberska
d87fdbe89b
[GNA] fix 4d batch size eltwise issue (#3127) 2020-11-13 19:28:02 +03:00
Alexander Perepelkin
c860f5fa7d
Enable segfaulting getAvailableDevices, ExecGraphSerializationTest.ExecutionGraph_CPU after segfaults are fixed (#3124) 2020-11-13 19:17:27 +03:00
Kamil Magierski
9f54989824
[GNA] 4D concat align pass (#2970)
* [GNA] Fix RemovePermutationsNHWCToNCHWPass in cases that permute input has many outData

* style

* [GNA] linux test fail fix
2020-11-13 18:12:45 +03:00
Maxim Andronov
9070cb865d
[CPU] fix NMS-5 CentOS7 error (#3083) 2020-11-13 17:56:20 +03:00
Katarzyna Mitrus
8dbff709fb
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
2020-11-13 17:31:29 +03:00
Vladimir Paramuzov
18f04860af
[IE CLDNN] Fixed pad value used for input coords calculation in fsv16 imad conv (#3081) 2020-11-13 17:24:40 +03:00
Tomasz Jankowski
2966910dac
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
2020-11-13 17:10:42 +03:00
Krzysztof Bruniecki
dc2ac0fb9e
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
2020-11-13 16:32:26 +03:00
Yegor Kruglov
302ded7bd6
Revert "Reshape-able SliceConverter (#2954)" (#3118)
This reverts commit b437387bd5.
2020-11-13 15:36:04 +03:00
Mateusz Bencer
2b23eb8ade
Enable CPU and Interpreter Loop tests (#3042) 2020-11-13 13:32:19 +01:00
Katarzyna Mitrus
bda370c5da
[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.
2020-11-13 15:15:22 +03:00
Gleb Kazantaev
e79298fb40
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
2020-11-13 14:39:07 +03:00
Rafal Blaczkowski
c3683341f3
[OpenVino ONNX CI watchdog] Small improvements (#3096)
* Small improvements

* Enlarge pending status
2020-11-13 12:17:11 +03:00
Sergey Shlyapnikov
c7155d13a4
[IE CLDNN] Fix for fusing Activation into Eltwise primitive in fused_conv_eltwise primitive case usgae (#2997) 2020-11-13 11:58:03 +03:00
Michał Karzyński
76ff0a5466
Add Dependabot configuration (#3029)
* Add Dependabot configuration

* Update config to Dependabot native
2020-11-13 11:50:47 +03:00
Anton Pankratv
95be0aa638
Hetero KW warning fix (#3107) 2020-11-13 10:53:31 +03:00
Edward Shogulin
4a362bddc5
[LPT] POT support: absent convert fix & element-wise empty dequantization data (#3067) 2020-11-13 10:32:59 +03:00
Vladimir Paramuzov
17c67ddc5f
[IE CLDNN] Cleanup cldnn source tree and README (#3043) 2020-11-13 09:29:28 +03:00
Vladimir Paramuzov
7c2060fb7b
[IE CLDNN] Fixed fmt traits map (#3088) 2020-11-13 09:29:05 +03:00
Andrew Bakalin
0681cdf1c5
[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
2020-11-13 07:50:31 +03:00
Alexander Perepelkin
69a8195d56
Disable test ExecGraphSerializationTest.ExecutionGraph_CPU (#3097)
* Disable test ExecGraphSerializationTest.ExecutionGraph_CPU as temporary measure to avoid segfault

* Disable segfaulting getAvailableDevices
2020-11-13 02:26:55 +03:00
Artyom Anokhov
92f977211e
install_NEO_OCL_driver: Added user to render group. (#3099) 2020-11-12 19:35:19 +03:00
Andrew Bakalin
9379247076
[IE][VPU]: GatherND DTS transformation (#3025)
* Implement GatherND DTS
* Introduce tests on DTS
* Introduce tests on DSR+GatherND
2020-11-12 17:30:41 +03:00
Elizaveta Lobanova
a10f71feeb
[GNA] Added tests for negative memory layer offset and split - trivial permute - concat scenario (#2989) 2020-11-12 17:07:38 +03:00
Pavel Esir
8c89d8d733
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
2020-11-12 15:04:07 +03:00
Ilya Churaev
0f4525affc
Removed const_cast from addOutput method (#3091) 2020-11-12 14:59:28 +03:00
Alexandra Sidorova
a8e581ff8b
[CPU] Converted Pad Layer to MKLDNNNode and added more optimized implementations (#2586)
Pad-1: fixed ngraph reference for symmetric mode and added cpu tests
2020-11-12 14:25:42 +03:00
Vladislav Volkov
be3df1837c
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
2020-11-12 14:00:14 +03:00
Daria Mityagina
121f75f49d
[IE][VPU][TESTS]: support different modes for Interpolate (#2963) 2020-11-12 13:51:48 +03:00
Ilya Churaev
f1c8ecb40b
Fixed KW for Windows (#3089)
* Fixed KW for Windows

* Fixed code style

* Fixed compilation
2020-11-12 13:34:28 +03:00
Svetlana Dolinina
7bd76dc12b
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
2020-11-12 12:40:43 +03:00
Mikhail Treskin
809c504d0a
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>
2020-11-12 12:33:23 +03:00
Evgeny Lazarev
f4d399f471
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
2020-11-12 07:33:39 +03:00
Maksim Doronin
9420b6e599
[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
2020-11-11 22:04:59 +03:00
Ilya Lavrenov
5e8e32f9bf
Don't build extra module if it doesn't have cmake files (#3074) 2020-11-11 20:31:44 +03:00