Commit Graph

4080 Commits

Author SHA1 Message Date
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
Bartek Szmelczynski
13de29db97
Revise sinh (#6432)
* update sinh spec

* add rounding for integral type

* refactor ngraph sinh class, add backend, visitors and type_prop tests

* refactor backend test for int32, remove redundant includes, refactor spec, add SLT for ints

* fix style

* add sinh to list of trusted ops

* re-add Sinh to int SLT

* update python modules

* revert update of python modules, and fix the depracated typed_test formula

* fix deprecated typed_test formula
2021-07-05 10:11:02 +03:00
Ilya Lavrenov
50c73e6914
Allow aliased targets for apiValidator check (#6508) 2021-07-05 09:48:05 +03:00
Patryk Elszkowski
d4c2b27100
Space to depth - refactor reference implementation (#6374)
* extract SpaceToDepth implementation from op class to reference file

* move backend test from fused_op.in.cpp to space_to_depth.in.cpp

* Cleanup reference implementation

* Extend SpaceToDepth backend tests

* add SpaceToDepth to verified ops
2021-07-05 09:00:49 +03:00
Maxim Vafin
f1af26dbaf
Add adaptive pool reference implementation (#6317)
* Add adaptive pool reference implementation

* Add forgotten files

* Fix codestyle

* Disable tests

* Add more tests

* Fix build

* Fix comments

* Remove CoordinateTransform usage from AdaptiveAvgPool

* Fix build

* Refactor AdaptiveMaxPool

* Fix codestyle

* Apply review feedback

* Simplify if statement
2021-07-05 08:36:27 +03:00
Ilya Churaev
fea3ada931
Deprecate coordinate transform (#6425)
* Deprecate coordinate transform

* Fix Windows build

* Deprecated index
2021-07-05 08:24:39 +03:00
Alexey Suhov
64cbdb9c22
[MO] exclude MO build artifacts and add unit_tests to cpack (#6507) 2021-07-03 16:50:26 +03:00
Ivan Tikhonov
033274c141
Deformable convolution v8: ngraph part (#6443)
* Deformable convolution: ngraph part

* fix docs

* add visitor api tests

* apply review remarks
2021-07-02 19:31:09 +03:00
Gabriele Galiero Casay
9d9bba62a4
SLTs for BatchToSpace operation (#6417)
* Add Serialization SLT for BatchToSpace operation

* Add operation to list of trusted ops

* Refactor SLTs and extend test cases coverage
2021-07-02 19:07:51 +03:00
Patryk Elszkowski
06013d1596
SpaceToDepth update spec (#6426)
* SpaceToDepth update spec

* fix T to be italic

* add spaces around `/`

* fix **Required.**
2021-07-02 18:22:46 +03:00
Evgeny Lazarev
21d060ac2b
Updated conversion of TF OD API 2.4 SSD models (#6473)
* Updated conversion of TF OD API 2.4 SSD models

* Fixed issue when more Conv2D nodes were selected for weights permutation when converting TF OD API models

* Code style fixes

* Fixed code comments
2021-07-02 17:35:59 +03:00
Ilya Lavrenov
8cc1737b5d
Removed EXPORT_DEPENDENCIES from addIeTarget (#6502)
* Added pugixml as submodule

* CVS-34900: updated pugixml to v1.11.4

* Fixed link with pugixml

* USe pugixml::static

* Try to fix bug

* Removed GITHUB_PULL_REQUEST

* Replaced  OpenVINO_MAIN_SOURCE_DIR -> OpenVINO_SOURCE_DIR

* Removed some usages of IE_MAIN_SOURCE_DIR

* Use ngraph target directly

* Removed EXPORT_DEPENDENCIES
2021-07-02 17:17:44 +03:00
Ivan Tikhonov
00c8ccc9b5
Update LowLatency2 documentation (#6266) 2021-07-02 15:14:40 +03:00
Patryk Elszkowski
de53c40578
bulk change type T to type *T* in spec (#6486)
* bulk change `type T` to `type *T*` in spec

* update all `T` which referee to type to use *T* pattern

* get back with `T` where T is dimension

* fix *T*1 -> *T1*

* Make italic types where was no formating
2021-07-02 13:51:00 +03:00
Svetlana Dolinina
ccf786438b
Kaldi priors (#6258)
* add priors to loader and counts transformation

* fixes in select insertion for case with context gathering - LSTM - context gathering
fix for edge parallel to ReadValue
extend counts option to case of priors inside mdl model file

* fixed tests

* fixed typo

* fixed issue with input names

* fix priors loading + comments

* fix e2e test: error with not found transformation

* print debug info for dependency graph - should be reverted

* should be reverted: debug commit

* Revert "fix e2e test: error with not found transformation"

This reverts commit 8320fa99bf.

* revert debug commits

* fixes after review

* review fixes

* review change

* review changes
2021-07-02 15:18:23 +05:00
Ilya Lavrenov
fc7f80a34e
CVS-34900: updated pugixml to v1.11.4 (#6301)
* Added pugixml as submodule

* CVS-34900: updated pugixml to v1.11.4

* Fixed link with pugixml

* USe pugixml::static

* Try to fix bug

* Removed GITHUB_PULL_REQUEST

* Replaced  OpenVINO_MAIN_SOURCE_DIR -> OpenVINO_SOURCE_DIR

* Removed some usages of IE_MAIN_SOURCE_DIR

* Use ngraph target directly
2021-07-02 11:36:31 +03:00
Dmitry Pigasin
0c8147fdf8
[IE Python Samples] Add a check for existence of output images (#6319)
* Add a check for existence of output images

* Change log messages to pass sample tests
2021-07-02 11:24:00 +03:00
Ilya Sharikov
c2e4e64079
Updated path of the executable binary for the Python interpreter (#6494) 2021-07-02 10:53:46 +03:00