Commit Graph

4996 Commits

Author SHA1 Message Date
Mikhail Nosov
d39fe50470
[OV20] Preprocessing: reverse_channels and RGB<->BGR conversion (#8098)
* Initial draft

* Support of dynamic shapes
2021-10-21 11:22:43 +03:00
Vladislav Golubev
55a0e8332b
[dynamism][CPU] Reshape1DOps transformation: dynamic shapes support (#7307)
* [CPUTransformations] Reshape1DOps: dynamic shapes support

* [TESTS] Reshape1DOps tests

* Reshape1D: functions moved to namespace

* postreview fixes

* postreview fixes

* [CPU] Reshape1DOps: reshapes with shapeOf->gather sequences is replaced by unsqueeze/squeeze
2021-10-21 11:15:23 +03:00
Ilya Lavrenov
1b1e0e7553
preparation for static compilation (#8099)
* 1. Removed explicit SHARED from libraries
2. Fixed double definition for ie_layer_validators

* Fixed SEG in unit-test: order of initialization for global vars

* Added an ability to find plugins.xml from static IE

* Fixes in unit-test

* Migrated to new macro for import / export

* Minimized number of custom dllexport

* Don't use IR v7 for static libraries

* Revert for merge

* Don't enable tests with dlopen for static libraries

* Code style

* Added condition for export

* Revert format_reader

* Removed forward decalaration with external linkage

* Fixed IE linkage on Windows

* Reverted back 2 flags
2021-10-21 10:56:06 +03:00
Vladislav Golubev
0cf8d18988
[CommonOptimizations] SimplifySecondInputOfReshape transformation (#7412)
* [CommonOptimizations] SimplifySecondInputOfReshape implementation

* postreview fixes

* review comments fixed
2021-10-21 10:49:42 +03:00
Vladimir Paramuzov
6f754052cf
[GPU] Extended remote context to accept user queue (#6235)
* [GPU] extended remote context to accept user queues for each stream

* [GPU] OV2.0 API for queue sharing. Removed deviceName arg for context creation
2021-10-21 10:45:25 +03:00
Gleb Kazantaev
f8439eeed8
Update Transformations tests to check tensor and node names (#8100)
* Check tensor names in pass tests

* Update Transformations tests to check tensor and node names

* Check input node names; default TENSOR_NAMES comparison; fix transformations to keep node names
2021-10-21 10:41:37 +03:00
Vladislav Golubev
243efa465e
[Transformations] FCTransformations: leftovers (#8062) 2021-10-21 10:38:14 +03:00
Mingyu Kim
cb26462288
Reshape activation zero points tensor to one element tensor. (#8105)
Co-authored-by: Jade Cho <jade.cho@intel.com>
2021-10-21 16:26:49 +09:00
Dawid Kożykowski
64340ec2fc
[ONNX] ConvInteger (#8042) 2021-10-21 08:58:20 +02:00
David Nam
e9777a6da0
Migrate range1,4 to template plugin test (#8023)
* Migrate range1,4 to template plugin test

* Fix cpplint issue

* Return NULL in default case in range test

* Fix cpplint error
2021-10-21 09:27:56 +03:00
David Nam
f80005f513
Migrate arithmetic2 to template plugin test (#8053) 2021-10-21 09:27:06 +03:00
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