Commit Graph
389 Commits
Author SHA1 Message Date
Evgeny Lazarev 970b1301b5 Cleanup IR v7 from the MO (#1008)
* Removed back phase transformations related to IRv7

* Fixed setting value for the input port using the 'set_value' method

* Removed front and middle phase transformations related to IRv7

* Cleanup the rest of the Model Optimizer transformations from IRv7 specific transformations

* Final cleanup of the deprecated IR v7 related code

* Removed 'blobs_as_input' usage in the Model Optimizer.

* Removed function '_fuse_add' from the Model Optimizer since it is not used anymore.

* Removed 'keep_in_IR' node attribute for FakeQuantize ops in the MO

* Disabled failing gpu_engine.user_context test
2020-06-22 11:52:00 +03:00
Ilya Lavrenov c75920ee69 Remove some stuff from legacy library (#1043) 2020-06-22 11:35:44 +03:00
Edward Shogulinanddmitrygo fbec64d2d2 [LPT] BERT with specific biases support & improvement (cherry-pick to master) (#1021)
* [LPT] BERT with biases support

* [LPT] Gemm biases and quantization

* [CPU] Fixed FullyConnected + Depthwise node fusing

* [LPT] FullyConnected 3D: symmetric quantization support

* [LPT] FullyConnected 3D: symmetric quantization support fix

* [CPU] Fixed FullyConnected + Depthwise fusing initialization

Co-authored-by: dmitrygo <dmitry.gorokhov@intel.com>
2020-06-20 19:06:26 +03:00
Marcin SielskiandIlya Lavrenov 22328d49be Fix build issue (#923)
* Fix build issue

Why:

* Enable to build OpenVINO.

This change addresses the need by:

* Adding include directories,
* Removing IE::inference_engine_c_api dependency.

* Remove IE::inference_engine_nn_builder reference.

Why:

* Enable to build OpenVINO.

This change addresses the need by:

* Removing  IE::inference_engine_nn_builder dependency.

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2020-06-19 22:06:30 +03:00
Konrad Dobros 2a1a92d31a [IE CLDNN] Fix activation implementation for fsv16 format (#1037)
For b_fs_yx_fsv16 format in reference kernel features for dispatch are
rounded to multiple of 16. This change adds correct check in kernel to
return work-items that are inside this dispatch padding.
Previously those work-items could corrupt memory expected to be filled
with 0s, and for parametrized activation due to bounds checking with
modulo operator they could have been corrupting actual layer output.

Issue: CVS-27672
2020-06-19 21:41:08 +03:00
Ilya Lavrenov 0b2827e027 Moved plugin to hidden folder (#999) 2020-06-19 21:04:12 +03:00
Ilya Lavrenov 79ff221957 Removed VPU option (#1027) 2020-06-19 20:55:53 +03:00
Vitaliy Urusovskij 3417004e6d Add memcheck comparison script (#935)
Add compare_memcheck_2_runs.py compares two runs.
Add handling of broken files for `parse_memcheck_log`
2020-06-19 15:56:32 +03:00
Ilya Lavrenov e8aed763d2 Removed Int8 normalizer and statistics (#919)
* Removed Int8 normalizer and statistics

* Removed statistics handling from tests utils

* Fixed tests compilation with statistics
2020-06-19 15:10:21 +03:00
Andrey Sokolov 4cfc4243e9 [IE VPU] use optimized ReduceMean instead of GlobalPooling (#629) 2020-06-19 14:48:53 +03:00
Ilya Lavrenov bf3f799927 Removed shape infer extension (#917) 2020-06-19 14:48:26 +03:00
Andrey Zaytsev d67371617a Added opset docs (#992) 2020-06-19 14:39:57 +03:00
Maksim Doronin a5e5af068f [IE VPU] Evaluate DSR (#770)
* [IE VPU] Add evaluate method to DSR

* [IE VPU] Enable DSR_Reshape tests

* [IE VPU] Improvements in DSR op

* [IE VPU] Fix typo in copyBlobAccordingUpperBound

* [IE VPU] Support dynamic inputs

* [IE VPU] Use dynamic inputs in tests

* [IE VPU] Improve conditions in propogateDynamism pass

* [IE VPU] Fix Myriad2 tests via dosabling reorder

* [IE VPU] make error message more explicit

* [IE VPU] Fix Win compilation: std::stoi in <string>

* [IE VPU] Improve data transferring to work with ND tensors

* [IE VPU] Avoid ODR in myriad common test utils

* [IE VPU] Split code in propagate dynamism into separate methods

* [IE VPU] Simplify conditions in DSR parsing

* [IE VPU] Emplace data in initialStages when remove stage order
2020-06-19 13:22:31 +03:00
Gorokhov Dmitriy 61821983bf [IE Common][WA] Skipped const folding for Convolution layer (#1005) 2020-06-19 13:03:21 +03:00
Andrey Dmitriev 29701de86b [GNA] fix permute 0_2_1 (#991) 2020-06-19 10:21:04 +03:00
Andrey Somsikovandsnyk-bot cdab868cbc fix: inference-engine/ie_bridges/python/requirements.txt to reduce vulnerabilities (#1006)
The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-NUMPY-73513

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
2020-06-19 01:27:32 +03:00
Vladimir Paramuzov ba8226fcb4 [IE CLDNN] Fix strided slice (#950) 2020-06-18 19:55:17 +03:00
Alexander Zhogov 6ca5cc1fe2 Azure CI: Add gtest-parallel on Lin & Mac (#980) 2020-06-18 19:20:03 +03:00
Jedrzej Hajduczenia 491173e01e [IE CLDNN] Add pooling b_fs_yx_fsv16 int8 (#565) 2020-06-18 16:40:52 +03:00
Mikhail Treskin 438c69411a Adding new layer tests to validation (#848)
* Add transpose, gather and reduce ops layer tests

* Fix skipping of Reduce Logical tests

* Fix compilation error with icl
2020-06-18 14:31:16 +03:00
Maxim Andronov fafc6a485d [CPU] fix one dims scale shift (#989) 2020-06-18 14:21:23 +03:00
Nikolay Shchegolev 26ae52b461 [Common] Static analysed issues. Part II. (#881) 2020-06-18 13:59:26 +03:00
Nikita Kudriavtsev fbf062c46b Changes: (#982)
- Named structures in bmp.h to avoid MSFT compiler error
- Fix for non-void function with missing return statement to avoid Intel compiler error
- Enabled "smoke_ExportUsingFileNameImportFromStreamNoThrowWithDeviceName" test
- Fix for MvncTest
2020-06-18 13:49:20 +03:00
Evgenya Stepyreva bb44f17a06 [ DTS ] Reduces (#940) 2020-06-18 11:36:07 +03:00
Evgenya Stepyreva 88cccee0b7 [ DYN NMS ] Static & Dynamic ops; DTS transformation; VPU tests (#884) 2020-06-18 00:16:20 +03:00
Evgeny LazarevandEvgeny Lazarev 356e40c988 Relaxed MO requirements for "protobuf" package (#864)
Co-authored-by: Evgeny Lazarev <elazarev.nnov@gmail.com>
2020-06-17 18:31:23 +03:00
Pavel Esir 00f0247b4e fixed some typos in MO help (#972) 2020-06-17 18:27:37 +03:00
Evgenya Stepyreva a32d9662c2 [ DTS ] Exp, Softmax, Greater (#926)
- Dynamic to Static transformation enabled for Exp, Softmax, Greater
- Logic Elementwises default ctor sets autobroadcasting according to spec
2020-06-17 18:20:08 +03:00
Ilya Churaev e0cf66b31a Fixed cpack information, removed some links (#976) 2020-06-17 17:17:32 +03:00
Konrad Dobros ccbbdcf80d [IE CLDNN] Fix gather dimensions calculation (#959) 2020-06-17 15:07:18 +03:00
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