Commit Graph

4754 Commits

Author SHA1 Message Date
Roman Lyamin
6ecfbd47e3
[IE CLDNN] clDNNPlugin size fix (#7655) 2021-09-27 14:32:52 +03:00
Vladimir Gavrilov
1d3df63d64
Implement reference nGraph implementation for operation ExperimentalDetectronROIFeatureExtractor (#6484)
* Written reference implementation of the operation ExperimentalDetectronROIFeatureExtractor.

* Small fixes.

* Started to write tests for evaluation of the operation ExperimentalDetectronROIfeatureExtractor.

* Written test for evaluation of the nGraph operation ExperimentalDetectronROIFeatureExtractor.

* Some changes.

* Added debug prints to evaluates.map.

* Added more debug prints.

* Added another debug prints.

* Added more debug prints.

* Added more debug prints.

* Added more debug prints.

* Inserted additional static_casts.

* Added more static_casts.

* Commented some debug prints.

* Some reversion.

* Deleted some debug prints.

* Deleted some debug prints.

* Deleted more debug prints.

* Added some casts and debug prints.

* Some changes.

* Small changes.

* Some changes.

* Added png files.

* Small changes.

* Code style fixes.

* Code style fixes.

* Rewritten some auxiliary functions.

* Corrected the body of the function experimental_detectron_roi_feature_extractor().

* Some code style fixes.

* Code style fixes.

* Small code style fixes.

* Commented one debug print.

* Small changes.

* Added some debug print.

* Small changes.

* Added more debug prints.

* Small fixes.

* Added more debug prints.

* Commented some code.

* Indexing operation [] was replaced by .at() method in the function pre_calc_for_bilinear_interpolate().

* Deleted unneeded variables w1, w2, w3, w4.

* Deleted variable xx.

* Added GCC pragma before the function pre_calc_for_bilinear_interpolate().

* Fixes in macros.

* Fixed pragma before the function pre_calc_for_bilinear_interpolate().

* Deleted some debug prints.

* Deleted more debug prints and fixed some code style issues.

* Deleted redundant assert.

* Deleted redundant assert in the function split_points().

* Started to move tests for nGraph reference implementation of ExperimentalDetectronROIFeatureExtractor to template plugin.

* Enabled test INTERPRETER.onnx_model_experimental_detectron_roi_feature_extractor.

* Deleted backend tests for the reference nGraph implementation of the operation ExperimentalDetectronROIFeatureExtractor.

* Deleted commented code.

* Fixed typo.

* Some fixes.

* Some fixes.

* Some fixes.

* Some fixes.

* Some fixes.

* Renamed the function that calculates ROIAlign.

* Deleted redundant usings.

* Now input shapes are parameters of test.

* Small fix.

* Now element type is also test parameter.

* Deleted some commented code.

* Added test for float16 case.

* Small fix.

* Added test for bfloat16 case.

* Deleted redundant parameters of tests.

* Deleted commented code.

* Deleted redundant structure.

* Small fix.

* Some reverting.
2021-09-27 12:49:18 +03:00
Vladislav Golubev
7fa9bbf6fc
[LPT] Avoid using std::shared_ptr<Node> when creating a node (#7357)
* [LPT] Avoid using std::shared_ptr<Node> when creating a node

* [LPT] removed unused files

* [LPT] D2STransformation: transform & isPrecisionPreserved methods are moved to base class

* [LPT] Revert redundant changes
2021-09-27 11:50:17 +03:00
Irina Efode
818f385398
[IE TESTS] Add example for QueryNetwork in SLT (#7628)
* [IE TESTS] Add example for QueryNetwork in SLT

* Update mul_conv_fusion.cpp

* Skip

* skip[
2021-09-27 11:22:38 +03:00
Maxim Andronov
3bf34b1166
[CPU] fix cloneWithUndefStridesAndOffset and cloneWithDefaultStridesA… (#7542)
* [CPU] fix cloneWithUndefStridesAndOffset and cloneWithDefaultStridesAndOffset

* status fix

* applied comments after review 1

* strides compute was aligned and extracted

* review comments
2021-09-27 10:32:47 +03:00
Maxim Andronov
5166994750
[CPU] Supporting dynamism into Eltwise and Reorder (#7553)
* [CPU] Supporting dynamism into Eltwise and Reorder

* reference node fixes

* nms fixes

* part comment fixed

* review comments

* some changes for input node

* comments fix

* monir renaming
2021-09-27 10:06:09 +03:00
Ilya Lavrenov
e87cc3fa9e
Tensor API in ngraph (#7632)
* Added OpenVINO Tensor API

* Tensor API improvements

* Moved Tensor to ngraph

* Moved Tensor tests

* Fixed docs and code style

* Trying to fix Windows

* Fixed clang-format

* Moved Tensor to runtime namespace

* Fixed compilation

* Fixed clang-format

* Fixed tests in debug

Co-authored-by: apankratovantonp <anton.pankratov@intel.com>
2021-09-27 09:57:26 +03:00
Mingyu Kim
95f8544aa6
[GPU] Detect dpas support (#7643)
* Detect dpas support
* New debug flag DISABLE_ONEDNN is added
2021-09-27 05:38:57 +03:00
Wilson Seok
8262aed30c
Migrate ngraph backend test of arithmetic2 operations (#7500)
* Remove fp16 of Convert layer test from skip_tests.config.cpp as it works now

* update repo

* add sin asin template plugin reference test

* add cos template plugin reference test and remove asin/sin/cos ngraph backend test

* update CMakeList.txt

* add template plugin reference test for asinh, cosh, sinh, tanh

* remove ngraph backend test for asinh, cosh, sinh, tanh

* update CMakeList.txt

* add ngraph type prop test for tanh

* add ngraph visitor api test for asin, sin

* add atanh type in activation SLT

* remove boolean from sin/cos/tan/asin/sinh/cosh evaluate
2021-09-27 05:23:52 +03:00
Evgenya Stepyreva
ef028a567e
Convolution: fast shape inference (#7523)
* Convolution: fast shape inference

* StaticShape and StaticDimension + static shape infer time test in comparison to Convolution

* Review comments
2021-09-27 00:14:50 +03:00
Egor Duplensky
c92988c8e9
[CPU] Add OV_CPU_VERBOSE env var to print node exec info to cout (#6390) 2021-09-26 22:17:57 +03:00
Yuan Hu
b968c7b813
AutoPlugin: support performance Hint (#7621)
Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com>
2021-09-25 12:30:21 +03:00
Mikhail Nosov
4a49fb6e59
Fix potential UNITY build failures (ENABLE_FASTER_BUILD) (#7647)
When ENABLE_FASTER_BUILD is ON, source files are combined to batch for faster compilation.
However, when one source file uses "using namespace ngraph", and another has "using namespace ov" - then conflicts may occur depending on how sources were combined

This fix removes usage of "using namespace ov" from ngraph code to avoid such potential issues
2021-09-25 00:47:28 +03:00
Alexey Suhov
7320e9710a
Fix permissions for install_dependencies scripts after cmake install (#7659) 2021-09-25 00:16:51 +03:00
Pavel Esir
572ab040dc
[IE] fix printing dynamic signatures (#7620)
* [IE] fix printing dynamic signatures

* fixed printing scalars output dimensions as well

* turned off printing dynamic signatures
2021-09-24 18:50:35 +03:00
Alexander Zhogov
c0d4fe8e7e
Azure CI: Enable IB again (#7636) 2021-09-24 17:24:44 +03:00
Maxim Shevtsov
920e58caba
disabling tests for template plugin that fails due to missing impl (CVS-66280) (#7651) 2021-09-24 16:23:13 +03:00
Andrei Kochin
0efc1a0763
Replace 'quantized' with 'compressed' in MO help (#7607)
* Replace 'quantized' with 'compressed' in MO help

Signed-off-by: Andrei Kochin <andrei.kochin@intel.com>

* Add UG changes to reflect new help text

Signed-off-by: Andrei Kochin <andrei.kochin@intel.com>
2021-09-24 13:34:09 +03:00
Mikhail Nosov
ce9a229313
[OV20] NV12toRGB and NV12toBGR operations specification (#7595)
* [OV20] NV12toRGB and NV12toBGR operations specification

* Changed supported type to "`uint8` or any supported floating-point type"

* Apply suggestions from code review

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

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>
2021-09-24 13:02:15 +03:00
Vladimir Paramuzov
3eb1aa59de
[MULTI] Fixed devices comparison to respect default device id (#7311)
* [GPU] Fixed default device id

* [MULTI] Fixed devices comparison to respect default device id
2021-09-24 12:32:38 +03:00
Maxim Shevtsov
fdc125118e
Reverted to atomic flag on the load completion + GetGraph that will wait for graph to be loaded (as opposite to assuming it is loaded) (#7629) 2021-09-24 12:20:57 +03:00
Vladislav Volkov
f8618b75a9
benchmark_app incorrectly fills in the inputs for cached models (#7535) 2021-09-24 11:07:14 +03:00
Vladislav Volkov
002e68b535
Fix of deprecated function usage in ngraph::OpSet (#7637) 2021-09-24 10:56:05 +03:00
Ilya Churaev
d7570e7aad
Fixed KW (#7635) 2021-09-24 10:44:16 +03:00
Bartek Szmelczynski
f038fcf2bb
ScatterUpdate ng op shell revision (#7375)
* add visitors, type_prop tests, update ngrap op class

* update NGRPH_RTTI for scatter_update

* add proper formatting for error message

* update opset
2021-09-24 10:31:45 +03:00
Roman Lyamin
f202c45c46
[IE TESTS] Move locale test to shared folder (#7605) 2021-09-24 10:27:07 +03:00
Maxim Shevtsov
f2dda1bbca
Added new tests that config set via ie.SetConfig or LoadNetwork is returned via exe_net.GetConfig and align plugin impl to that (#7627) 2021-09-24 10:03:24 +03:00
Egor Shulman
95342de8c8
[CPU] Fixed failed tests (#6742) 2021-09-24 09:37:54 +03:00
Alexandra Sidorova
ae3e3af521
[CPU] Removed optimized out nodes from infer stage (#7440) 2021-09-24 09:31:41 +03:00
Vladislav Volkov
f8f6e57c39
[CPU] Fix for Int8 models serialization issues (#7554) 2021-09-24 09:24:35 +03:00
Anna Khakimova
3d07763835
Fix for int overflow (#7592) 2021-09-24 09:03:58 +03:00
Wilson Seok
b3050c268a
Migrate acos operation from ngraph backend test to template plugin reference test (#7461)
* Remove fp16 of Convert layer test from skip_tests.config.cpp as it works now

* update repo

* add acos in template plugin reference test

* Create visitor API test for target operation Acos-1

* remove acos backend test

* remove acos backend test

* add test casses of int ata type

* remove boolean from acos evaluate
2021-09-24 07:19:45 +03:00
Ilya Churaev
6159a5b0bc
New ov::Function API (#7436)
* Generates tensor names

* Implement function helpers for Inputs/Outputs

* Fixed code style

* Share result tensor and add more tests

* Avoid not unique tensor names

* Print tensor name

* Fixed comment

* Fixed matmul transformation

* Fixed function evaluate

* Fixed typo

* Fixed interpreter backend

* Fixed comments

* Removed tensor names check

* Disabled negative tests

* Fixed NetworkContext_CNNNetwork tests

* Fixed GNA tests

* Remove reset names

* Fixed code style

* Temporary disable names generation

* Revert "Temporary disable names generation"

This reverts commit 133315a611.

* Fixed mapping generation and e2e tests

* Fixe Myriad tests

* Introduce AtomicGuard to fix possible thread issues

* Fixed comments
2021-09-24 07:11:02 +03:00
Ilya Churaev
846c9c91f2
Fixed leftovers from PR #7288 (#7623) 2021-09-24 04:19:49 +03:00
Svetlana Dolinina
ed96cc7c1a
added Kaldi dropoutmask extraction (#7456)
* added Kaldi dropoutmask extraction and Kaldi lstmNonlinearity replacer extended for dropout case

(cherry picked from commit 0dd05f8053)

* fixed frame time calculation for Kaldi models with shapeof branches

* fix bug in frame time calculation for Kaldi models with shapeOf paths

* remove incorrect attribute from transformation

* refactoring based on review, couple more checks

* minor review fixes
2021-09-24 00:03:47 +03:00
Mikhail Nosov
531118c4b0
OV2.0 Preprocessing shared tests - initial version (#7568)
* Shared preprocessing tests for plugins.
Comparing inference with reference implementation

* Moved evaluate tests to template plugin

* Fixed clang-style

* CPU tests: Set IE precision manually in SetUp. Also allow rounding to integer mismatch

* Added acceptable threshold depending on particular test
2021-09-23 23:17:59 +03:00
Sergey Shlyapnikov
9c2b3f24a9
Fix benchmark_app build (#7577) 2021-09-23 18:42:19 +03:00
Vladimir Dudnik
6e95c96443
fix typo in NC layout description (#7622) 2021-09-23 17:13:57 +03:00
Ilya Lavrenov
84a07889f0
Added version information to OpenVINO Core (#7600)
* Added version information to OpenVINO Core

* Fixed code style

* Fixed Windows

* Fixed code style

* Fixed clang
2021-09-23 17:03:45 +03:00
Ilya Churaev
634759210f
Introduced OpenVINO RTTI and add version string to operations (#7288)
* Introduced OpenVINO RTTI and add version string to operations

* Fixed build

* Try to fix build

* Removed get_type_info_static

* Fixed tests

* Moved ov operations to new macros

* Fixed type_info_static

* Introduce new header only declaration

* Deprecate type_info static member

* Introduced OPENVINO_OPERATION macro

* Fixed ngraph lib with new RTTI

* Fixed unit tests

* Fixed code style

* Fixed VPU common

* Fixed all target for macOS

* Changed macto to OPENVINO_OP

* Changed cldnn

* Fixed typo

* Fixed some unit tests with old operations

* Fixed DiscreteTypeInfo

* Fixed type relaxed operations

* Fixed legacy tests

* Fixed naming style

* Fixed cpuTests

* Disabled deprecation to pass CI

* Added compatibility to internal operations

* Added BWDCMP for internal ops

* Deprecate type_info

* Fixed Slice RTTI

* Fixed Myriad

* Applied patch from PR 7573
2021-09-23 13:29:39 +03:00
Dmitry Kurtaev
fae40f3ef8
[Docs] Add PyPI downloads badge (#7610) 2021-09-23 09:30:57 +00:00
Ilya Lavrenov
7938c18b7c
Improved openvino runtime python wheel build (#7604)
* Proper dependencies for ie_wheel

* Used version information when building wheels
2021-09-23 10:41:57 +03:00
Ilya Lavrenov
bd29f64570
Build IR FE with plugins (#7593)
* Build IR FE with plugins

* Add paddlepaddle
2021-09-23 10:41:33 +03:00
Ilya Lavrenov
e253b5931c
Removed TensorDesc from OpenVINO Runtime API (#7587)
* Removed TensorDesc from OpenVINO Runtime API

* Fixed docs
2021-09-23 10:41:14 +03:00
Ilya Lavrenov
1390440256
Use jobs pool for PDPD model conversion as well (#7602)
* Revert "Combine all PDPD model generation scripts into one python command (#7349)"

This reverts commit 1eca8a6e49.

* Added jobs pool for PDPD model conversion

* Use jobs pool for PDPD model conversion as well
2021-09-23 10:40:55 +03:00
Xiake Sun
359cff31aa
Update git submodules with gitee mirrors in PRC network (#7441)
* Add script to redirect git submodules to gitee mirrors and updates these recursively for PRC developer

* Fix type, add comment for review finding

* Fix shellcheck findings
2021-09-23 10:40:23 +03:00
Ilya Lavrenov
ab34701590
Added OpenVINO runtime macro (#7586)
* Fixed typo

* Moved ie::Parameter to new API

* New OpenVINO API macro

* Used OpenVINO Plugin API for some plugins

* Used OPENVINO_RUNTIME_API

* Revert "Moved ie::Parameter to new API"

This reverts commit fef5e3b487.

* Fixed code style and docs

* Fixed compilation
2021-09-23 10:39:20 +03:00
Mateusz Bencer
fb11560b82
Implemented missing methods of ONNX Place API (#7518)
* Implemented get_consuming_ports, get_producing_operation and is_equal for PlaceOpONNX

* fixed unambiguous_node_check

* removed PlaceTensorONNX::get_input_port

* added PlaceOpONNX::is_input, PlaceOpONNX::is_output

* fixed python styles

* added get_consuming_operations implementation

* added missing get_consuming_operations for PlaceOpONNX

* added missing get_target_tensor for PlaceOpONNX

* changed place spec

* add support of get_source_tensor

* add support of get_producing_operation for PlaceOpONNX

* add support of get_producing_port for PlaceInputEdgeONNX

* fixed python styles

* missing ref in std::transform
2021-09-23 09:47:33 +03:00
Ekaterina Aidova
d7dfce2091
Update rnnt conversion instruction with named outputs (#7585)
* Update rnnt conversion instruction with named outputs

* fix missed comma

* Update docs/MO_DG/prepare_model/convert_model/pytorch_specific/Convert_RNNT.md
2021-09-23 01:05:11 +03:00
Alexey Lebedev
243028a408
Add create_encoder (#7566) 2021-09-22 22:23:39 +03:00