Commit Graph

4248 Commits

Author SHA1 Message Date
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
Szymon Irzabek
0dfe44e465
[GNA] Add transformation of padded to valid convolutions (#6149)
* [GNA] Add transformation of padded convolutions to valid ones

* [GNA] Switch to ngraph matcher pass

* [GNA] Apply review changes

* [GNA] Simplify padding calculation algorithm, fix MaxPool detection, review fixes.
2021-07-02 10:30:40 +03:00
Ilya Lavrenov
0c4c57db27
Improvements in Blob API (#6490) 2021-07-02 10:02:52 +03:00
Andrey Babushkin
38d8cc2112
Revert "[GNA] Passed functional tests removed from the skip list (#6400)" (#6491)
This reverts commit 5323200110.
2021-07-01 23:27:54 +03:00
Vladislav Volkov
94ee9ab7c3
nGraph and CPU plugin opset rtti (#6445) 2021-07-01 21:28:16 +03:00
Victor Kuznetsov
267f9a3b77
Skip test_lstm_simple_precommit on gpu (#6293)
* skip test on gpu

* try to set timeout

* add timeout param

* rename to infer_timeout

* fix infer_timeout
2021-07-01 20:25:27 +03:00
Vitaliy Urusovskij
31907e51e9
Fixed several issues in time_tests (#6481)
* Fixed return in `run_timetest`

* Fixed `parse_stats()` argument type notation

* Pass message from `timetest` exe to test error msg to be uploaded to DB
2021-07-01 16:37:23 +03:00
Vladimir Gavrilov
1d7f81c108
Implement reference nGraph implementation for operation ExperimentalDetectronGenerateProposalsSingleImage (#5881)
* Written header file for the nGraph reference implementation of the operation ExperimentalDetectronGenerateProposalsSingleImage.

* Small fixes.

* Started to write cpp-file for the nGraph reference implementation of the operation ExperimentalDetectronGenerateProposalsSingleImage.

* Written the postprocessing function for the nGraph reference implementation of the operation ExperimentalDetectronGenerateProposalsSingleImage.

* Code style fixes.

* Started to write calculations of the nGraph reference implementation of the operation ExperimentalDetectronGenerateProposalsSingleImage.

* Written the helper function refine_anchors().

* Written the helper function unpack_boxes().

* Small fix.

* Code style fixes.

* Written calculations of the nGraph reference implementation of the operation ExperimentalDetectronGenerateProposalsSingleImage.

* Code style fixes.

* Fixed type of one argument of fill_output_blobs().

* Code style fix.

* Written evaluate() for the operation ExperimentalDetectronGenerateProposalsSingleImage (in evaluates_map.cpp).

* Deleted redundant 'using' for typedef.

* Continued to write tests for ExperimentalDetectronGenerateProposalsSingleImage evaluation in the nGraph reference implementation.

* Fixed the reference implementation of the operation ExperimentalDetectronGenerateProposalsSingleImage.

* Deleted commented code. Code style fixes.

* Code style fix.

* Deleted debug prints in the test for an evaluation of the nGraph operation ExperimentalDetectronGenerateProposalsSingleImage.

* Enabled ONNX Importer test for the operation ExperimentalDetectronGenerateProposalsSingleImage.

* Enabled some test.

* Small fix.

* Now postprocessing of the nGraph reference realization of the operation ExperimentalDetectronGenerateProposalsSingleImage throws exception when input data type is not supported.

* Code style fix.

* Written yet another  test for the nGraph reference implementation of the operation ExperimentalDetectronGenerateProposalsSingleImage.

* Reused ProposalBox type from the reference implementation of the operation Proposal.

* Added check for the attribute post_nms_count in the operation ExperimentalDetectronGenerateProposalsSingleImage evaluation.

* Small fixes.
2021-07-01 14:42:51 +03:00
Maksim Derbasov
98e6653aaf
check all symbols in dload, not lazy (#6381) 2021-07-01 14:22:04 +03:00
Mateusz Tabaka
a54b82323a
Add HSigmoidFusionWithClampDiv fusion and remove duplicated patterns … (#5665)
* Add HSigmoidFusionWithClampDiv fusion and remove duplicated patterns in HSwishFusion

* use latest opset
2021-07-01 13:30:58 +03:00
Bartosz Lesniewski
520a6bd647
Revise PriorBox Spec (#6364)
* Revise PriorBox spec

* Tex cosmetics

* use backticks for attr types, add types section

* Add missing default values for optional attributes

* Remove redundant sentences in attr descriptions, add clip to detailed description
2021-07-01 13:11:36 +03:00
Mateusz Bencer
a32513f78d
[ONNX] Handle const scalar during unsqueeze (#6323)
* handle scalar during unsqueeze

* info about reverting

* use get_constant_from_source

* evaluate unsqueeze in onnx slice
2021-07-01 12:26:31 +03:00
Andrey Sapozhnikov
5323200110
[GNA] Passed functional tests removed from the skip list (#6400)
* Passed GNA functional tests removed from the skip list
2021-07-01 12:02:49 +03:00
Mikhail Nikolskii
1d4107bfcd
Avoid OpenCL linkage for app using make_shared_blob_nv12 (#5964)
* Update gpu_context_api_va.hpp

* Update gpu_context_api_dx.hpp
2021-07-01 10:35:44 +03:00
Mikhail Nosov
ae624ea18a
[MO] Fix showing graceful error message when no ngraph case (#6379)
* [MO] Fix showing graceful error message when no ngraph case

Move frontend-related imports inside appropriate functions
And use try/except if import fails to show graceful error message

* Revert "[MO] Fix showing graceful error message when no ngraph case"

This reverts commit 72d52bd946.

* Print error before running of subprocess if IE or nGraph Python API is not found

* Added pytest to requirements_dev.txt

* Fixed review comment
2021-07-01 09:49:18 +03:00
Ilya Lavrenov
dd2ea02d3a
Fixed ngraph unit tests in Debug (#6470)
* Added compile_tool to PATH

* Installed benchmark_app

* Fixed ngraph unit tests in Debug

* Install of VPU_FIRMWARE to <root>/tests folder

* Conditional installation of benchmark_app
2021-06-30 20:57:01 +03:00
Piotr Szmelczynski
6d5e6de895
Revise cos (#6429)
* Update docs

* create type_prop test for cos

* Create visitor test foor cos

* add RTTI macro

* Create separate ref impl for integer input

* add cos to SLT integer activation type

* add backend test for int input

* add cos to constants.py

* style apply

* fix spec

* add ngraph check for outputs and inputs

* fix inputs ngraph check

* remove unnecessary includes

* style dix
2021-06-30 18:46:11 +03:00
Artyom Anokhov
7720bde7ac
setupvars: Added OMZ downloader to PATH & PYTHONPATH (#6440) 2021-06-30 18:23:59 +03:00
Ilya Lavrenov
07f94ea602
Minimized usage of IE_MAIN_SOURCE_DIR (#6422)
* Minimized IE_MAIN_SOURCE_DIR hardcode

* Used COMPILE_OPTIONS instead of COMPILE_FLAGS

* Fixed compilation

* Enabled NGRAPH_DYNAMIC_COMPONENTS_ENABLE by default

* Fixes

* Moved GNA related file

* Fixed backend compilation

* Fixed Windows for ngraph

* Fixed <root>/tests build

* More updates

* Fixed scripts install

* Fixed Windows

* Fixed Windows
2021-06-30 18:15:41 +03:00
Dmitry Pigasin
5c711cf8bb
[samples] Fix other language realization links (#6463) 2021-06-30 16:50:23 +03:00
Dmitry Pigasin
37a2bab747
[samples] Use ref for validated model field (#6468) 2021-06-30 16:48:32 +03:00
Pavel Esir
50a9ea0b14
[doc] Corrections for Yolo V1 and V2 conversion (#6283)
* added corrections for Yolo V1 and V2

* changed order of conversion commands : v1 goes first general last

* aligned line endings

* added commit hash
2021-06-30 15:22:31 +03:00
Ewa Tusień
9d93c09e24
[ONNX] Set configuration for NEAREST interpolate mode (#6413) 2021-06-30 12:07:15 +02:00
Victor Kuznetsov
a1eb5b1fd5
Change target branch field (fix null) (#6433) 2021-06-30 12:53:17 +03:00
Bartosz Lesniewski
5e501ff614
Revise NonZero op (#5909)
* Use ngraph rtti macros

* add visitor test

* add visitor test cases to cover all possibilities

* add boolean case to type prop tests

* add boolean type to sslt

* add nonzero to trusted op list

* multiply dimensions when input shape is dynamic

* Add and disable cpu instantiations of slts

* Add missing coma in skip tests config for cpu

* Fix expected output shapes in type prop testcases

* add partialshape input cases to type prop tests
2021-06-30 12:35:19 +03:00
Vladimir Paramuzov
9439d3b74e
[IE CLDNN] Added simple locale test (#6411) 2021-06-30 12:17:43 +03:00
Alexander Zhogov
37e66425db
Azure CI: Disable failed UT GRUSequenceCommonZeroClip (#6459) 2021-06-30 11:32:53 +03:00
Ilya Lavrenov
db0145be1e
Proper location for IRv7 reader unit tests (#6444) 2021-06-29 21:50:56 +03:00
Alexey Suhov
2c9eb6d89b
[README.md] change latest release to 2021.4 2021-06-29 21:48:22 +03:00
Krzysztof Bruniecki
23098d32a8
Clean up cnn 1D pooling size computation (#5950) 2021-06-29 19:41:08 +03:00
Evgeny Kotov
124f438b4a
GNA add InsertTransposeBeforeMatmul unit tests (#6421)
- create dir inference-engine/src/gna_plugin/transformations
- add tests insert_transpose_before_matmul.cpp
2021-06-29 18:08:46 +03:00
Irina Efode
1ca53717fb
[IE TESTS] Add exception handling in merge_xmls script (#6442) 2021-06-29 17:03:06 +03:00
Krzysztof Bruniecki
4161bb7fa2
[GNA] Use stride instead of window for pooling (#5946)
* Use pool stride instead of window size where applicable

* Add test for pooling stride not equal to wnd

* Add more tests and cleanup

* Fix SW_FP32 legacy cnn

* [WIP] Refactor CNN1D

* Remove unused (commented out) code

* Add tests
2021-06-29 16:53:13 +03:00