Commit Graph

4985 Commits

Author SHA1 Message Date
Luwei Zhou
c2512f8dc5
[shape_infer]Implement ExperimentalDetectronDetectionOutput shape infer. (#7903)
* Implement ExperimentalDetectronDetectionOutput shape infer.

Signed-off-by: Luwei Zhou <luwei.zhou@intel.com>

* Update on the review comments.

* Update based on review
2021-10-21 09:15:16 +03:00
Ilya Churaev
83fe59bd3e
Moved SO Loader to util library (#8017)
* Moved SO Loader to util library

* Removed redundant headers

* Fixed code style

* Fixed build

* Fixed templateFuncTests

* Removed SharedObjectLoader from util library
2021-10-21 06:47:48 +03:00
Ilya Churaev
0f3c10c810
Infer request api (#7962)
* Introduce new API

* Fixed comments

* Fixed code style

* Introduce some new API

* Fixed code style

* Reverted names

* Exend OVExecNetwork tests

* Changed executable network API

* Fixed tests

* Fixed comments

* Fixed style

* More tests

* Applied changes

* Fixed windows build

* Fixed typo

* Fixed some tests

* Fixed code style

* Fixed pre-proc tests

* Fixed documentation comments

* Added more comments

* Fixed code style

* Remove friend

* Removed find tensor API from internal classes

* Avoid old API in new constructors

* Fixed CPU tests

* Fixed comments

* Fixed template tests

* Extended test cases

* Revert data creation

* Fixed GNA and GPU plugins

* Fixed comments

* Fixed GNA tests

* Try to fix tests for GPU

* Fixed GNA tests

* Fixed GNA

* Try to fix Myriad tests

* Removed check to see an exception message

* Fixed HETERO import

* Reverted mkl-dnn submodule

* Fixed clang-format

Co-authored-by: y <ilya.lavrenov@intel.com>
2021-10-20 22:08:55 +03:00
Ivan Tikhonov
a9b773e4b2
[TF FE] Port Transpose Sinking transformation (#8043)
* TransposeSinking transformation

* Enable TransposeSinking

* apply codestyle

* Add unit tests
2021-10-20 20:31:32 +03:00
Yuan Hu
3a909a7f5f
replace AUTO_DEVICE_LIST with MULTI_DEVICE_PRIORITY in test cases (#7932)
* replace AUTO_DEVICE_LIST with MULTI_DEVICE_PRIORITY in test case

Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com>

* remove KEY_AUTO_DEVICE_LIST

Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com>
2021-10-20 19:44:58 +03:00
David Nam
eb7d7e4413
Migrate arithmetic1 to template plugin test (#8052)
* Migrate arithmetic1 to template plugin test

* Remove backend tests of arithmetic1
2021-10-20 19:16:51 +03:00
Ivan Tikhonov
5cd63f47e5
Fix TI Serialization for IR 11 (#7977)
* Fix TI Serialization for IR 11

* Enable TI Serialize tests with IR10
2021-10-20 16:30:22 +03:00
Ilya Sharikov
028d78a90f
Update paths to OMZ tools (#8072) 2021-10-20 14:39:28 +03:00
Mikhail Nosov
e976a221f5
[OV2.0 Preprocessing] NV12 ref implementation fixes + tests with legacy CNNNetwork (#7985)
* NV12 Ref impl: Align with Legacy NV12 conversion
Little-endian tricks are completely not needed finally

Basic tests of OV20 preprocessing vs Legacy preprocessing:
- Mean/Scale
- Resize (Linear vs Bilinear)
- NV12 color conversion

* Register Template plugin in legacy core before CNNNetwork compliance test
NV12: round to nearest integer for 'u8' mode
Fix preprocess-reference NV12 tests (swap U & V)

* Decreased default threshold and use random distribution for inputs generation

* Added tests RefImpl vs OpenCV - NV12 color conversion
Added CPU accuracy tests + nightly (including all RGB color combinations)

* Fix build issue after rebase

* Remove test code

* Fix comments
Disable OpenCV tests on CI (some machines can't load opencv_imgproc during test)
2021-10-20 13:39:46 +03:00
Anton Voronov
8280a1a045
[CPU] cleanup after oneDNN v2.3 migration (#7933) 2021-10-20 13:23:25 +03:00
Pavel Esir
9f64f77a3c
[MO] allow zero size dimensions in Slice output (#7791)
* allow zero size dimensions in Slice output

* updated comments regarding 0-size dimensions
2021-10-20 13:16:06 +03:00
Maxim Andronov
21090f47b2
[CPU] Reshape, Squeeze, Unsqueeze dynamic done (#7831) 2021-10-20 12:33:29 +03:00
Victor Kuznetsov
5628a51c1f
timeout changes (#8067) 2021-10-20 12:02:39 +03:00
Maxim Andronov
984fda6305
[CPU] Select dynamic done (#7818) 2021-10-20 11:38:48 +03:00
Wilson Seok
11ddd731b7
Migrate ngraph backend test/group convolution (#8089)
* Remove fp16 of Convert layer test from skip_tests.config.cpp as it works now

* update repo

* add op reference test of group_convolution and group_convolution_backpropdata

* update reference test of group_convolution/group_convolution_backpropdata and remove their ngraph backend test
2021-10-20 11:20:11 +03:00
Wilson Seok
132ae33de0
Migrate ngraph backend test/deformable convolution (#8045)
* Remove fp16 of Convert layer test from skip_tests.config.cpp as it works now

* update repo

* add initial version of op reference test of deformable convolution

* update reference test

* update reference test 2

* update deformable_convolution referencet est

* add deformable_convolution_opset8 op reference test

* update skip_test_config.cpp

* remove backend test and add visitor api test

* merge test code of deformable_convolution v1 and v8 in a single file

* merge deformable_convolition_opset8 of visitor api test into single file
2021-10-20 11:19:19 +03:00
Jan Iwaszkiewicz
17914d516a
[ONNX] QLinearMatMul (#7418)
* Add qlinear_matmul files

* Extend matmul helpers

* register op in bridge

* Add test for 2d

* newlines at end of files

* Codestyle changes

* Re-use of nodes inputs

* Remove xfails

* Register as set1

* reshape inputs as scalars

* remove fixed xfail issue residues

* update changes to fit the newest master

Co-authored-by: dkozykowski <dawid.kozykowski@intel.com>
2021-10-20 11:02:14 +03:00
Gleb Kazantaev
88f56669e2
Remove Provenance tags (#8101) 2021-10-20 10:28:58 +03:00
Ilya Lavrenov
4f203b9a2e
Fixed ENABLE_NCC_STYLE condition (#8092) 2021-10-20 09:01:59 +03:00
Kelvin Choi
c454e414bb
[GPU] Add unittests for fusing reorder bfyx to fsv32 (#8080)
Signed-off-by: Kelvin Choi <kelvin.choi@intel.com>
2021-10-20 13:57:18 +09:00
Mingyu Kim
a1c77879d5
[GPU] Select impl_type after layout propagation (#8054)
pooling layout is not chosen initially in reorder_inputs.
In that case, cldnn pooling is chosen instead of onednn.
2021-10-20 12:19:46 +09:00
hyunback kim
6a63cc1936
[GPU] Apply fusing/reshape changes into master. (#8002)
* [GPU] Apply fusing/reshape code into master.

Merge prepare_primitive_fusing, handle_reshape into master.

Signed-off-by: hyunback <hyunback.kim@intel.com>

* Apply code-review.

Signed-off-by: hyunback <hyunback.kim@intel.com>

* Apply code-review

Signed-off-by: hyunback <hyunback.kim@intel.com>
2021-10-20 09:08:39 +09:00
Roman Lyamin
03424849fb
[GPU] Add separate config for each device (#7421) 2021-10-19 16:51:38 +03:00
Xiping Yan
b7ccdf4490
Xp/fix jira 6671 atanh fail mac wins (#8058)
* tmp

* Fix atanh correctness test issue and veriyf pass.

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

* Only keep available input value for correctness test.

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>
2021-10-19 14:33:49 +03:00
Ilya Churaev
4964ec890c
Add add_output API for ov Function (#7980)
* Add add_output API for ov Function

* Fixed comments
2021-10-19 14:07:48 +03:00
Maxim Andronov
7ee322be90
[CPU] Eltwise node update and tests (#7892)
* [CPU] Eltwise node update and tests

* comments applied

* WA for setShape for TensorDesc with blocked layout
2021-10-19 13:33:15 +03:00
Anastasia Kuporosova
bfb092a6d6
[Python API] Remove pyngraph mark in ie python tests (#8013)
* [Python API] Remove pyngraph mark

* move ngraph import from test functions
2021-10-19 13:14:12 +03:00
Dmitry Pigasin
e3d5d4520f
[IE Sample Scripts] Change omz tool calls (#7717)
* Change omz tool calls in sample scripts (linux)

* Change omz tool calls in sample scripts (windows)

* Remove venv creation and /tools/model_optimizer/requirements.txt installation

* Remove `open_model_zoo/tools/downloader` from setupvars

* Remove `accuracy_checker` from setupvars

* Add error if omz tools are not installed

* Update scripts/demo/run_sample_benchmark_app.bat

Co-authored-by: Zlobin Vladimir <vladimir.zlobin@intel.com>

* Add check for all omz tools

Co-authored-by: Zlobin Vladimir <vladimir.zlobin@intel.com>
2021-10-19 11:49:42 +03:00
Krzysztof Bruniecki
feb7814a96
[GNA] Fix pooling output backward compatibility (#7889) (#7966)
* [GNA] Fix pooling output backward compatibility

* Apply review
2021-10-19 11:43:59 +03:00
Mateusz Tabaka
bcc1404c58
[ONNX] remove unnecessary nodes when handling Identity op (#8060) 2021-10-19 10:18:13 +02:00
Vladislav Golubev
c84db94697
[dynamism][CPU] MatMul transformations: dynamic shapes support (#7582)
* [TESTS] CPUUnitTests: unitTestUtils added to CMakeLists

* Reshape1D: functions moved to namespace

* [nGraph] PartialShape extending

* CPU specific transsformations for FullyConnected enabled to work with dynamic shapes

* [Transformations] FC transformations: dynamic shapes support

* [Transformations] FCBiasFusion: removed legacy check on bcast on weights

* [TESTS] FC transformations: tests

* [Transformations] SmartReshape: avoid tranformation utils methods

* codestyle fix

* codestyle fix

* [TESTS] MatMulTransformation tests: compilation error fix

* [CPU] FullyConnected: shape inference

* postreview fixes

* [CPU] FullyConnected: shape inference fix

* [nGraph] PShape dimensions insertion fixed

Co-authored-by: Stepyreva, Evgenya <evgenya.stepyreva@intel.com>
2021-10-19 10:59:29 +03:00
Mateusz Tabaka
18aaaa79a0
Disable StridesOptimization for shapes with dynamic spatial dimensions (#8065) 2021-10-19 10:15:17 +03:00
Luo Cheng
602fb74fe4
[PDPD Frontend] enable bicubic, trilinear, linear (#7731) 2021-10-19 08:48:26 +03:00
hyunback kim
88cab67833
[GPU] Add fused operation test for concat and pooling (#7900)
* [GPU] Add fused operation test for concat.

And fused test and enable post ops in concat onednn integration.

Signed-off-by: hyunback <hyunback.kim@intel.com>

* Add depence code when machine does not support imad.

oneDNN post operation has issue.

Signed-off-by: hyunback <hyunback.kim@intel.com>
2021-10-19 14:02:08 +09:00
Anton Pankratv
3f8856862d
Forbid typed data access and roi tensor creation for little bit types (#8007) 2021-10-19 04:53:33 +03:00
Ilya Lavrenov
00be1d5a15
Fixed byteSize for Blob / ov::Tensor (#7989) 2021-10-19 02:01:10 +03:00
Jan Iwaszkiewicz
78358bacb0
[PYTHON API] Expose ngraph bindings as part of openvino API (#8027) 2021-10-18 21:36:48 +02:00
Ivan Novoselov
cf52ba5c08
[CPU] Bug/custom_inplace_reorders/fix unit (#7222) 2021-10-18 18:31:23 +03:00
Mang Guo
ac9c2f19dc
[CPU] Register pass to remove unnecessary convert layers (#7642) 2021-10-18 15:28:47 +03:00
Steve Yoo
4c722e025b
Migrate ngraph backend test of condition operations (#7907)
* Add test cases for PReLU in cpu plugin

* For case when slope is vector

* Add Bucketize and NonZero template plugin reference tests

* Apply supported types for NonZero

* Edit float_t and double_t to float and double

* Edit std::vector<bool> to std::vector<char>
2021-10-18 13:20:09 +03:00
Ilya Lavrenov
62e631a2b2
Enabled HETERO:CPU with dynamic shapes (#8049) 2021-10-18 11:04:49 +03:00
Mingyu Kim
99544d2a43
[GPU] Improve opencl compile error message (#8032)
Show some details on error message by parsing "error" in the message.
2021-10-18 15:44:46 +09:00
Mingyu Kim
ae2913d3b5
Duplicated: OneDNN`s Convolutions and Deconvolutions support (#8029)
* [GPU] Fix incorrect reusage of OneDNN postops configurations

* [GPU] Add OneDNN's convolutions and deconvolutions support

* [GPU] Do not run fusing unittest when imad is not supported

Co-authored-by: Sergey, Shlyapnikov <sergey.shlyapnikov@intel.com>
2021-10-16 17:24:44 +09:00
Ilya Lavrenov
b2977632d7
Fixed copy-paste in docs (#8046) 2021-10-15 19:53:16 +03:00
Pavel Esir
f661133242
[MO] fixed dealing with None in then/else branches of Select (#7465)
* fixed dealing with None values in then/else branches of Select

* generalized solution when condition is non one elemental

* fix when both branches are None

* minor corrections

* rewritten Select unit-tests; fixed for condition with [True] mask

* removed mutable default arg from build_graph, added a few more test cases with masked condition, other minor corrections

* corrected output_shape calculation when broadcasting is off

* layer tests fixed: relaxed assert for condition shape to let pass TF Select

* corrected shape calculation when condition is not elementwise equal, calculated calculation for TF, corrected calculation of shape when values are not set

* fixed a typo for Select from TF Where
2021-10-15 18:51:52 +03:00
Egor Duplensky
5b075d8575
[CPU] Enable back INT32 for MatMul (#7898)
- Also enabled ngraph onnx matmul integer tests
2021-10-15 18:05:23 +03:00
Alexander Kozlov
bbeec714aa
Moved Post-training Optimization Tool to open-source (#7940)
* Moved POT to opensource

* Added OMZ as a submodule

* Exclude OMZ from ShellCheck
2021-10-15 16:35:35 +03:00
Polina Brzezinskaya
2e4514b4df
[IE][VPU] Fix scaling preprocessing in myriad plugin (#7769)
This pr fixes scaling preprocessing implementation in MYRIAD plugin
2021-10-15 16:18:56 +03:00
Ilya Znamenskiy
2079563e4d
[GPU] Deleted OpenCL max WGS limitation (#7107) 2021-10-15 15:06:16 +03:00
Anton Chetverikov
e034a072ea
[MO] Fix NMS 3rd output shape (#7992)
* Fix NMS 3rd output shape

* Add tests for NMS_5 shape infer

* Add comments, fix codestyle
2021-10-15 14:44:08 +03:00