Commit Graph

2149 Commits

Author SHA1 Message Date
Anton Pankratv
a8daab3377
Fixed some tbb issues (#3735) 2020-12-28 13:41:44 +03:00
Ilya Churaev
72cd81305c
Fixed headers for doxygen genration (#3746) 2020-12-28 13:33:26 +03:00
Alexandra Sidorova
e82257d021
[CPU] Improvements for Pad implementation (#3267) 2020-12-28 13:28:56 +03:00
Vladislav Golubev
5943e1be73
[LPT] issue #37332: tests unification (#3277)
* [LPT] ieFuncTests unification

* [LPT] plugin tests unification

* [LPT] added removeStandaloneCleanup && removeTransforamtions refactoring
2020-12-28 12:06:38 +03:00
Rafal Blaczkowski
eac33e1b0e
OpenVino ONNX CI update (#3750)
* Enlarge timeouts for OpenVino ONNX CI

* Enlarge a lot timeouts

* Update processing script
2020-12-28 11:03:38 +03:00
Yegor Kruglov
870a6c061a
Fix of ascii decode problem in TF Const with string value (#3672)
* added try/except to tf_tensor_content

* code refactoring

* added unittest

* update test
2020-12-27 22:15:17 +03:00
Ilya Lavrenov
278b662e56
Removed global CMAKE_MODULE_PATH in IE DevPackage (#3747)
* Cleanup

* Added CMAKE_MODULE_LINKER_FLAGS for onecoreuap toolchain

* Fixed ENABLE_FASTER_BUILD mode on Android

* Cosmetic fix

* Fixed fuzzing

* Enabled fuzzing
2020-12-27 00:02:50 +03:00
Ilya Churaev
6f77c72fc7
Small cosmetic fixes (#3748) 2020-12-25 19:42:33 +03:00
Dmitry Budnikov
0547934c24
fluid update WW52 2020 OCV 4.5.1 - attempt#2 (#3698)
* fluid update WW52 2020 OCV 4.5.1 - attempt#2

* fluid update WW52 2020 OCV 4.5.1 - attempt#3 with build fixes

* fluid update WW52 2020 OCV 4.5.1 - attempt#3
2020-12-25 18:25:20 +03:00
Evgeny Lazarev
a66ab37455
Set fixed version of the urllib3 package in the requirements because of the security issue in urllib3==1.25.8 (#3740)
* Set fixed version of the urllib3 package in the requirements because of the security issue in 1.25.8

* Set lower bound version of the urllib3 package in the requirements because of the security issue in 1.25.8
2020-12-25 18:02:23 +03:00
Alexander Perepelkin
dedd5a51e8
Allow multiple output shapes testing (#3728) 2020-12-25 17:37:16 +03:00
Ilya Churaev
d6721c395b
Added CC macros to validate, clone and visit (#3730)
* Added CC macros to validate, clone and visit

* Fixed names

* Fixed code style

* Add exceptions

* Revert "Add exceptions"

This reverts commit 0489ba376f.

* Update ngraph macros, throw an exception if code is disable for nGraph op

* Fixed code style

* Simplified NGRAPH_OP_SCOPE

* Changed TYPE_CASE macros

* Fixed compilation

* Fixed code style

* Fixed build
2020-12-25 17:20:48 +03:00
Roman Kazantsev
55f1f9606f
[MO] Implement transformation to avoid RandomUniform in dropout (#3678)
* [MO] Implement transformation to avoid RandomUniform in a particular drop-out block

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

* Remove old RandomUniform transformation and correct const values

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

* Fix atol value

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

* Move DropoutWithRandomUniform transformation to the front

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

* Change just RandomUniform to Broadcast in the transformation

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

* Correct comment for the transformation

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

* Remove redundant line

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
2020-12-25 16:59:15 +03:00
Rafal Blaczkowski
27fbb4cfb1
Enlarge timeouts for OpenVino ONNX CI (#3745) 2020-12-25 14:09:32 +03:00
Rafal Blaczkowski
6d45a9c041
ONNX CI improvement (#3673)
* Improve corner-case resistance

* small improvements
2020-12-25 07:46:55 +03:00
Mateusz Tabaka
1aee9f9ffe
[ONNX] don't hardcode shape in Softmax operator (#3676)
* [ONNX] don't hardcode shape in Softmax operator

* use named constant for special zero param in reshape
2020-12-25 07:41:46 +03:00
Anastasiya Ageeva
cc019e0a11
Avladimi/cherry pick raspbian gsg (#3654)
* Added Get Started Guide for Raspbian

* Updated the TOC xml file

* Minor fixes

* Implemented review comments

* Fixed broken link
2020-12-24 18:52:09 +03:00
Sergey Lyubimtsev
2e6ea1e290
CMake based build for pyngraph module (#3080)
* [MO] Add CMake install for Model Optimizer

* [MO] Update test for version.py

* [MO] Add CMake install for Model Optimizer

* [MO] Update test for version.py

* [MO] Add CMake install for Model Optimizer

* [MO] Update test for version.py

* [nGraph] Python API should be compiled and installed via CMake (41857)

* Refactored wheel setup script to build module using CMake

* Update build instructions

* Added USE_SOURCE_PERMISSIONS to cmake install

* Adjust CMake compiler flags conditions

* fix CPack issue for CI build pipeline

* case insensitive option check

* build only python API if ngraph_DIR provided

* fix lib extension for macOS

* -fixed style (flake8)

 -added paralllel build option & description

* fix flake8 B006 check

* add ngraph_DIR & remove unsed env. variables.

* Reworked build & test instructions to make it more straightforward

* remove unused CMake arguments for setup.py

* make source dir condition more general

* Update BUILDING.md

* Update BUILDING.md

* Update BUILDING.md

* beautified instructions wording

* fix wheel build issue after sourcing setupvars

* Extend user options to build, install and develop commands

Co-authored-by: Andrey Zaytsev <andrey.zaytsev@intel.com>
2020-12-24 16:57:58 +03:00
Maksim Kutakov
4a62491927
[CPU BF16] Fix for fusing depthwise operation into BF16 convolutions (#3671)
* Fix for fusing depthwise operations into bf16 convolutions.

* ScaleShift layer was returned to _complementbf16 list.
2020-12-24 15:59:54 +03:00
Andrew Bakalin
29d82b7a9a
[IE][VPU]: Fix loading previous NMS versions (#3696)
* Description: currently IRs with NMS version < 5 don't work because conversion of previous NMS versions to NMS-5 happens after DTS (in opset1 to legacy conversion), while for Myriad Plugin it's necessary to do so at the very beginning of ngraph conversion pipeline.
2020-12-24 12:27:10 +03:00
Ilya Churaev
ad3405ef5e
Removed global factory for nodes (#3701) 2020-12-24 10:47:05 +03:00
Nikolay Tyukaev
dbedeae9c9
ovino doc assets (#3046)
* ovino doc assets

* update cmake doc build

* fixes
2020-12-24 10:30:51 +03:00
Maxim Andronov
cdf7f5eff5
Added memory format attribute (#3395)
* [CPU] Added memory format attribute
2020-12-24 10:25:53 +03:00
Yury Gaydaychuk
6d320d7162
convert to bf is to be inserted only after non-const layer (#3597) 2020-12-24 10:20:44 +03:00
Ilya Lavrenov
9d6bd321d8
Fixed message if ENABLE_ERROR_HIGHLIGHT is enabled (#3712) 2020-12-24 08:07:50 +03:00
Szymon Durawa
431485e4a6
Visitor api ti implementation (#3576)
* TensorIterator deserialization. Introduce new on_adapter(Function) and add implementation in on_adapter(void) for Input and Output Descriptions. Remove factory adapter.

* Add comments to functions provided. Add missing  on_adapter() after rebase.

* Apply formatting.

* Remove visit_attributes from SubGraphOp, remove declaration for createSubGraphLayer.

* Add port map parsing to address not consecutive order of external_port_id appearance.

* Remove header for factory_adapter.

* Add on_adapter() in V10Parse::parse() function.

* Add m_num_iterations initialization for concat output.

* Remove redundant lines, add doxygen comments.

* Change cpp/ie_cnn_network.h to local include, remove temporary map object from range for loop.

* Restore protected access for SubGraphOp.
2020-12-24 07:34:21 +03:00
Sergey Lyubimtsev
4f0720176c
CMake install fixes (#3600)
* [MO] Add CMake install for Model Optimizer

* [MO] Update test for version.py

* [MO] Add CMake install for Model Optimizer

* [MO] Update test for version.py

* [MO] Add CMake install for Model Optimizer

* [MO] Update test for version.py

* - fix install paths for onnx_reader and ir_reader

- remove static lib installation for plugins on plugins
- 97-myriad-usbboot.rules is installed only for Linux

* added new line

* - Return GNAPlugin to default build list

- Remove test artifacts from cmake install distribution
- Remove nGraph static libs from cmake install distribution

* revert install rule for archive(.lib)

* revert install rule for onnx_importer (.lib)
2020-12-23 23:27:23 +03:00
Maxim Shevtsov
e57ae2e2fa
async network loading in the MULTI (#3599)
* async network loading in the MULTI. makes the overall load time as MAX of the individual devices loading timings, as opposite to the current SUM

* correct way of getting perf counters flag for the MULTI (adding to the async load PR, as this is minor change)

* accomodating remark from the code review- MULTI enables the perf counters only if all devices support/enable that
2020-12-23 18:35:27 +03:00
Ilya Lavrenov
036f574756
module library type for IE plugins, extensions (#3656)
* CMAKE: Added MODULE linker flags

* Fixed plugins.xml s

* Use module instead of shared library

* Fixes

* tab 2 spaces

* Renamed get_shared_library_name to ie_plugin_get_file_name
2020-12-23 18:25:42 +03:00
Ilya Lavrenov
5b26a7fcb1
Added error message if cmake is run from IE root (#3707) 2020-12-23 18:00:36 +03:00
Ilya Lavrenov
65b2447d36
Try ENABLE_FASTER_BUILD on public CI (#3708)
* Try ENABLE_FASTER_BUILD on public CI

* Fixed UNITY compilation for Windows
2020-12-23 18:00:26 +03:00
Patryk Elszkowski
2bc18c27aa
Constant attr to visitor (#3540)
* Add new path for constant in IR serializer.

* Apply suggestion from review.

* Unique name for temporary test file

* Switch from static to constant member function - GetTestName

* Ensure bin path is not empty.

* Compare Constants op by string values converted to float.

* Add path validation.

Co-authored-by: Patryk Elszkowski <patryk.elszkowki@intel.com>
2020-12-23 16:14:26 +03:00
Piotr Szmelczynski
8806cd3d64
Abs revise (#3601)
* create type_prop tests

* add abs type_prop tests to CMakeList

* add type prop test for dynamic input shape

* fix style
2020-12-23 16:10:29 +03:00
Mateusz Tabaka
a8022cdbc8
Enable TinyYolo v3 in CI (#3651) 2020-12-23 12:25:54 +01:00
Vladimir Paramuzov
241b0faea1
[IE CLDNN] NGraph integration into cldnn plugin (#2506)
Co-authored-by: Roman Lyamin <roman.lyamin@intel.com>
Co-authored-by: Mikhail Letavin <mikhail.letavin@intel.com>
2020-12-23 13:35:44 +03:00
Patryk Elszkowski
bd9bbe09c3
New Gather op reference implementation. (#3633)
* New Gather op reference implementation.

* Unify span implementation for gather and gather_nd.

Create span.hpp for common implementation of span.

* Move span to utils directory.

* Address review comments.

* update span

* Address PR comments.

Co-authored-by: Patryk Elszkowski <patryk.elszkowki@intel.com>
2020-12-23 08:02:57 +03:00
Vladislav Volkov
96b032504e
Errors and warnings highlighting for UNIX platforms (#3643)
* Errors and warnings highlighting for UNIX platforms

* The option added for errors and warning highlighting enabling
2020-12-23 08:01:07 +03:00
Bartek Szmelczynski
bc2bd04144
Check disabled tests (#3441)
* add 4 tests for operators based on model zoo

* fix wrong names of the models

* add functional tests for equal, lstm_cell and psroi_pooling operators

* add functional tests for ConverLike and Mod operators

* add funtional tests which were disabled, and add a minor change in convert_function_to_cnn_network.cpp file in order to make LogicalNot operator pass a test

* back to the previous .xml model

* made a changes in ir_layer_parsers.cpp in order to make logicalNot pass a test

* minor fixes to LogicalNot operator in ie_layers_parsers.cpp

* rename friendly name to "not"

* add if statement for Activation type

* fix style
2020-12-23 07:52:08 +03:00
Ilya Lavrenov
856ab82bbf
Added company name to a version file (#3653) 2020-12-22 21:02:52 +03:00
Mikhail Ryzhov
f224c52f38
[IE CORE] enable plugins & dependent libs loading using absolute path (#3639)
* [IE CORE] enable plugins & dependent libs loading using absolute path

urrently this allowed to use plugins.xml file to specify full path to specific plugin with it's all dependency, not to be persisted in CWD or in PATH

* Code review fixes
2020-12-22 21:02:05 +03:00
Mateusz Bencer
00181d5179
Disable tests which read prototxt files if protobuf-lite is used (#3691)
* Disable tests which read prototxt if protobuf lite is used

* added missing line

* cmake flags refactor
2020-12-22 18:55:25 +03:00
Ilya Lavrenov
9465073f58
Introduce IEDevScripts package (#3661)
* Refactored developer package

* Added fuzzing for CMAKE_MODULE_LINKER_FLAGS as well

* Added options for developer package

* More improvements

* Further improvements

* Removed global CMAKE_MODULE_PATH population

* Fixes

* Final fixes

* Fixed python build

* Fix for TBB

* Fixed Find TBB

* Fixed install

* Fixes for OV features

* Split developer targets per component

* Fixed IE build tree config

* Fixed ITT

* Fixed review comments

* Clean export dependencies

* Fixed export of pugixml

* Added IEDevScripts_DIR for Android

* Fixed Android #2

* Fixed Android #3

* Fixed python cc

* Disabled Core threading tests on GNA
2020-12-22 18:44:59 +03:00
Ilya Churaev
1926179b65
Changed OV_SCOPE semantic (#3692)
* Added if DEFINE construction

* Changed OV_SCOPE semantic

* Fixed the code style

* Fixed redundant lines
2020-12-22 18:29:41 +03:00
Jozef Daniecki
967c040e19
Regenerate MO models with current MO version. (#3668)
Constant port numbering was changed in MO serialization, needed to
regenerate models for serialization functional tests to reflect current
MO IR.
2020-12-22 18:29:07 +03:00
Gladilov, Gleb
2ffa6f4764
[IE][nGraph]: Fixes Loop shape inference (#3641)
Previously Loop shape inference function
produced dynamic shapes for body parameters
and loop outputs if iteration count is
unknown (dynamic) or loop input data is
dynamic. At the same, time some dimensions
of input/outputs of body/loop could be
inferred under this circumstances which could
critical for model enablement (ex. Myriad-X
could support convolutions with dynamic batch,
but could not support convolutions with dynamic
spatial dimensions)

Signed-off-by: Gladilov, Gleb <gleb.gladilov@intel.com>
2020-12-22 17:19:27 +03:00
Mateusz Tabaka
e9b89b0bc5
[ONNX] remove hardcoded shape in GroupNorm operator (#3682) 2020-12-22 11:03:59 +01:00
iliya mironov
b17e0d47b1
Remove broadcasting (#3574)
* Remove broadcusting

* Refactoring some code

* Add unit tests

* Update description

* Refactoring transformation

* Add is_broadcastable_shapes checks

* Update is_eliminate_broadcast func

* Add unit tests

* Update unit tests

* Add unit tests

* Add unit tests

* Remove unused include

* Add dynemic tests

* Update unit tests

* Fix code style

* Fix unit tests code style

* Fix code style

* Add one more case for elumenate broadcast

* Fix according to review

* Refactoring transformation code
2020-12-22 12:58:37 +03:00
Anastasiya Ageeva
b6bba5d377
Avladimi/cherry pick cvs 36087 (#3655)
* Fixed CVS-36087

* Fixed link to the installation package

* Fixed links, fixed formatting in bulleted lists
2020-12-22 11:34:11 +03:00
Anastasiya Ageeva
3fd0114925
Added workaround instructions to fix the issue described in CVS-35873 (#3657) 2020-12-22 11:33:23 +03:00
Mateusz Tabaka
4f14e842c1
Update ONNX models to latest master (#3658)
* Update ONNX models to 00d95ba9e5758fd0bc5e6978033fabc4f2a95e61

That version fixes yolov4 and roberta models

* remove yolov4 post processing

* remove model directory before unpacking
2020-12-22 08:04:32 +03:00