Commit Graph

4271 Commits

Author SHA1 Message Date
Dmitry Pigasin
1cfe27ae1f
[IE Samples Docs] Add rows with model download and conversion (#6626)
* Add information about model preparation

* Add the missed file extension for the onnx model

* [c] Add information about model preparation

* [cpp] Add information about model preparation

* Update the string about model converter

* Specify a model name at steps 1 and 2 of the running example
2021-07-14 12:07:34 +03:00
Luo Cheng
2378593bd5
MulticlassNms/MatrixNms: ngraph python api (#6573)
* nms python api

* fix python code style

* fix python code style

* apply review comments

* apply review comments
2021-07-14 07:06:39 +03:00
Evgenya Stepyreva
3710c0ee58
Optimize ShapeOf sub-graphs (#6627)
1. Include shape sub-graphs optimization in the model optimizer nGraph pipeline
2. Extend shape sub-graph optimizations with useless Concat and useless Gather optimization
2021-07-13 18:31:41 +03:00
George Zlobin
3d13424e42
[IE][VPU]: Completion of Configuration options refactoring in VPU plugins (#6176)
* [IE][VPU]: Refactors PROTOCOL configuration option

* [IE][VPU]: Refactors POWER_CONFIG configuration option

* [IE][VPU]: Refactors HW_OPTIMIZATION configuration option

* [IE][VPU]: Refactors HW_EXTRA_SPLIT configuration option

* [IE][VPU]: Refactors HW_BLACK_LIST configuration option

* [IE][VPU]: Refactors TILING_CMX_LIMIT_KB configuration option

* [IE][VPU]: Refactors WATCHDOG_INTERVAL configuration option

* [IE][VPU]: Refactors PRINT_RECEIVE_TENSOR_TIME configuration option

* [IE][VPU]: Refactors PERF_REPORT_MODE configuration option

* [IE][VPU]: Refactors PERF_COUNT configuration option

* [IE][VPU]: Refactors PACK_DATA_IN_CMX configuration option

* [IE][VPU]: Refactors NUMBER_OF_SHAVES configuration option

* [IE][VPU]: Refactors NUM_EXECUTORS configuration option

* [IE][VPU]: Refactors NUM_CMX_SLICES configuration option

* [IE][VPU]: Refactors HW_POOL_CONV_MERGE configuration option

* [IE][VPU]: Refactors TENSOR_STRIDES configuration option

* [IE][VPU]: Refactors INJECT_SW_OPS configuration option

* [IE][VPU]: Refactors IGNORE_UNKNOWN_LAYERS configuration option

* [IE][VPU]: Remove HW_WHITE_LIST configuration option

* [IE][VPU]: Refactors HW_DILATION configuration option

* [IE][VPU]: Refactors FORCE_PURE_TENSOR_ITERATOR configuration option

* [IE][VPU]: Remove FORCE_DEPRECATED_CNN_CONVERSION configuration option

* [IE][VPU]: Refactors EXCLUSIVE_ASYNC_REQUESTS configuration option

* [IE][VPU]: Refactors ENABLE_WEIGHTS_ANALYSIS configuration option

* [IE][VPU]: Refactors ENABLE_TENSOR_ITERATOR_UNROLLING configuration option

* [IE][VPU]: Refactors ENABLE_REPL_WITH_SCRELU configuration option

* [IE][VPU]: Remove ENABLE_REPLACE_WITH_REDUCE_MEAN configuration option

* [IE][VPU]: Refactors ENABLE_PERMUTE_MERGING configuration option

* [IE][VPU]: Refactors ENABLE_MEMORY_TYPES_ANNOTATION configuration options

* [IE][VPU]: Refactors DUMP_INTERNAL_GRAPH_FILE_NAME configuration options

* [IE][VPU]: Refactors DUMP_ALL_PASSES_DIRECTORY configuration options

* [IE][VPU]: Refactors DUMP_ALL_PASSES configuration options

* [IE][VPU]: Refactors DISABLE_REORDER configuration option

* [IE][VPU]: Refactors DISABLE_CONVERT_STAGES configuration option

* [IE][VPU]: Refactors DEVICE_ID configuration option

* [IE][VPU]: Refactors DEVICE_CONNECT_TIMEOUT configuration option

* [IE][VPU]: Refactors DETECT_NETWORK_BATCH configuration option

* [IE][VPU]: Refactors CUSTOM_LAYERS configuration option

* [IE][VPU]: Refactors MEMORY_TYPE configuration option

* [IE][VPU]: Refactors FORCE_RESET configuration option

* [IE][VPU]: Refactors PLATFORM configuration options

* [IE][VPU]: Remove PLUGIN_LOG_FILE_PATH configuration options

* [IE][VPU]: Remove COMPILER_LOG_FILE_PATH configuration options

* [IE][VPU]: Refactors CHECK_PREPROCESSING_INSIDE_MODEL configuration option

* [IE][VPU]: Refactors ENABLE_EARLY_ELTWISE_RELU_FUSION configuration option

* [IE][VPU]: Refactors ENABLE_CUSTOM_RESHAPE_PARAM configuration option

* [IE][VPU]: Refactors NONE_LAYERS configuration option

* [IE][VPU]: Remove INPUT_SCALE and INPUT_BIAS configuration option

* [IE][VPU]: Refactors ENABLE_ASYNC_DMA configuration options

* [IE][VPU]: Delete old configuration API
2021-07-13 16:58:25 +03:00
Evgeny Kotov
a3868698e6
GNA add SwapInputMatMul transformation unit tests (#6458)
* - add SwapInputMatMul transformation unit tests
- fix SwapInputMatMul matcher pattern

* code review fixes: remove unused piece of code

* use clone function instead of creating reference function code duplicate
2021-07-13 16:54:56 +03:00
Evgeny Kotov
b29ee60202
- add InsertTransposeAfterConvOrPool tranformation tests (#6462)
- fix InsertTransposeAfterConvOrPool transformation copying runtime info
2021-07-13 16:54:44 +03:00
Kate Generalova
27be552886
add a new label to track 3d party changes (#6610) 2021-07-13 16:18:19 +03:00
Evgenya Stepyreva
46a20fdb12
Zero point optimization (#6617)
Ticket: #59063
Summary: try to fuse zero point to the weights in order to make the zero point == 0.
2021-07-13 15:37:15 +03:00
Andrew Kwangwoong Park
2edb0e05cc
[IE CLDNN] Add common comparator for ngraph reference and cldnn detection output primitive (#6530)
- Add common comparator for sort function to be aligned with others(cldnn/mkldnn DO primitive)

Signed-off-by: Andrew Kwangwoong Park <andrew.kwangwoong.park@intel.com>

Apply clang-format to do ngraph reference code

Signed-off-by: Andrew Kwangwoong Park <andrew.kwangwoong.park@intel.com>

Apply code review

Signed-off-by: Andrew Kwangwoong Park <andrew.kwangwoong.park@intel.com>
2021-07-13 14:52:45 +03:00
Jan Iwaszkiewicz
01eebba54b
[nGraph] Return Node's operation version (#6589)
* Add python test

* expose node version to python api
2021-07-13 12:49:11 +03:00
Alexander Zhogov
7b24ff481f
Add install and run tests from a pkg (#6571) 2021-07-13 11:45:43 +03:00
Katarzyna Mitrus
015ad868ef
NormalizeL2 spec revision (#6512)
* Move and update details description

* Update Required style

* Update Particular cases description

* Update eps_mode range

* Update inputs description

* Update outputs description

* Add Types section

* Update short description

* Update examples

* Update descriptions

* Add headers to examples

* Update eps_mode attribute description

* Fix have -> has typo

* Remove default value from Required attributes
2021-07-13 06:49:30 +03:00
Maxim Vafin
86e5625db6
Add iSeeBetter to supported PyTorch models list (#6177) (#6278) 2021-07-12 20:48:17 +03:00
Maxim Vafin
3b77b405b9
Fix FasterRCNN conversion documentation (#6612) 2021-07-12 19:42:16 +03:00
Vladimir Paramuzov
3e8c8c1025
[GPU] Simplified cldnn cmake (#6606) 2021-07-12 17:06:00 +03:00
Katarzyna Mitrus
b7cc01b8e2
NormalizeL2 - reference implementation revision (#6349)
* Update SLT to generate input with 0 and eps sensitive treshold

* Fix normalize_l2 reference to enable empty axes case

* Simplify empty axes case

* Moved backend tests from fused_op

* Update SLT treshold

* Enable SLT for empty axes case

* More single layer tests

* Backend tests refactor

* Add helper function to for normalize_l2 backend tests

* Rewrite NormalizeL2 backend tests to use test case and common helper function

* Update layer tests

* Cleanup unit-tests manifest

* Add more backend tests

* Update comments

* Fix applying eps in MKLDNN normalize

* Add 5D tests

* Backend tests refactor

* Remove duplicated tests

* Upate IE tests manifest

* Add 5D SLT

* SLT cleanup

* Update skipped SLT for CPU

* Add NormalizeL2 to verified ops

* Skip GPU SLT for empty axes case

* Update SLT epsilon values

* Revert mkldnn_normalize changes

* Update tests and issue nubmers

* Remove reudndant axes copy from reference
2021-07-12 16:28:24 +03:00
Ilya Churaev
811f4c5ae9
Template reference tests (#6456)
* Added convert tests

* Moved convert tests to template plugin

* Fixed build

* Fixed comments

* Fixed templateFuncTests

* Fixed review comments

* Added dynamic registration of template plugin

* Fixed functional tests

* Fixed behavior tests

* Added ticket

* Try to avoid fails
2021-07-12 14:24:36 +03:00
Mateusz Tabaka
1a5bd8a510
[ONNX] Split importing model to two phases: decode and convert (#6326) 2021-07-12 12:13:25 +02:00
zhangYiIntel
8fb1182670
PaddlePaddle frontend - OP Conversion Part1 (#6501)
* enable pdpd fuzzy test

* add 6 op conversion

* apply review suggestions

* correct cnpy location in test CMakeLists
2021-07-12 09:21:23 +03:00
Ivan Tikhonov
434fcec53c
DeformableConvolution v8: MO and IR reader (#6532)
* ModulatedDeformableConvolution extractor

* Update MO to generate DeformableConv opset8

* clean up

* ir reader tests

* fix bilinear_interpolation_pad attribute

* update BOM file

* fix BOM file

* delete unnecessary tests

* resolve review comments

* fix e2e test

* fix e2e test

* resolve review comments

* add comment
2021-07-12 08:09:41 +03:00
Paul Youngsoo Ahn
60651fe8f5
[GPU] Parallelize node.choose_impl in compile_graph (#6261) 2021-07-12 07:58:29 +03:00
Sergey Lyubimtsev
79a6ad0c0f
[OV-DOC] Issues with pypi-openvino-dev.md (#6343)
* [OV-DOC] Issues with pypi-openvino-dev.md

* add example for pip install on Ubuntu

* Update docs/install_guides/pypi-openvino-dev.md

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>
2021-07-09 17:32:26 +03:00
Sergey Lyubimtsev
b893eae9e7
Fix for missed OMZ public models in openvino-dev package (#6568)
* Fix for missed OMZ public models in openvino-dev package

* fix linter issues
2021-07-09 15:27:56 +03:00
Vladislav Golubev
2ff5d1fab1
[LPT] Plugin tests: added the ability to add test-cases with dynamic shapes (#6436) 2021-07-09 14:55:20 +03:00
Ilya Lavrenov
8b456cb9b4
Moved element_type() to MemoryBlob (#6549)
* Moved element_type() to MemoryBlob

* Updated indentation in documentation

* Added more fixes for precisions

* Fixed documentation for new serialize methods
2021-07-09 14:09:02 +03:00
Anna Khakimova
fb6b5a8275
Pre-processing: Resize area kernels dispatching refactoring. (#6515)
* * Resize area refactoring

* * Applied comments.
2021-07-09 13:00:56 +03:00
Mingyu Kim
0d775269ea
[GPU] Debug config improvement (#6575) 2021-07-09 12:23:16 +03:00
Anna Likholat
98148539b3
serialize to memory (#6485) 2021-07-09 09:52:40 +03:00
Ivan Tikhonov
de8c57e034
DeformableConvolution v8: ngraph python API (#6520)
* Python API for DeformableConvolution op

* python codestyle

* fix python codestyle

* resolve review remarks

* fix python codestyle
2021-07-09 09:41:43 +03:00
Gleb Kazantaev
2a970a56d3
Enable common optimizations on MO (#6245)
* Enable common optimizations on MO

* Added tensor name tracking; updated tests

* Disable DilatedConvolution transform

* Fix TopK3 transformation

* Codestyle fix

* Update tensor name logic

* Fix scatter nd shape inference for dynamic shape

* Update FrameworkNode to propagate dynamic output shape

* Enable HSwish in MO that is missing in nGrpah

* Cleanup MO and IE code

* Fix review comments

* Fix unit test
2021-07-09 00:38:07 +03:00
Dmitry Pigasin
8b52a4c0c5
Remove sudo from mo install_prerequisites.sh (#6378)
* Remove sudo from mo install_prerequisites.sh

* Move venv folder to $HOME dir

* Wrap $venv_python_binary with double quotes

* Add variable to store `$HOME/venv_mo`

* Use one venv for all OpenVINO tools

* Add ROOT_DIR variable

* Add python venv creation

* Add message about venv to the .bat script

* Fix a typo
2021-07-08 17:10:00 +03:00
azhogov
975496df16 Convert *.png and *.bmp files to LFS 2021-07-08 14:06:38 +03:00
Yegor Kruglov
b56164e804
[MO] Updating condition in TF Const value extracting (#6322)
* update value extracting condition

* added a comment

* updated unittest

* added a scalar test, little fix for scalar values extracting
2021-07-08 15:55:29 +05:00
Ilya Lavrenov
ba3a667730
Used generator expression for CONFIG (#6557) 2021-07-08 13:03:02 +03:00
Ilya Lavrenov
652c6f6247
Extract OpenVINO version from header, if CI one is not defined (#6555) 2021-07-08 13:01:54 +03:00
Taylor Yeonbok Lee
5d6fa64621
[IE CLDNN] Improve bfyx convolution performance for shallow output ch (#6399) 2021-07-08 12:25:16 +03:00
Szymon Irzabek
afe60b3263
Gna padding tests (#6541)
* [GNA] Use built in ngraph padding calculation

* [GNA] Use less channels for tests

* [GNA] Rename tests file

* [GNA] Add ngraph reference tests and some minor fixes in the transformation itself

* [GNA] Add invalid ngraph reference tests

* [GNA] Align brace style

* [GNA] Remove unnecessary condition
2021-07-08 11:49:07 +03:00
Szymon Durawa
baef88c8fb
Cosh revise. (#6516) 2021-07-08 09:03:59 +03:00
Ilya Churaev
23f4bf4e70
Removed legacy tests (#6558) 2021-07-08 08:01:40 +03:00
Gabriele Galiero Casay
e63b7dc39c
BatchToSpace specification refactoring (#6528)
* BatchToSpace specification refactored

* Add minor changes

 * Added \ldots to latex formula
 * Change output tensor to lower-case y
 * Added mention to reverse operation SpaceToBatch

* Corrected dots in formulas

* Enable rank greater or equal than 2 for data input and add more examples

* Minor changes in detailed description

* Improve short and detailed descriptions
2021-07-08 07:50:29 +03:00
Gabriele Galiero Casay
a4fef45e0c
Enable lower input rank for BatchToSpace operation by fallback (#6553)
* Enable lower input rank for BatchToSpace operation by fallback

* Added conditions to check valid data input rank for evaluate and has_evaluate methods
2021-07-08 07:47:01 +03:00
Tingqian Li
340583fa35
Tq/revise asinh (#6498)
* update spec

Signed-off-by: Li, Tingqian <tingqian.li@intel.com>

* use RTTI macro

Signed-off-by: Li, Tingqian <tingqian.li@intel.com>

* fix op scope typo

Signed-off-by: Li, Tingqian <tingqian.li@intel.com>

* simplify evaluate template function

Signed-off-by: Li, Tingqian <tingqian.li@intel.com>

* override validate_and_infer_types() to align with spec

Signed-off-by: Li, Tingqian <tingqian.li@intel.com>

* Add visitor API test

Signed-off-by: Li, Tingqian <tingqian.li@intel.com>

* Add type_prop test

Signed-off-by: Li, Tingqian <tingqian.li@intel.com>

* Add SLT asinh test in cpu/gpu plugin

Signed-off-by: Li, Tingqian <tingqian.li@intel.com>

* change `T` in the spec to *T*

Signed-off-by: Li, Tingqian <tingqian.li@intel.com>

* refector spec according to Cos

Signed-off-by: Li, Tingqian <tingqian.li@intel.com>

* Support element type of integral

Signed-off-by: Li, Tingqian <tingqian.li@intel.com>

* Add new cpp files into CMakeLists.txt

Signed-off-by: Li, Tingqian <tingqian.li@intel.com>
2021-07-08 07:18:09 +03:00
Ilya Lavrenov
35d9bd0f63
Removed NGRAPH_PYTHON_BUILD_ENABLE (#6556) 2021-07-07 21:23:36 +03:00
Evgenya Stepyreva
e9011a9536
ShapeOf Sub-Graphs Simplification (#6308)
* ShapeOf Sub-Graphs Simplification

* Removed graph visualization

* Review comment

* comments resolved
2021-07-07 18:12:14 +03:00
Andrey Sapozhnikov
86b97e0a74
[GNA] Functional test returned to the skip list due to instability (#6492) 2021-07-07 15:50:55 +03:00
Krzysztof Bruniecki
b48404cdf2
Gna split align convert to conv filter (#6347)
* Make unaligned split based on Conv instead of Affine

* Dump Gna2Tensor.Data pointer for debugging

* Apply suggestions from code review

* Reuse conv helpers

* Cleanup CNN fields

* Disable weights reducer on ConvolutionFilter
2021-07-07 15:27:00 +03:00
Victor Kuznetsov
4efe708023
Make DB query for MemCheckTests optional in precommit (#6526)
* add try/catch

* add error msg
2021-07-07 14:38:49 +03:00
Ivan Tikhonov
b64e146a90
Update Python API to use opset8 (#6535) 2021-07-07 12:45:56 +02:00
Mikhail Nosov
72a4d6d9d9
Leftover of PR #6508 - change PDPD_PYTHON_OK to paddlepaddle_FOUND (#6547) 2021-07-07 13:05:04 +03:00
Ilya Sharikov
aea105c14b
Remove resnet model for running CC test (#6439) 2021-07-07 12:55:28 +03:00