Commit Graph

2014 Commits

Author SHA1 Message Date
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
Edward Shogulin
518c0b6bd7
[LPT] Dequantization constant output precision handling extending (#2987)
* [LPT] moveDequantizationAfter fix

* [LPT] ConcatTransformation fix: only intermediate operations are handled
2020-11-11 18:50:37 +03:00
Maxim Kurin
27c97a037f
[IE][VPU]: Optimize swish layer and remove swish replacement pass (#2993)
* Swish layer optimization
* Update VPU firmware 1468
2020-11-11 17:40:37 +03:00
Vladimir Gavrilov
e479b011f5
retinanet onnx model has Upsample error (#3052)
* Commit.

* Fixed infer function of ONNXResize11 operation.

* Small fixes.

* Written unit tests for shape calculation for ONNXResize11.
2020-11-11 17:31:00 +03:00
Tomasz Dołbniak
20df6eada6
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
2020-11-11 15:49:40 +03:00
Roman Donchenko
a428c469ce
Fix spelling errors in samples and documentation (#2795)
* Fix spelling errors in samples

* Fix spelling errors in the documentation
2020-11-11 15:35:39 +03:00
Edward Shogulin
719187ca04
[LPT] CNNNetwork LPT removal (#3035)
* [LPT] CNNNetwork LPT removal

* Fixes for LPT removal

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2020-11-11 14:56:58 +03:00
Roman Kazantsev
53911a91f6
Fix GatherND to output dynamic rank tensor (#3073)
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
2020-11-11 14:47:00 +03:00
Andrew Bakalin
b20f76967a
[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
2020-11-11 13:52:42 +03:00
Jedrzej Hajduczenia
f7a6aae5b0
[IE CLDNN] Add asymmetric quantization support to reference convolution imad kernel (#2994) 2020-11-11 12:38:45 +03:00
Evgeny Lazarev
f633f0035c
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
2020-11-11 11:53:10 +03:00
Roman Lyamin
6b09d5769f
[IE CLDNN] Added LogSoftmax-5 operation (#2945) 2020-11-11 08:53:30 +03:00
Gleb Kazantaev
252b99dc01
Fix wrong statement in ConvertConvolutions transformation (#3056)
* Fixed wrong statement in ConvertConvolution transformation

* Added tests

* FIXME: 42956
2020-11-11 07:49:22 +03:00
Nikolay Shchegolev
eb82adeb3a
[CPU] Proposal layer. Check img info input. (#2456) 2020-11-11 00:36:38 +03:00
Andrey Dmitriev
bd091500cd
[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
2020-11-10 20:56:21 +03:00
Andrey Sokolov
634109acfa
[IE][VPU]: support new operation CEILING (#3004)
Add new Operation "Ceiling" for VPU Myriad
task: -42885
2020-11-10 19:28:53 +03:00
Yegor Kruglov
b437387bd5
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
2020-11-10 17:51:59 +03:00
Roman Kazantsev
e3b879ad3b
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>
2020-11-10 17:24:04 +03:00
Andrey Dmitriev
4a0170dcb0
[GNA] fixed case when input connected to concat from left and const from right (#2874)
* Added test

* Added fix

* Fix comment

* Fix conflict
2020-11-10 16:37:03 +03:00
Andrey Dmitriev
12bb8abe5c
[GNA] Added fix for export scores (#3009) 2020-11-10 16:33:41 +03:00
Ilya Lavrenov
dfae8fec65
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
2020-11-10 16:29:37 +03:00
Ivan Tikhonov
c309bb77d2
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>
2020-11-10 15:49:59 +03:00
Krzysztof Bruniecki
b6e2cd692b
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
2020-11-10 13:40:28 +03:00
Nikita Kudriavtsev
93ad181c8b
[IE][Myriad] Fixing global_lock_fd locking in mvnc (#3024) 2020-11-10 12:39:32 +03:00