Commit Graph

4097 Commits

Author SHA1 Message Date
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
Luo Cheng
da8aeec07b
Reference implementations for MulticlassNms and MatrixNms ops (#6264)
* Reference implementations for MulticlassNms and MatrixNms ops

* fix name conflict

* remove unused var
sort_result_across_batch default set to false

* avoid float overflow

* fix clang check error

* info for mac fail

* change testcase due to unstable sort

* nms add 'normalized' attribute

* fixes: 1. normalized support. 2. sort by score before keep_top_k inside a batch.

* fix sort order in matrix_nms

* fix review comments

* use structure for attributes

* avoid centos gcc fail

* avoid centos gcc failed

* Update evaluates_map.cpp

header file alpha-beta order to avoid possible conflict in future.

* use pointer instead of HostTensorVector

* fix review comments

* fix review comments

* use reference pass parameter

* reuse rect,boxinfo,postprocess

* fix compiling fail

* fix review coments

* use TestCase instead Backend

* fix macos case failed

Co-authored-by: jialipen <cecilia.peng@intel.com>
Co-authored-by: Zhang Yi3 <yi3.zhang@intel.com>
Co-authored-by: yuvrgb <yuvrgb@outlook.com>
2021-07-07 11:19:49 +03:00
Ivan Tikhonov
85a5e9beb0
Deformable Convolution v8: transformations (#6533)
* add DeformableConv8to1 transformation

* update deformable conv v8 to v1 transformation

* Update inference-engine/src/transformations/src/transformations/op_conversions/convert_deformable_conv_v8_to_v1.cpp

Co-authored-by: Gleb Kazantaev <gleb.nnstu@gmail.com>

Co-authored-by: Gleb Kazantaev <gleb.nnstu@gmail.com>
2021-07-07 08:52:38 +03:00
Gabriele Galiero Casay
79f26cea7a
Revise BatchToSpace reference implementation (#6289)
* Add visitor unit test

* BatchToSpace operation class refactored

 * Add RTTI definiton/declaration
 * Add checks in validate_and_infer_types
 * Add input/output checks in evaluate method

* Add type_prop tests covering checks in validate_and_infer_types method

* Fix incorrect variable names to specify crops_begin and crops_end inputs

* Add backend tests

* Use array stl to handle batch to space inputs in type_prop tests

* Add more backend tests

* Clean up manifest

* Address review comments

* Add node validation check for out of bounds crops

* Add validation checks in evaluate method

* Add error message to ngraph checks

* Modify check for input rank to allow rank 4 or greater to align with spec and plugins impl
2021-07-07 08:37:58 +03:00
Edward Shogulin
0d69e7fea2
[nGraph] Visualize attribute custom values (#6529) 2021-07-06 20:35:50 +03:00
Ding Zhang
32897aba57
Fix deformable_convolution (#6393)
* Fix deformable_convolution

* Fix unused-variable

* Change a test case

* Change tests back and add single test case
2021-07-06 19:52:37 +03:00
Rafal Blaczkowski
e46969b4ce
Update jobs names (#6542) 2021-07-06 17:12:30 +03:00
song, bell
bee21b5c5b
revise atan op (#6288)
* revise atan op

* use parametrized vistor API

* use new gtest macros

* Update docs/ops/arithmetic/Atan_1.md

Co-authored-by: Gabriele Galiero Casay <gabriele.galiero.casay@intel.com>

* Update docs/ops/arithmetic/Atan_1.md

Co-authored-by: Gabriele Galiero Casay <gabriele.galiero.casay@intel.com>

* Update ngraph/core/src/op/atan.cpp

Co-authored-by: Gabriele Galiero Casay <gabriele.galiero.casay@intel.com>

* update doc to follow the rules

* create type_prop for atan

* drop op_eval to be covered in backend

* add the missing type prop case

* add integer type ref impl

* fix clang issue

Co-authored-by: Gabriele Galiero Casay <gabriele.galiero.casay@intel.com>
2021-07-06 09:45:18 +03:00
Mingyu Kim
e209a33fcc
[IE CLDNN] New debug_config: ShowOclBuildError (#6495) 2021-07-06 08:15:34 +03:00
Andrei Gorbachev
3fcc54a272
[IE CLDNN] Gather8 (#6430) 2021-07-06 08:12:34 +03:00
Anastasiya Ageeva
d830226d7e
Fixed CVS-58871 (#6518) 2021-07-05 21:53:06 +03:00
Tomasz Socha
8f18a4f49f
[nGraph] 🦒 Move ngraph dependencies to submodules (#6304)
* [nGraph] 🦒 Move onnx library to submodule

* [nGraph] 🦒 Move protobuf library to submodule

* [nGraph] 🦒 Move pybind11 library to submodule

* [nGraph] 🦒 Move ittapi library to submodule

* 🛠️ fix extraction of protobuf_VERSION

* Skip shellcheck for pybind11

* WIP I

* Fix condition in protobuf version comparison

* downgrade protobuf to 3.7.1

* Change location of submodules with configs

* Fix

* Update protobuf to v3.9.2

* FIX II

* Style

* FIX III

* switch to tar.gz
2021-07-05 20:06:10 +03:00
Ilya Lavrenov
2803c1b429
Removed debug print (#6504) 2021-07-05 20:05:23 +03:00
Andrey Somsikov
1ffc42ef43
Add ENABLE_UNDEFINED_BEHAVIOR_SANITIZER option (#6385)
Add a configuration for the UndefinedBehavior sanitizer, disabled by default.

Refactor sanitizer configuration to split options which are common across sanitizers.
Unify sanitizer runtime linkage accross sanitizers to use compiler default.
2021-07-05 18:53:11 +03:00
Ilya Lavrenov
8d85b580ed
Hot fix (#6527) 2021-07-05 18:05:52 +03:00
Karol Trzciński
a773c84c7d
fix typos in inference_engine (#6408)
Signed-off-by: Karol Trzcinski <karolx.trzcinski@intel.com>
2021-07-05 17:55:21 +03:00
Daniel Kiss
92cec2367b
Fix an initialization issue in ie_core_create (#6489)
* Fix InferenceEngine::Core initialization. Previously IE::Core was
  default constructed first, then overwritten by another instance.
  This causes problems if the library user attempts to opt-out of the
  default "plugins.xml" plugin loading mechanism.
2021-07-05 17:53:18 +03:00
Ilya Lavrenov
72db14bf6e
Added yocto toolchain (#6522) 2021-07-05 17:40:02 +03:00
Evgeny Kotov
30b4b4881e
GNA add RemoveExtraReshapes tranformation tests (#6461)
* add RemoveExtraReshapes transformation tests
* use clone function instead of creating reference function code duplicate
2021-07-05 16:17:54 +03:00
Bartosz Lesniewski
b231b2b576
Revise PriorBox op (#6363)
* Use ngraph rtti macros

* Check attribute count in visitor test case

* Add priorBox class for SLT

* Add priorBox SSLT

* Add CPU SLT

* moved type_prop tests to type_prop directory

* Add backend tests

* Add PriorBox to trusted ops list

* infer first dimension of size 2
2021-07-05 13:34:09 +03:00
Rafal Blaczkowski
07b0b4ea83
Update openvino-ngraph-onnx Azure check (#6497)
* Add Debug configuration

* Update with matrix

* Add 3 configurations

* Update names and remove Debug tests
2021-07-05 13:18:29 +03:00
Dmitry Pigasin
be947a0b5d
Update demo .bat scripts (#6096)
* Change the build dir for cpp samples

* Add info about `-sample-options` to the help message

* Use `python -m pip` instead of `pip3`

* Add the line of code to update pip

* Update help messages

* Add python venv creation

* Use `model-optimizer/requirements.txt` instead of `install_prerequisites.bat`

* [demo_benchmark_app.bat] Update the help message

* [demo_benchmark_app.bat] Add venv creation

* [demo_benchmark_app.bat] Replace model_optimizer prerequisites with the requirements.txt

* Change the venv location

* Remove the mention of FPGA from the help message

* Fix venv folder path

* Change venv folder to `venv_openvino`
2021-07-05 12:48:54 +03:00
Dmitry Pigasin
860896c4bb
Update demo .sh scripts (#6078)
* Remove sudo package installation from demo scripts

* Change the build_dir path (benchmark_app.sh, squeezenet_download_convert_run)

* Remove redundant pip_binary

* Revert 'inference_engine_samples_build' as the build folder for .bat

* Add check for python 3.8

* Update help messages

* Use `model-optimizer/requirements.txt` instead of `install_prerequisites.sh`

* Add `--user` for python package installation (demo_security_barrier_camera.sh)

* Add python venv creation

* Create venv in $HOME instead of $ROOT_DIR

* Make the step messages look the same as in the .bat scripts

* Make the same changes to demo_benchmark_app.sh as in other .sh scripts

* Remove a mention of FPGA from a help message

* Set venv folder to `venv_openvino`
2021-07-05 12:47:11 +03:00
Anton Chetverikov
8a31e8aafb
Provide keep_output_port attribute to add_opoutput function (#6117)
* Implement way to provide keep_output_port attribute to add_opoutput function

* Update tests

* Update comment

* Fake commit to pictures merge problem

* Change default value

* Add type

* Revert "Fake commit to pictures merge problem"

This reverts commit 41850765e0.
2021-07-05 12:34:44 +05:00
Polina Brzezinskaya
a65828c172
[IE][VPU] Support for constant networks (#6185)
Adds support for constant networks in the Myriad plugin
2021-07-05 10:26:34 +03:00