Commit Graph

509 Commits

Author SHA1 Message Date
Ilya Lavrenov
3bfc35b3fc
Execution graph via ngraph for CPU plugin (#510)
* Execution graph via ngraph for CPU plugin

* Fixes

* Migrated to VariantImpl instead of Parameter

* Reverted to dedicated ExecutionNode once again

* Re-use new execution graph in tests

* Fixed one more tests to use execution graph via ngraph::Function
2020-06-17 14:42:41 +03:00
Ilya Lavrenov
7861b67203
CMAKE: fixed path for bin artifacts for 32bits (#890) 2020-06-17 14:41:16 +03:00
Ilya Lavrenov
c02ed9e0a8
Pass SizeVector by const reference in ie_layout.hpp (#965) 2020-06-17 14:34:38 +03:00
Irina Efode
2b5145d207
[IE TESTS] disable Some myriad tests on Win (#763)
* [IE TESTS] disable Some myriad tests on Windisable Some myriad tests on Win

* Skip test with todo
2020-06-17 11:26:33 +03:00
Ilya Churaev
2c7b0eb282
Use creators only for default opsets (#948) 2020-06-16 22:30:20 +03:00
Gladilov, Gleb
4a859833ff
[IE][VPU]: Enables dynamic output from middle of network support (#930)
* [IE][VPU]: Enables dynamic output from middle of network support

This feature is very useful for debugging dynamic networks.
Changes include modification of existing addCopyForOutputsInsideNetwork
pass to respect dynamic outputs and moving propagateDynamismToOutputs
pass after addCopyForOutputsInsideNetwork. The motivation for last change
is to avoid unnecessary copy stages due to not synchronized logic, because
previously:

* First in Front-End (parseDSR) we mark shape data object as output
* Then in propagateDynamismToOutputs we insert copy stage for that case.
  It's necessary if shape data object had other consumers
* Then in convertShapeNotation we insert Gather consumer for output data object
* Finally, addCopyForOutputsInsideNetwork inserts one more copy stage to leave
  output data object without consumers.

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

* [IE][VPU]: Replaces attrs.has + attrs.get with attrs.getOrDefault

* [IE][VPU]: Fixes setting IE-notation and converted-notation to the same data object
2020-06-16 16:17:36 +03:00
Andrey Dmitriev
5e165ac484
[GNA] Added test ScaleShift and fixed power layer with non zero shift (#774)
* [GNA] Added test ScaleShift and fixed power layer with non zero shift
2020-06-16 15:21:24 +03:00
Ilya Lavrenov
351a11b730
Removed deprecated error listener, getmappedtopology (#915) 2020-06-16 15:06:48 +03:00
Ilya Lavrenov
3a900d0080
Removed PluginDispatcher; IEPlugin from python API (#920) 2020-06-16 15:03:32 +03:00
Alexey Tarakanov
3127673009
Support fp16 networks (#752)
* Modifications to support fp16 networks in KMB-plugin

* StridedSliceIE is removed

* One function convertFunctionToICNNNetwork with default parameter

* Some little changes in function convertFunctionToICNNNetwork()

* Delete some spaces in code (style changes)

* Edit code style

* Edit code style one more

* Edit code style again

* Remove row with Transpose()
2020-06-16 10:59:20 +03:00
Konrad Dobros
db3dff36b9
[IE CLDNN] Add resample improvements (#933)
This change:
- extends concat in-place optimization for resample on input
- adds resample primitive int8 support for bilinear mode
- fixes some potential issues with offset calculations with in8
2020-06-16 09:07:05 +03:00
Anastasia Kuporosova
e66e0cd893
[Python API] Fix long inference (#938) 2020-06-16 01:27:38 +03:00
Jedrzej Hajduczenia
ecbd9a2c62
[IE CLDNN] Fix inserting reorders in bwd direction (#811) 2020-06-15 16:14:13 +03:00
Maksim Doronin
b23912ac03
[IE VPU] Dynamic Concat fixes (#842)
* [IE VPU] Dynamic Concat fixes

* [IE VPU] Update firmware
2020-06-15 13:57:16 +03:00
Monica-elena Burger
1e180ddf5e
[IE VPU] Enable variable number of inputs for ExpPriorGridGenerator (#855)
* [IE VPU] Enable variable number of inputs for ExpPriorGridGenerator layer

* [IE VPU] Add test cases for ExpPriorGridGenerator layer with less than three inputs
2020-06-15 13:00:02 +03:00
Ilya Lavrenov
bb265565c7
CMAKE: removed conditional compilation for C API (#861) 2020-06-15 12:39:45 +03:00
Ilya Lavrenov
88e14c9dd6
Updated dates of removal for deprecated API (#912) 2020-06-15 12:27:20 +03:00
Ilya Lavrenov
7049142080
TESTS: Added test for parallel LoadNetwork with accuracy check (#910) 2020-06-15 12:22:59 +03:00
Ilya Lavrenov
b058948763
Docs 2021 1 (#901)
* Initial state of dev docs

* Ported docs for quantized networks

* Integrate quantization guide + transformations template

* Fixes
2020-06-15 12:20:42 +03:00
Gleb Kazantaev
36be9e4031
Fix NopElimination (#891) 2020-06-15 10:39:55 +03:00
Roman Kazantsev
683c93e011
Fix preserving names of output layers after TopK NGraph transformation (#843)
* Fix preserving names of output layers after TopK NGraph transformation

It helps to infer semantic-segmentation-adas-0001 model. See CVS-31977.

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

* Fix a test for TopK

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

* Fix TopK NGraph transformation and its test

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
2020-06-15 10:29:02 +03:00
Vladimir Zinoviev
ed444bf9f4
[CLDNN] Fix std::runtime_error missing (#871) 2020-06-14 18:54:36 +03:00
Ivan Tikhonov
e5823bed26
Temporary disable PriorBoxClustered tests due to rare sporadic failures (#892)
* Temporary disable PriorBoxClustered tests due to rare sporadic failures

* Added skip_tests_config for TransformationTests
2020-06-14 17:20:21 +03:00
Vladimir Paramuzov
a2d64b73f6
[IE CLDNN] Fixed clone network to preserve original CNNNetwork (#876) 2020-06-12 15:56:04 +03:00
Konrad Dobros
e1c22196b4
[IE CLDNN] Fix fsv16 -> bfyx reorder removal (#872) 2020-06-12 15:44:14 +03:00
Evgeny Latkin
9fa21902b0
[IE][Myriad] fix HW tiling (#866) 2020-06-11 20:49:17 +03:00
Vladimir Paramuzov
8ae823084f
[IE CLDNN] fix perf for fsv16 global avg pooling (#878) 2020-06-11 20:45:11 +03:00
Vladimir Paramuzov
a3fce2d763
[IE CLDNN] Always use FP32 as intermediate type for fused quantize (#877) 2020-06-11 12:27:11 +03:00
Evgenya Stepyreva
c846c049e2
[ nG ] Style-apply (#886) 2020-06-11 12:20:54 +03:00
Evgenya Stepyreva
ffe4a74169
[ nG ] Graph visualization (#807)
* [ nG ] Graph visualization

* Update visualize_tree.cpp
2020-06-11 00:37:37 +03:00
Jedrzej Hajduczenia
4fbec25c01
[IE CLDNN] Enable I64 const inputs for batch_to_space (#860) 2020-06-10 21:07:22 +03:00
Anton Dudchenko
a6bb5aa037
[VPU][GT] Trivial permute optimization (#571)
* Transformation to eliminate trivial permute

* Minor changes in unit tests

* Replace trivial permutation with copy if input and output dims is equal

* Fix mergePermuteStages tests

* Small changes in the loop

* Add const modifier, change dimsVector type to SizeVector

* Change loop condition, rename valiable

* To reverse dimsVector
2020-06-10 17:30:37 +03:00
Nikita Kudriavtsev
086a5c5b26
[IE Myriad] Added test InferWorksCorrectAfter9999Allocations (#709) 2020-06-10 16:42:37 +03:00
Alexander Zhogov
4778feae91
Actions CI: Enable nGraph Code style check (#863) 2020-06-10 16:18:53 +03:00
Aleksandr Korolev
84119afe9a
[IE VPU TESTS] Rewrite tests with deprecated API (#761)
* [IE VPU TESTS] Rewrite tests with deprecated API

* Minor changes

Co-authored-by: kora6 <kora6@github.com>
2020-06-10 14:13:08 +03:00
Jedrzej Hajduczenia
85406c9768
[IE CLDNN] Add support for I64 data type in clDNN plugin (#555) 2020-06-10 09:34:29 +03:00
Maksim Derbasov
67ebba6f22
Show error message if output file is not writable (#779) 2020-06-09 23:54:22 +03:00
Andrey Somsikov
2ed596c87a
Use default thread sanitizer linkage (#833)
GCC and CLang *default* sanitizer linkage differs (static vs. dynamic).
Prefer default behavior as alternate seen having issues.

Default (GN)U linker fails with unresolved symbols linking Clang built
binaries with sanitizer enabled. Force use LLVM linker lld for Clang
builds.

Sanitizer instrumentation and link flags should be retained for all
binaries. Updating samples cmake configuration to keep those flags
after unset logic at the ie_build_samples().
2020-06-09 20:11:44 +03:00
Evgeny Lazarev
17ca27e4ab
Fixed StridedSlice to Crop transformation (#836)
* Fixed StridedSlice to Crop transformation to not apply when rank of data is changed

* Added unit test for StridedSlice to Crop transformation

Co-authored-by: Evgeny Lazarev <elazarev.nnov@gmail.com>
2020-06-09 20:00:43 +03:00
Roman Lyamin
3b4990ed30
[IE CLDNN] Added batch_to_space operation (#753) 2020-06-09 19:19:24 +03:00
Gleb Kazantaev
4c62786499
Fix divide conversion for integer input type (#841) 2020-06-09 19:13:35 +03:00
Anastasia Kuporosova
f278509236
[Python API] Fixate requirements (#834) 2020-06-09 18:06:57 +03:00
Ilya Lavrenov
f518fbb971
Fixed default args for Android build (#827) 2020-06-09 18:02:03 +03:00
Maxim Vafin
074266bf73
Fix onnx slice by clipping ends to int32 domain (#603) 2020-06-09 17:50:38 +03:00
Andrey Dmitriev
0bf1f53356
[GNA] Added support permute layer (#723)
* [GNA] Added GNA natively supported permute layer cases.
2020-06-09 16:43:01 +03:00
Maksim Doronin
18004bdb5e
[IE VPU] Dynamic Broadcast tests (#737)
* [IE VPU] Enable StaticShapeBroadcast tests

* [IE VPU] DSR: support case when shape is output and input for stage

* [IE VPU] Enable Broadcast and Transpose tests

* [IE VPU] DSR: fix typo

* [IE VPU] Add assertion for numConsumer in DSR

* [IE VPU] Added CheckMyriadX helper method

* [IE VPU] New DSR assert for input->getInputTo

* [IE VPU] Fix myriad2 tests bug
2020-06-09 16:10:12 +03:00
Ivan Tikhonov
9fc818478a
Const folding and reference implementation for PriorBox(Clustered) ops (#785)
* Constant folding for PriorBox, PriorBoxClustered; Deleted PriorBoxIE, PriorBoxClusteredIE and transformations; Added unit tests; codestyle

* Delete debug info

* delete unnecessary convert_prior_to_ie_prior.hpp file

* fix ngraph reader tests; delete PriorBoxIE functional test

* fix for ngraph reader tests

* Apply review comment

* apply ngraph codestyle

* restore PriorBoxClustered tests in disabled state
2020-06-09 14:47:49 +03:00
Denis Orlov
ef8a8dd309
add support for multiple scale factors in speech sample (#835)
Co-authored-by: Anna Alberska <anna.alberska@intel.com>
2020-06-09 14:36:28 +03:00
Andrey Sokolov
d4e880de3d
[IE VPU] Update firmware; enable convolution VPU OCL tests (#802) 2020-06-09 14:34:10 +03:00
Vladimir Paramuzov
fe198dd544
[IE CLDNN] Added 6d tensor support in eltwise/scale primitives (#826) 2020-06-09 14:29:36 +03:00