Commit Graph

2169 Commits

Author SHA1 Message Date
Ilya Lavrenov
50f9dd8a6b
Enabled CMP0025 as NEW (#3791) 2021-01-11 14:48:27 +03:00
Yury Gaydaychuk
9069781659
CPU implementation for ROIAlign (#3579) 2021-01-11 12:04:45 +03:00
Bartek Szmelczynski
39aa228805
base file for unit-testes for unary operators (#3700)
* Add file containing base tempalte funtions for all unary operators and add example with acos

* fix style-check

* add file for tests for all unary operators

* fix style

* rename unary_base.cpp to unary_ops.cpp

* Update test CMakeList

* fix typo

* style-apply

* Remove code blocks and add test for dynamic rank input
2021-01-11 11:43:57 +03:00
Bartosz Lesniewski
11f1a0f671
Remove ops from Layer Creator/ Node Converter - part 6 (#3620)
* remove deformableconvolution op from layer creator

* remove deformablepsroipooling op from layer creator

* remove maxpool op from layer creator

* remove nonmaxsuppresion from layer creator

* remove groupconvolutionbackpropdata op from layer creator

* remove groupconvolution op from layer creator

* fix code style
2021-01-11 07:55:14 +03:00
Roman Kazantsev
7e8cea672e
[MO] Implement support of TensorFlow 2 Keras Embedding operation in MO (#3766)
* [MO] Implement support of TensorFlow 2 Keras Embedding operation in MO

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

* Update another requirements files

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
2021-01-10 22:05:58 +03:00
Evgenya Stepyreva
511db4724f
[ nG ] opset1::Reshape output shape inference refactoring (#3542)
* [ nG ] opset1::Reshape output shape inference refactoring

* SET_INPUT_IS_RELEVANT_TO_SHAPE

* small refactoring

* brought legacy check back

* style

* Integizer

* stylee

* Apply suggestions from code review

* merge master
2021-01-10 21:37:24 +03:00
Ilya Lavrenov
7f04723d25
Fixed install location for MODULE library type (#3752) 2021-01-10 18:21:13 +03:00
Mateusz Bencer
65b8307c2f
Fixed clone_with_new_inputs for TopK (#3757) 2021-01-08 08:59:26 +01:00
Mateusz Tabaka
b56cf07f0e
[ONNX] remove unnecessary ReduceMax and Subtract in Softmax op (#3717) 2021-01-07 19:02:59 +01:00
Mateusz Tabaka
7be7a8fb30
[ONNX] don't hardcode shapes in Interpolate and Shape operator (#3778) 2021-01-07 16:56:19 +01:00
Vladislav Vinogradov
00d37aaa62
Use find_package instead of include(Find*) in CMake scripts (#3767)
Otherwise CMake produces the following warning:

```
CMake Warning (dev) at /usr/local/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:426 (message):
  The package name passed to `find_package_handle_standard_args` (Wget) does
  not match the name of the calling package (IEDevScripts).  This can lead to
  problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  /usr/local/share/cmake-3.19/Modules/FindWget.cmake:26 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  cmake/developer_package/download/download_and_check.cmake:5 (include)
  cmake/developer_package/download/download_and_extract.cmake:6 (include)
  cmake/developer_package/download/download.cmake:25 (include)
  cmake/developer_package/download/dependency_solver.cmake:5 (include)
  cmake/developer_package/IEDevScriptsConfig.cmake:208 (include)
  CMakeLists.txt:12 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.
```
2020-12-31 12:48:23 +03:00
Vitaliy Urusovskij
08f54dbac8
Fix metadata_from_manifest() according to new manifest version (#3771) 2020-12-31 09:57:58 +03:00
Anastasia Popova
c6e57ef99f
Fixed regression after mapping bug fix (#3770)
* Fixed regression after mapping bug fix

* Unit test for atribute absence.
2020-12-30 19:41:10 +03:00
Vitaliy Urusovskij
fe229ba19d
Move time_tests to new manifest version (#3759) 2020-12-30 17:28:22 +03:00
Polina Brzezinskaya
0850479b54
[IE][VPU][TESTS]: Fix myriad tests on MacOS (#3681)
* fix sorting ref for myriadTestsTopK_smoke on macOS and chenged dynamic_pointer_cast to ngraph::is_type at dynamic_to_static_shape_squeeze.cpp
* disable accuracy/myriadLayersTestsExpGenerateProposals_smoke.ExpGenerateProposals tests for macOS
2020-12-30 12:37:07 +03:00
Maxim Shevtsov
4fa7575d2e
Adding MYRIAD_THROUGHPUT_STREAMS support (#3723)
* Adding MYRIAD_THROUGHPUT_STREAMS to the list of plugin's supported config vals (omitted incorrectly) and enabing streams for the myriad devices in the benchmark_app

* docs update and python benchmark_app
2020-12-29 19:02:57 +03:00
Anton Romanov
1c3848a96f
Added info about hello classification sample (#3583) 2020-12-29 16:55:29 +03:00
Vladislav Golubev
6326eb348a
[LPT] reshape 4D->4D per-tensor quantization fix (#3644) 2020-12-29 12:40:31 +03:00
Anastasia Popova
631d452258
Fixed mapping of input name (#3737)
* Fixed mapping of input name

* Fixed unit tests

* Fixed mapping of input name

* Fixed unit tests

* attributes check fix

* PEP8 code format

* code duplicate removal

* variable rename
2020-12-28 22:43:54 +03:00
Gorokhov Dmitriy
37b6e75730
[CPU] Fixed Divide operation support for I32 precision (#3721)
* [CPU] Fixed Divide operation support for I32 precision
2020-12-28 19:18:19 +03:00
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