Compare commits

..

402 Commits

Author SHA1 Message Date
Andrei Molotkov
d5b74b0c6b [GPU] Fix redefinition variables issue in ExperimentalDetectronROIFeatureExtractor kernel (#9960) 2022-01-31 20:19:16 +03:00
Nadezhda Ageeva
a7910b8869 [GNA] Support new configuration API (#9955)
* [GNA] Support new configuration API

* Review comments: description fixes

* Review comments
2022-01-31 18:48:18 +03:00
Gleb Kazantaev
6dea8d3d86 Update replace_output_update_name method (#10000)
* Update replace_output_update_name method

* Remove wrong legacy test
2022-01-31 18:06:05 +03:00
Lidia Toropova
2f0bcc8542 Moved stress tests to OV API 2.0 (#9791)
* Moved stress tests to OV API 2.0

* Fix for using ouput index instead of get_index

* Removed ov::runtime namespace in stress tests

* Updated stress tests according to latest changes in OV 2.0

* Fix memleaks tests

* Updated run_memcheck.py to process gtest_filter

* Updated fillTensors, added InferAPI1 and InferAPI2 classes

* Updated test_inference_with_streams

* Updated isImage, comments

* Updated fillTensors to fill image_info inputs with positive pseudo-random numbers

* Removed redundant variable in fillTensors
2022-01-31 17:07:25 +03:00
Alexandra Sidorova
252b7d4728 [Benchmark] Fixed preprocessing inputs (#10022) 2022-01-31 17:05:44 +03:00
Anton Dudchenko
89b88af28d [VPU] Rename INTEL_VPU to INTEL_MYRIAD, move thirdparty and vpu_dependencies (#9827)
* Rename INTEL_VPU to INTEL_MYRIAD, move thirdparty and vpu_dependencies

* Fix thirdparty

* Rename HDDL

* Remove unused files

* Fix HDDL

* Add path to mvnc

* Fix installation on Linux

* Remove thirdparty dir from codeowners

* Move new files

* Remove IE_MAIN_SOURCE_DIR dependencies

Co-authored-by: Maksim Doronin <maksim.doronin@intel.com>
2022-01-31 16:58:33 +03:00
Szymon Irzabek
4eac21e7c0 [GNA] Fix handling reshapes around matmul with 3D/4D Add layer (#9900) 2022-01-31 16:44:35 +03:00
Vladislav Golubev
43130622d3 [Transformations] Convert TI to sequences: dynamic case fix (#9742)
* Convert TI to sequences: dynamic case fix

* tests corrected
2022-01-31 16:37:15 +03:00
Evgenya Stepyreva
cf4d4db4c7 Option not to track dimensions down (#10019) 2022-01-31 16:09:32 +03:00
Anton Pankratov
29d103087a Aggregating plugins use single config value to pass device list (#9379)
* Aggregating plugins use single config value to pass device list

* format fix

* fixed build

* Fixed tests

* Fixed test

* fied build
2022-01-31 15:43:32 +03:00
Alexey Lebedev
495931673d [PYTHON API] fix request busy using AsyncInferQueue (#10020)
* Add request.wait() call to get_idle_request_id and wait_all()

* rethrow exception on default callback

* update comment

* fix code style
2022-01-31 15:30:04 +03:00
Egor Shulman
b56fd07169 [CPU] Fixed data storing for AVG Pooling with PostOps on avx2 (#9325) 2022-01-31 14:36:18 +03:00
Indira Salyahova
6145cb736e [POT] Update patterns with transpose (#9555)
* fix: update pot patterns with transpose

* add tests

* delete tests

* updatereference metrics tf model

* Update test_sanity.py
2022-01-31 14:30:28 +03:00
Mikhail Letavin
70987e327a [GPU] Remove potentially unsafe references to temporary objects (#9959) 2022-01-31 14:22:59 +03:00
Ilya Sharikov
56f2bc2f12 Add support api 2.0 to layer_tests (#9814)
* Add support api 2.0

* Upd imports

* Update onnx_tests

* Upd tenserflow_tests

* Fix test_split_concat.py

* Fixed comparing
2022-01-31 13:15:30 +03:00
Ilya Churaev
0a2c0e1539 Fixed coverity issues (#10014) 2022-01-31 12:51:52 +03:00
Wang, Yang
80d70dd438 Ywang2/update auto configuration api (#9977)
* Update AUTO OV 2.0 c++ configuration API.

Signed-off-by: ywang2 <yang4.wang@intel.com>

* Support the OV 2.0 key to set model priority and add the test case to verify the prioirty map logic within AUTO plugin.

Signed-off-by: ywang2 <yang4.wang@intel.com>

* Replace the old model priority key and add the corresponding test case.

Signed-off-by: ywang2 <yang4.wang@intel.com>
2022-01-31 16:24:46 +08:00
Nikolay Shchegolev
7d173eb354 [CPU] RNN, GRU, LSTM Sequences batch 1 tests failure. (#9719) 2022-01-31 11:21:39 +03:00
Mikhail Nosov
4e4b04bbd3 LSTMSequence/GPUSequence - fix validate_and_infer_types (#9996)
* Fix LSTMSequence/GPUSequence validation behavior consistent with RNNSequence

Fixed issue with no exception if num_directions=2, but 'm_direction' is not set to BIDIRECTIONAL. Previously there was no error with this (and luckily it failed later in some CPU transformations during compile_network)

Corrected several tests which use copy-pasted num_directions=2 without m_direction set
Also for dynamic 'num_directions' - output shape still has 1 or 2 directions, because m_direction is known. Tests for GRU/LSTM are updated for this
Also several tests worked incorrectly for LSTMv0 - expectation was specific error to be thrown, but no expection was also allowed

* Fixed clang-format
2022-01-31 08:24:43 +03:00
Tomasz Dołbniak
351c84e6e4 TestCase class fix (#10011)
* Store the expected output data in the TestCase class

* Skip the failing ONNX If tests

* Disable failing ONNX Softmax tests

* Disable the remaining failures
2022-01-31 08:11:18 +03:00
Chen Xu
49a01bf9fc [CPU] Fix bug concerning model accuracy in Reduce node (#9929) 2022-01-30 17:36:36 +00:00
Chen Xu
cc5d30b26c [CPU] Fixed TopK node optimization leftovers (#9862) 2022-01-30 19:11:47 +03:00
bell
aaf02ab4c7 modify optimal request num(add a multiplexer) (#10004)
* muliply the request# by 2

Signed-off-by: fishbell <bell.song@intel.com>

* modify case

Signed-off-by: fishbell <bell.song@intel.com>
2022-01-30 16:43:41 +03:00
Smirnov Grigorii
f424d2d8ae Split transformations tests src to match IE transformations library structure (#55385) (#9949)
* refactor transformations directory

* create offline_transformations directory
2022-01-29 15:38:19 +03:00
Mikhail Nosov
2b87f000ed ROI tensor support for Template plugin (#9914)
* ROI tensor support for Template plugin + tests for Template and CPU plugins

GPU doesn'tsupport ROI tensors, so tests were not added for GPU

* Added asserts for unsupported mixed axis order (like 0,3,1,2), and unsupported types like int4/int2 for ROI tensors
2022-01-29 10:52:52 +03:00
Edward Shogulin
1176b0f1f9 [LPT] MoveFakeQuantize parent output fix & refactoring (#9872)
* [LPT] MoveFakeQuantize parent output fix & refactoring

* [LPT] tests extending
2022-01-29 10:04:07 +03:00
Katarzyna Mitrus
e3ec1ac9b3 Allow duplicated outputs in ie_plugin_internal (#9882)
* Avoid duplicated outputs with the same name

* Revert onnx graph changes

* Allow output duplicates in ie_plugin_internal check

* Add test with onnx model

* Check get_tensor_ptr instead of any_name

* More outputs test

* Refactor to use std::transform

* test manifest update

* Remove redundant header

* INTERPRETER segfaults fix for duplicated output names

* Simplify duplication assert

* Update test names

* Test update
2022-01-29 02:58:09 +03:00
Egor Duplensky
9cb6626ffd [CPU] Fix FullyConnected node for strided inputs and outputs (#9575)
FullyConnected node cannot work with strided inputs (for example
inplace descs) because it implicitly reshapes input and output tensors.
2022-01-28 22:20:09 +03:00
Maxim Andronov
b5ea943267 [CPU] MatMul dummy shapes creation fixed (#9858) 2022-01-28 21:21:02 +03:00
Anton Chetverikov
97a78d0059 [MO] EmptyTensorList transform (#9361)
* Initial change for new transformations

* Update patterns

* Update unsupported operation replacement

* Add input/output normalization passes call

* Update logic

* Refactor output concatination transform

* Update re_numerate_input_ports and shape infer functions for Loop

* Update comments

* Add back edge removing to output concatenation transformations

* Update comment

* Remove redundant normallization call

* Update supported layers list

* Use routine in check

* Add transformation to rub_before list
2022-01-28 20:53:16 +03:00
Ilya Lavrenov
eaa0a68fdb Updated on OV 2.0 properties (#9906) 2022-01-28 18:52:50 +03:00
Sergey Lyubimtsev
4b35d48283 Add ability to generate requirements.txt files with dev tags (#9986) 2022-01-28 18:23:10 +03:00
Edward Shogulin
72583261fc [LPT] Coverity issue fix: getMinValue (#9991) 2022-01-28 17:49:38 +03:00
Ilya Churaev
39b5cb809e Fixed collisions in friendly names for internal operations (#9965)
* Fixed collisions in friendly names for internal operations

* Fixed renaming

* Added comments

* Renamed test file

* Fix behavior for outputs

* Fixed logic

* Fixed comments
2022-01-28 17:33:08 +03:00
Tatiana Savina
da1324db68 [DOCS] Enable sphinx panels directive (#9982)
* new directive

* add panels version
2022-01-28 17:18:57 +03:00
Alina Kladieva
8f3ebed8ec Bump OMZ version (fix for pip-conflicts & wheels on Win & Mac) (#9987) 2022-01-28 16:45:28 +03:00
Gleb Kazantaev
45f98cece5 Load Time Improvements (#9946)
* Fix ConstantFolding; update ric fusion

* Update MarkPrecisionSensitiveDivdes pass

* Move back RIC fusion; Update copy_runtime_info logic + tests

* Update CF + tests

* Code style fix

* Code clean-up

* fix cf attr propagation

* Fix windows build
2022-01-28 16:36:45 +03:00
Maxim Gordeev
f0e2a2e811 Speech sample improvements (#9985) 2022-01-28 16:13:51 +03:00
Ilya Churaev
d5cd14efe3 Fixed cmake generation for CC build (#9974)
* Fixed cmake generation for CC build

* Fixed static build
2022-01-28 14:09:53 +03:00
Anastasia Popova
a61655040f Fixed loader for TF2. (#9962) 2022-01-28 13:23:22 +03:00
Sergey Lyubimtsev
4cd20425c3 Building of openvino-dev wheel results many temp files in source tree (#9936) 2022-01-28 13:14:26 +03:00
Daria Mityagina
917994293c [VPU] Added support for dynamic nodes for QueryNetwork - copy (#9925)
Currently, calling QueryNetwork from Myriad plugin with dynamic network could result in exception, this PR should fix this by removing nodes that could cause it from consideration.

Co-authored-by: Polina <polina.brzezinskaya@intel.com>
2022-01-28 13:06:37 +03:00
Alexandra Sidorova
2666a3dac4 [CPU] Enabled brgemm matmul primitives avx512 (#9824) 2022-01-28 11:34:32 +03:00
Szymon Irzabek
ef0a080323 [GNA] Extend matmul handling support (#9810)
Support matmuls with two non-const inputs.
Detect concat inputs to matmul as changing batch size and
handle appropriately.
Enable tests in GNA_SW_EXACT mode for convolution stride > kernel size.
2022-01-28 10:20:47 +03:00
Steve Yoo
068bdff787 Add SLT to Template Plugin: Loop-5 (#9789) 2022-01-28 07:56:04 +03:00
Steve Yoo
e8b954d6ec Add testcases of index type i32 for NonMaxSuppression (#9902) 2022-01-28 07:53:01 +03:00
Wilson Seok
1e0470f4e7 Add slt in template plugin/lstm sequence (#9305)
* Remove fp16 of Convert layer test from skip_tests.config.cpp as it works now

* update repo

* initial code commit

* add runtime reference

* apply ov::Model

* initial lstmcell-1 definition

* initial change

* apply Peepholes

* apply input_forget option

* apply initial test case of lstmsequence-1

* fix clang-format error

* fix clang-format error 2

* add lstms_sequence test cases by runtime reference and onnx test cases

* fix clang-format error

* fix clang-format error

* fix onnx test failure of LSTM IE_CPU

* fix clang-format issue

* fix clang-format issue 2

* add type_prop and visitor api test of lstm_sequence_v1

* fix clang-format error

* replace input/refOut data to hard coded and remove unnecessary enum definition

* update namespace of Tensor()

* remove supported test cases in disabling list
2022-01-28 07:49:32 +03:00
Tomasz Dołbniak
658d9c3633 Removal of ONNX FE warning regarding Constant creation (#9935) 2022-01-28 07:16:18 +03:00
Yuan Hu
8883732ca8 [AutoPlugin] get optimal infer request number (#9529)
* dynamic optimal infer request

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

* modify test case to match logic

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

* for CPU_HELP,CPU case, use default value

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

* update logic for GPU VPUX MYRIAD

throughput
GPU num = GPU_THROUGHPUT_STREAMS * 2
VPUX = 8
MYRIAD = 4

other mode
GPU NUM = 1
VPUX = 1
MYRIAD = 1

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

* print GPU_THROUGHTPUT_STRREAM FOR TEST

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

* get streams num from rangestreams for GPU

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

* Revert "print GPU_THROUGHTPUT_STRREAM FOR TEST"

This reverts commit 06e348d21dfaed626bebcc32837737da9b036e44.

* use default variable instead of 4u and 1u

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

* simple if else logic

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

* check allow batching key

Signed-off-by: fishbell <bell.song@intel.com>

* add comment, optimize logic

Signed-off-by: fishbell <bell.song@intel.com>

Co-authored-by: fishbell <bell.song@intel.com>
2022-01-28 10:13:02 +08:00
Daria Mityagina
aa53948379 [VPU] Hello classification MyriadX issue (#9701)
This PR fixes error
inference-engine/src/vpu/graph_transformer/src/stages/interpolate.cpp:65 Current Interpolate does not support resize by channels that started to appear after sample refactoring.

Issues: -75837
2022-01-28 00:20:06 +03:00
Szymon Irzabek
069b3839ce [GNA] Fix large eltwise split in case split dimension is less than alignment (#9933)
* [GNA] Fix large eltwise split in case split dimension is less than alignment

* Update src/plugins/intel_gna/optimizer/gna_pass_manager.cpp

Co-authored-by: Krzysztof Bruniecki <krzysztof.bruniecki@intel.com>

Co-authored-by: Krzysztof Bruniecki <krzysztof.bruniecki@intel.com>
2022-01-27 22:09:32 +03:00
Pavel Durandin
d4779bb351 Parallel onednn graph compilation GPU (#9958) 2022-01-27 19:47:24 +03:00
Nikolay Tyukaev
622027bee5 fix errors in documentation (#9384)
* add sphinx log parsing

* fix

* fix log

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* doxygen-xfail

* fixes

* fixes

* fixes

* fixe

* fixes

* fixes

* fix pot

* add pot check

* fixes

* fixes

* Fixed POT docs

* Fixed POT docs

* Fixes

* change heading markup

* fixes

Co-authored-by: azaytsev <andrey.zaytsev@intel.com>
2022-01-27 19:39:49 +03:00
Alexander Zhogov
a99ae43d61 Azure CI Win: Update pool to D8S (#9963) 2022-01-27 19:35:24 +03:00
Anton Chetverikov
05684b7cd0 Move tensor name restoring transformation after output normalization (#9904) 2022-01-27 17:41:58 +03:00
Pavel Zamelin
578afb9bb8 Allow to specify cpack component in addItTargetTest (#9945) 2022-01-27 17:01:46 +03:00
Mikhail Nosov
cf328d299f More fixes of plugins.xml generation (#9942)
* Further fixes of plugins.xml generation
1) Unregistration is done by name (e.g. CPU), not by file name (ov_cpu_plugin)
2) Unregistered line is searched by name="MULTI" instead of just 'MULTI' to not conflict with MULTI_WORK_MODE_AS_AUTO entry
3) Removed list of all possible plugins from ov_runtime as logic shall not rely on this (not possible to add 3rd party plugins)

* Revert ov_runtime - some CI jobs require plugins.xml even though plugins are not built

Registration - if some entry already exists in XML - don't copy it.
E.g.
- Registration of 'TEMPLATE' is performed
- Registration loops through existing plugins.xml
   - If name="TEMPLATE" is found - don't take it to newContent
   - If name like "myCustomPlugin" is found - take it
- As result - "myCustomPlugin" will exist after update, but old "TEMPLATE" will be removed

* Add missing change
2022-01-27 16:54:21 +03:00
Evgenya Stepyreva
1d5352dae3 Dimension tracking: Always output batch the same as it was before (#9953) 2022-01-27 16:29:16 +03:00
Vladislav Golubev
bd7a5db029 [LPT] Reduced gaps between static and dynamic execution (#9775)
* LPT: removed limitations on Dq by dynamic channel

* [TESTS] LPT tests updated
2022-01-27 15:07:42 +03:00
Maxim Gordeev
0627fe857e [IE Samples] Export and Import of model, fixed (#9776)
* [IE Samples] Export and Import of model, fixed https://jira.devtools.intel.com/browse/CVS-76225

* Added IE_SUPPRESS_DEPRECATED

* [IE Samples] Export and Import of model, fixed 76225

* Added IE_SUPPRESS_DEPRECATED

* fixed notes

* Update samples/cpp/speech_sample/main.cpp

Co-authored-by: Mikhail Ryzhov <mikhail.ryzhov@intel.com>

* Update samples/cpp/speech_sample/main.cpp

Co-authored-by: Mikhail Ryzhov <mikhail.ryzhov@intel.com>

* fixed formatting

* changed processing of inputs

* working export

Co-authored-by: Mikhail Ryzhov <mikhail.ryzhov@intel.com>
2022-01-27 14:46:02 +03:00
Roman Lyamin
cf80eda8e0 [GPU] Added handle permute (#9853) 2022-01-27 14:37:55 +03:00
Mang Guo
f6162ed657 [CPU] Add MVNLayoutType enum (#9889) 2022-01-27 14:27:40 +03:00
Ilya Naumov
1be838576c Fix UnicodeEncodeError on Python 3.6 (#9285) 2022-01-27 14:00:38 +03:00
Yegor Kruglov
bc70b2b68b [ MO ] Support MXNet operation arange_like (#8939)
* arange_like_op

* added comments

* added unittests

* added step attr, changed axis condition, updated tests

* added op description

* fix nodes renaming

* sorted imports

* added case with repeat > 1

* finished arange_like, removed unit test

* small fix in gather infer function

* gather fix

* fix doc

* added unittests

* correct renames

* removed ConvertLike from div_sqrt_dim

* used ReduceProd instead reshape-shapeof

* added keep_dims attr to reduce_prod node
2022-01-27 12:44:12 +03:00
Aleksandr Korolev
4ecab1eeea [VPU] Fix vpu_scale tests (#9693)
Fix memory leak in VpuScaleTest
2022-01-27 12:41:45 +03:00
Aleksandr Korolev
18c20f5766 [VPU] Add performance hints (#9349)
Added a new key required for benchmark_app
2022-01-27 12:39:27 +03:00
Roman Kazantsev
7ec1cc919e [MO] Correct preprocessing block for TensorFlow OD 2.4+ models (#9944)
* Detect casting node inside preprocessing block and leave it

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Fix unit-test for ObjectDetectionAPI

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
2022-01-27 12:15:30 +03:00
Vladimir Dudnik
b84f75f346 update open_model_zoo submodule (#9947) 2022-01-27 11:09:23 +03:00
Sergey Shlyapnikov
0af8916d1d [GPU] Fix dependencies list in fused primitive descriptor (#9941) 2022-01-27 11:05:20 +03:00
Maxim Shevtsov
2b1bacaf6e fixing mem leak by avoiding cyclic ref (when shared_ptr was captured in lambda) (#9930) 2022-01-27 10:47:00 +03:00
song, bell
49c2086d23 allocate host blob from hw context (#9854)
* allocate host blob from hw context

Signed-off-by: fishbell <bell.song@intel.com>

* accomodate to new namespace

Signed-off-by: fishbell <bell.song@intel.com>

* fix build

Signed-off-by: fishbell <bell.song@intel.com>

* refine logic

Signed-off-by: fishbell <bell.song@intel.com>

* dynamic shape need to share blob with cpu infer request

Signed-off-by: fishbell <bell.song@intel.com>

* reuse icore from core

Signed-off-by: fishbell <bell.song@intel.com>

* cpu,gpu case fallback to original code, CI failure

Signed-off-by: fishbell <bell.song@intel.com>
2022-01-27 13:52:25 +08:00
Milana Shhanukova
aa518282b0 updat gna configs (#9920) 2022-01-27 08:50:15 +03:00
David Nam
78a1212a90 Implement interpolate-1 and interpolate-4 in template plugin test (#9704)
* Implement interpolate-1 and interpolate-4 in template plugin test

* Fix clang error

* Fix clang error

* Fix clang error

* Fix linux build

* Fix cpplint error

* Fix clang error

* Fix linux build

* Change way to pass attribute into struct for linux build

* Correct supported type

* Fix clang error

* Add visitor api test for interpolate-1 and interpoate-4

* Fix typo and cpplint

* Update copyright

* Avoid using a class that will be deprecated

* Rollback to CoordinateTransform

* Remove interpolate.in.cpp
2022-01-27 08:27:34 +03:00
Kelvin Choi
00b7f58152 [GPU] enable validate after adding reorder (#9594) 2022-01-27 13:08:35 +09:00
Anastasia Kuporosova
c7eeda0247 [Python API] Align openvino/__init__ files (#9871)
* [Python API] Align openvino/__init__ files

* style fix
2022-01-26 21:16:34 +03:00
Mikhail Letavin
a90bb1ff01 [GPU] Force shared surface cache cleanup in RemoteContext (#9816) 2022-01-26 19:19:29 +03:00
Nikolay Tyukaev
e0c10c1a6f nbdoc cmake (#9869) 2022-01-26 18:45:16 +03:00
Zhang Yi
f23714fe65 fix klocwork scan (#9785) 2022-01-26 18:26:55 +03:00
Mikhail Nosov
6d40e5df96 'If' deserialization fixes (#9881) 2022-01-26 17:50:43 +03:00
Egor Shulman
68423cef40 [CPU] Coverity fixes (#9838) 2022-01-26 17:43:28 +03:00
Xin Wang
26ccbe9ebc Change internal function name to avoid loop issue. (#9890)
* Change internal function name to avoid loop issue.

* Fix comment.
2022-01-26 17:35:31 +03:00
Anastasia Popova
84f2e9fc24 Parameter/Result tensor names fix (#9754)
* Added tensor names checking transformation. Added framework name saving to tensor names list for input/output cut.

* Small fixes.

* Fixed tensor propagation in PowerToEltwises.

* Corrected tensor checking.

* Corrected tensor checking.

* Fixed MemoryOffsetAdjustment().

* Fixed tensor propagation for Yolo, ONNXMaskRCNNTransformation().

* Small fix.

* DetectionOutput tensor name set.

* Tensor name set for Reshape node in OD API.

* Temporarily added set of tensor names in ConvertGroupedStridedSlice.

* Small corrections, added tests.

* Added checks.

* Added deafault names setting.

* Moved default names setting to single place.

* Added port normilize befor setting tensor names.

* Fixed ResultRename logic.

* Removed tensor setting of unset ports.

* Corrected input cut tensor naming.

* Corrected InputCut, renamed set_tensor_names()->add_tensor_names().

* Fixed tensor setting for InputCut.

* Code corrections.
2022-01-26 17:23:46 +03:00
Mikhail Nosov
8f94d6dd3f Fix unity build for 'inference_engine_s' target (#9899)
Without fix, build of 'cpuUnitTests' will fail as 'inference_engine_s' will contain:
IE_STATIC_DEPENDENT_FILES = file_utils.cpp
$<TARGET_OBJECTS:${TARGET_NAME}_obj> - containing 'unity_cxx' which includes 'file_utils.cpp'
This causes multiple definition error of all methods inside file_utils.cpp
2022-01-26 17:11:40 +03:00
Alexandra Sidorova
1d82294e00 [CPU] Fixed dynamic Concat with negative axis (#9861) 2022-01-26 17:10:34 +03:00
Vladislav Volkov
c026f8348b [CPU] Fix for memory leak in MKLDNNTensorIteratorNode (#9903) 2022-01-26 16:59:41 +03:00
Anton Dudchenko
022abf8614 [IE][VPU]: Don't compile myriad custom layers and tools for ARM (#9912) 2022-01-26 16:30:32 +03:00
Maksim Doronin
e46b629950 [IE][VPU]: dynamic hswish and gather downgrade (#9915)
* Dynamic HSwish
* Gather8 to Gather7 downgrade
2022-01-26 16:28:03 +03:00
Mikhail Nosov
2ea52bae6e Fixes of plugins.xml generation (#9922)
- Added registration (and unregistration) of ov_auto_batch_plugin. Otherwise 'BATCH' plugin will always produce new XML line without removing old one
- Added unregistration of legacy plugin names (<= 2021.4 release). Otherwise old lines like "libHeteroPlugin.so" will not be removed from plugins.xml file
2022-01-26 16:00:04 +03:00
Indira Salyahova
17c394c8fe [POT] Update patterns (#9786)
* Update special_patterns.py

* add pattern in docs
2022-01-26 14:59:51 +03:00
Indira Salyahova
cf49cd6ce8 fix: check batch bias shape equal one in fbc (#9907) 2022-01-26 14:37:43 +03:00
Ilya Churaev
251897a91a Removed old cmake scripts (#9876) 2022-01-26 14:24:30 +03:00
Ilya Churaev
d2c92d26be Added offline transformation to all target (#9893) 2022-01-26 14:23:59 +03:00
Irina Efode
ed273ab47a [IE TESTS][IE CONFORMANCE] Allow to specify body extracting in statistic and subgraphDumper (#9797)
* [IE TESTS][IE CONFORMANCE] Allow to specify body extracting in statistic and subgraphDumper

* Fix link
2022-01-26 11:35:36 +03:00
Nikita Malinin
1524ff898a Update IEEngine with annotation for async (#9909) 2022-01-26 11:13:01 +03:00
Mingyu Kim
1d417e888b Spacing fix (#9894)
* Update benchmark_app.hpp

* Update benchmark_app.hpp
2022-01-26 08:46:05 +03:00
Milana Shhanukova
d81d7f15a1 do not change shape for scalars (#9751) 2022-01-25 19:37:34 +03:00
song, bell
f2e5788035 use priority queue for timeout issue (#9765)
* use priority queue for timeout issue

Signed-off-by: fishbell <bell.song@intel.com>

wrap tbb pq

Signed-off-by: fishbell <bell.song@intel.com>

clang format

Signed-off-by: fishbell <bell.song@intel.com>

fix potential dead-lock

Signed-off-by: fishbell <bell.song@intel.com>

fix arm build

Signed-off-by: fishbell <bell.song@intel.com>

try fix build on arm

Signed-off-by: fishbell <bell.song@intel.com>

merge master

Signed-off-by: fishbell <bell.song@intel.com>

* remove debug info

Signed-off-by: fishbell <bell.song@intel.com>

* use atomic to replace the lock

Signed-off-by: fishbell <bell.song@intel.com>

* clang format

Signed-off-by: fishbell <bell.song@intel.com>
2022-01-25 18:44:46 +03:00
Eugeny Volosenkov
b57f1b0fb3 Delete check on port id in InputCut (#9796)
* delete refer_to_faq_msg(31)

* fix documentation

* fix documentation
2022-01-25 17:41:08 +03:00
Indira Salyahova
0ecbe50bf5 [POT] Optimize quantization scheme for SPR/ATS (#9564)
* feat: delete fq from branch

* delete transformation

* pylint

* delete gpu_ats

* add tests

* pylint
2022-01-25 17:37:45 +03:00
Nikita Malinin
6927547f9c [POT] Update IEEngine with raw output processing (#9777)
* Update IEEngine with raw output processing

* Update ieengine output layers naming

* Pylint fixes

* Update replace with the regex method

* utils.py newline

* Pylint fix
2022-01-25 17:37:12 +03:00
Yury Gaydaychuk
365bd7c46e [CPU] DefConv fixed for small channels (#9718) 2022-01-25 17:26:00 +03:00
Vitaliy Urusovskij
0282f11165 Fix control flow issue (#9865)
* Fix control flow issue

* Extend exception messages in TF PB parsing
2022-01-25 17:23:59 +03:00
Eugeny Volosenkov
439e3b26aa Model Optimizer incorrectly convert per-channel Quantize/Dequantize operatros to FakeQuantize (#8321)
* add q_dq_resolver

* prepare FQ for offline transfornations

* fix quantize_dequantize_linear_resolver.py

* fix tools/mo/openvino/tools/mo/middle/dequantize_linear_resolver.py

* enable compress_quantized_weights.py

* fix sub case

* delete force_clean_up

* add isolated attribute

* add test for quantize_dequantize_linear_resolver

* fix comments

* apply comments

* aplying comments

* applying comments

* applying comments

* Replace q_dq_resolver using pattern

* clean imports

* fix imports

* fix pattern

* delete refernce to unit tests
2022-01-25 15:35:43 +03:00
Pavel Durandin
9f343fa37f Device memory fix for benchmark app (#9880) 2022-01-25 15:10:34 +03:00
Mateusz Tabaka
fa605a2760 Fix begin and end mask in StridedSlice in builder::opset1::flatten (#9837) 2022-01-25 13:04:36 +01:00
Maxim Andronov
94d403a1eb [CPU] Don't set subnormals to zero for rnn packed format (#9836) 2022-01-25 14:58:41 +03:00
Sergey Lyubimtsev
54203a2095 Fix for setting PATH to openvino libs installed from pip in windows conda env (#9892) 2022-01-25 14:58:19 +03:00
Anton Chetverikov
88903ee7ae Remove incorrect layout changing (#9764) 2022-01-25 14:10:06 +03:00
Mang Guo
9a522137bf Hot fix fir regression on Mac (#9895) 2022-01-25 13:47:37 +03:00
Ekaterina Aidova
2385a16e80 [OMZ]: try update submodule (#9830)
* [OMZ]: try update submodule

* check conflict resolving
2022-01-25 13:29:30 +03:00
Jan Iwaszkiewicz
1e58c55678 [PYTHON] Allow ports as inputs for infer methods (#9839)
* Use of ports for input values

* Refactor tests

* Fix inputs overwritting

* Fixed for review comments

* Remove unused branch and refactor ie_api.py
2022-01-25 13:19:12 +03:00
Anton Pankratov
f45991bd64 OV 2.0 c++ configuration API (#9870)
* New configuration API

* Review fix

* review coments

* fixed device name map

* fixed header

* code stile

* fixed optimization capabilities

* flatten properties

* dox fix

* doc

* merge conflicts

* fixed merge conflicts

* Fixed subobject linkage warning

* foramt fix

* Fixed unity test build

* Merge conflict fixes

* Fixed variadic
2022-01-25 12:43:56 +03:00
Evgenya Stepyreva
3bd6eb6dcd Dimension tracking: Label propagation along with partial value propagation (#9834) 2022-01-25 12:35:56 +03:00
Evgenya Stepyreva
4a85982427 mark sensitive inputs in all Interpolate ctors (#9883) 2022-01-25 12:04:27 +03:00
Victor Kuznetsov
013d3f01a0 Change thresholds for MemCheck nightly (#9879)
* add performance hint to time infer

* change th-ds for mtcnn-o
2022-01-25 11:30:51 +03:00
song, bell
2b9e726040 enable batching plugin through auto (#9520)
* initial commit

Signed-off-by: fishbell <bell.song@intel.com>

* remove debug code

Signed-off-by: fishbell <bell.song@intel.com>

* fix bug  with CPU,GPU

Signed-off-by: fishbell <bell.song@intel.com>

* refine code and test case for auto batching

Signed-off-by: fishbell <bell.song@intel.com>

* optimize the batching query

Signed-off-by: fishbell <bell.song@intel.com>

* refine test case

Signed-off-by: fishbell <bell.song@intel.com>

* optimize if/else

Signed-off-by: fishbell <bell.song@intel.com>

* fix sporadic crash

Signed-off-by: fishbell <bell.song@intel.com>

* refine logic

Signed-off-by: fishbell <bell.song@intel.com>

* refine case

Signed-off-by: fishbell <bell.song@intel.com>

* temp solution to disable batching in auto

Signed-off-by: fishbell <bell.song@intel.com>

* add debug logs

Signed-off-by: fishbell <bell.song@intel.com>

* merge with #9724

Signed-off-by: fishbell <bell.song@intel.com>

* refine the logic

Signed-off-by: fishbell <bell.song@intel.com>

* accurate debug message

Signed-off-by: fishbell <bell.song@intel.com>
2022-01-25 16:28:49 +08:00
Alexey Lebedev
fe5c16ba6a [tools] Allow to use node name in command line parameters in python benchmark app (#9874)
* support node names in model specific parameters

* allow to use node name in -i parameter
2022-01-25 11:16:56 +03:00
Pavel Esir
41d4fcdf25 [MO] Add reverse_infer (input rank deducing) for set of operations (#8928)
* grouped convolution resolver fix

* add reverse_infer for Transpose, Elementwise, Identity and some fixes to successfully OOB convert MXNet models

* add reverse_infer for BatchNorms, dynamic groups fix, multi_box_prior.py fix

* add reverse infer for trivial cases

* input rank setting for image detection ops

* reverse_infer for Gather, AttributedGather add todo comment for Parameter

* reverse infer for LSTM, swapaxis; fixes and unit-tests for Elementwise, Gather, Transpose; also generalized Parameter reverse_infer; fixed DetectionOutput and partial reverse_infer

* clarified comment for LSTM reverse_infer

* detalized Elementwise reverse_infer, added several more unit-tests, Split reverse_infer fix, IteratorGetNext_ext.py fix

* generalized group convolution resolver

* specified in_ports explicitly

* clarified Split, Concat, Parameter, other minor typos

* relaxed compatibility check for elementwise; simplified scalar extracting for convolution.py and gather.py, fixed replacer order for ConvolutionNormalizer.py

* added routine set_input_shapes for image detection ops

* fixed typos to pass locally E2E, slightly changed LSTM reverse_infer

* VariadicSplit reverse_infer bugfix

* IteratorGetNextCut.py added check if port is connected

* explicitly specified in_port, added asserts, improved Split reverse infer

* sorted imports

* reverse_infer for ONNX and MXNet LSTM, GRU, RNN operations

* replaced Error raising with red warning

* added missing return for defined input shapes, fixed getting num groups for tf conv

* added mandatory attributes; fixed failing unit-tests, fixed typo with scalar group in ConvolutionNormalizer

* removed priorbox reverse_infer; Parameter reverse_infer corrected to use the only one existing out_port

* fixed clarify_partial_shape_test
2022-01-25 10:14:41 +03:00
Anastasia Popova
d27bbb4bdd Preserve inputs and outputs order for TensorFlow 2 and MXNet models (#9683)
* Preserve outputs order TF.

* Preserve of input/output indices for MxNet.

* Small fix.

* Added check.

* Small fix.

* Corrected Keras model importing.

* Fixed Keras model loading.

* Small correction.

* Corrected model loading.

* Small fix.

* Comment corrected.

* Removed unnecessary import.
2022-01-25 10:13:05 +03:00
Victor Kuznetsov
6f60a7d8f0 First time inference validation for dynamic shapes (#9671)
* add performance hint to time infer

* add reshape methods for time infer tool

* add func declarations to common_utils.h

* add check if node is static (reshape pipeline)

* changes in desc of reshape funcs

* fix logic operator

* add reshape utils.h | move parsing logic in main func

* add tests_shared_lib to CMakeLists.txt

* change fill blobs with setStaticShapesBlobs

* change delimiter
2022-01-24 16:19:03 +03:00
Anastasia Popova
ce533fc287 Preserve input/output order for ONNX. (#9352)
* Preserving of input/output indices for ONNX.

* Fixed checks.

* Fixed for case of multiple outputs of node before Result.

* Added test for multiple tensor names before Result.

* Multiple tensor names before Result  fix.

* Added order alignment for user input/output.

* Extended for case of input names in Parameter tensor list.

* Fixed unit tests.

* Corrected help.

* Small correction.

* Code refactoring.

* Temporarily reverted refactor.

* Fixed wrong changes.

* Fixed wrong changes.

* Returned reverted refactoring.

* Removed inputs_list from serializing.
2022-01-24 15:50:28 +03:00
Mang Guo
413fee2a86 [CPU] Enable cache for MVN (#9549) 2022-01-24 15:07:35 +03:00
tgubanova-lohika
7114253d17 [GPU] Implement Gelu7 operation support (#9813)
* [GPU] Add Gelu tanh approximation support

* [GPU] Register op7::Gelu operation in gpu plugin.

* [GPU] Add op7::Gelu operation tests to GPU single layer tests
2022-01-24 15:05:34 +03:00
Irina Efode
ec38a88b60 [IE TESTS] Conformance migration to OV2.0 (#9092)
* Squashed commit of the following:

commit a9fa429b2d
Author: Efode, Irina <irina.efode@intel.com>
Date:   Thu Oct 28 13:33:16 2021 +0300

    cpu fix

commit 86bf737e0a
Merge: 15dd12613 f743fee0f
Author: Efode, Irina <irina.efode@intel.com>
Date:   Thu Oct 28 13:16:37 2021 +0300

    Merge remote-tracking branch 'upstream/master' into layer_test_common

commit 15dd126139
Author: Efode, Irina <irina.efode@intel.com>
Date:   Thu Oct 28 13:13:08 2021 +0300

    Fix myriad

commit 39ed74825d
Merge: e61d3fcf9 6416b7385
Author: Efode, Irina <irina.efode@intel.com>
Date:   Thu Oct 28 11:00:43 2021 +0300

    Merge remote-tracking branch 'upstream/master' into layer_test_common

commit e61d3fcf91
Author: Efode, Irina <irina.efode@intel.com>
Date:   Thu Oct 28 10:41:58 2021 +0300

    try to fix myriad

commit 5e435d6fd9
Merge: 17e3172ad a0a70ab53
Author: Efode, Irina <irina.efode@intel.com>
Date:   Wed Oct 27 18:43:15 2021 +0300

    Merge remote-tracking branch 'upstream/master' into layer_test_common

commit 17e3172ad3
Merge: 759326e50 a46db8a72
Author: Efode, Irina <irina.efode@intel.com>
Date:   Wed Oct 27 17:20:28 2021 +0300

    Merge remote-tracking branch 'upstream/master' into layer_test_common

commit 759326e50d
Merge: bee267747 ac5b0e881
Author: Efode, Irina <irina.efode@intel.com>
Date:   Tue Oct 26 16:57:28 2021 +0300

    Merge remote-tracking branch 'upstream/master' into layer_test_common

commit bee2677471
Merge: 4bab8e2ba 445292b07
Author: Efode, Irina <irina.efode@intel.com>
Date:   Tue Oct 26 11:35:09 2021 +0300

    Merge remote-tracking branch 'upstream/master' into layer_test_common

commit 4bab8e2ba6
Author: Efode, Irina <irina.efode@intel.com>
Date:   Tue Oct 26 11:34:54 2021 +0300

    skip gpu

commit 034c3c0dc2
Merge: 105d44db7 65d6010e4
Author: Efode, Irina <irina.efode@intel.com>
Date:   Tue Oct 26 10:27:30 2021 +0300

    Merge remote-tracking branch 'upstream/master' into layer_test_common

commit 105d44db7d
Merge: fd171ee27 1858fa385
Author: Efode, Irina <irina.efode@intel.com>
Date:   Mon Oct 25 16:19:16 2021 +0300

    Merge remote-tracking branch 'upstream/master' into layer_test_common

commit fd171ee275
Author: Efode, Irina <irina.efode@intel.com>
Date:   Mon Oct 25 16:02:38 2021 +0300

    Fixes according to new api

commit 9ff7886d23
Merge: 0a9534cdd 86208efd5
Author: Efode, Irina <irina.efode@intel.com>
Date:   Mon Oct 25 14:04:43 2021 +0300

    Merge remote-tracking branch 'upstream/master' into layer_test_common

commit 0a9534cdd0
Author: Efode, Irina <irina.efode@intel.com>
Date:   Mon Oct 25 14:02:36 2021 +0300

    Fix tests

commit 410c703682
Merge: 50740fd5c dfefb9216
Author: Efode, Irina <irina.efode@intel.com>
Date:   Thu Oct 21 23:53:54 2021 +0300

    Merge remote-tracking branch 'upstream/master' into layer_test_common

commit 50740fd5ca
Author: Efode, Irina <irina.efode@intel.com>
Date:   Thu Oct 21 23:53:37 2021 +0300

    fix tests

commit 709cf57a2a
Merge: 866ec7494 c9dc922f3
Author: Efode, Irina <irina.efode@intel.com>
Date:   Thu Oct 21 16:21:48 2021 +0300

    Merge remote-tracking branch 'upstream/master' into layer_test_common

commit 866ec74944
Merge: 2ee8c92df 0f282b687
Author: Efode, Irina <irina.efode@intel.com>
Date:   Thu Oct 21 14:34:02 2021 +0300

    Merge remote-tracking branch 'upstream/master' into layer_test_common

commit 2ee8c92df6
Author: Efode, Irina <irina.efode@intel.com>
Date:   Thu Oct 21 11:22:42 2021 +0300

    return in, out, prc

commit 5a492efa3b
Author: Efode, Irina <irina.efode@intel.com>
Date:   Wed Oct 20 15:17:16 2021 +0300

    ieFuncTests

commit 404aa787e9
Author: Efode, Irina <irina.efode@intel.com>
Date:   Wed Oct 20 15:08:22 2021 +0300

    Fix build

commit 6c7fee7f66
Merge: 75440ce24 028d78a90
Author: Efode, Irina <irina.efode@intel.com>
Date:   Wed Oct 20 14:48:05 2021 +0300

    Merge remote-tracking branch 'upstream/master' into layer_test_common

commit 75440ce241
Author: Efode, Irina <irina.efode@intel.com>
Date:   Wed Oct 20 14:42:55 2021 +0300

    Apply Maxim's comments

commit 230a1298b8
Merge: 0feed998e 17914d516
Author: Efode, Irina <irina.efode@intel.com>
Date:   Wed Oct 20 11:33:51 2021 +0300

    Merge remote-tracking branch 'upstream/master' into layer_test_common

commit 0feed998e3
Author: Efode, Irina <irina.efode@intel.com>
Date:   Wed Oct 20 00:25:22 2021 +0300

    Remove incorrect OPENVINO_ASSERT, correct eltwise tests and fix threshold

commit a504be8440
Merge: 86f10b5c1 ac9c2f19d
Author: Efode, Irina <irina.efode@intel.com>
Date:   Mon Oct 18 18:23:50 2021 +0300

    Merge remote-tracking branch 'upstream/master' into layer_test_common

commit 86f10b5c11
Author: Efode, Irina <irina.efode@intel.com>
Date:   Mon Oct 18 14:46:41 2021 +0300

    Remove In,OutPrecision

commit 5ed1394735
Merge: 2c86940cc 2079563e4
Author: Efode, Irina <irina.efode@intel.com>
Date:   Fri Oct 15 15:52:20 2021 +0300

    Merge remote-tracking branch 'upstream/master' into layer_test_common

commit 2c86940cca
Merge: 2b19f6c60 d21572d7c
Author: Efode, Irina <irina.efode@intel.com>
Date:   Thu Oct 14 18:42:27 2021 +0300

    Merge remote-tracking branch 'upstream/master' into layer_test_common

commit 2b19f6c607
Author: Efode, Irina <irina.efode@intel.com>
Date:   Thu Oct 14 17:05:24 2021 +0300

    fix oss build

commit 537c0536f9
Merge: 1393c9c80 eb838d569
Author: Efode, Irina <irina.efode@intel.com>
Date:   Thu Oct 14 15:09:29 2021 +0300

    Merge remote-tracking branch 'upstream/master' into layer_test_common

commit 1393c9c805
Author: Efode, Irina <irina.efode@intel.com>
Date:   Thu Oct 14 01:34:14 2021 +0300

    Remove old dynamism

commit fadf43ecb7
Author: Efode, Irina <irina.efode@intel.com>
Date:   Thu Oct 14 01:27:24 2021 +0300

    Eltwise

commit 49633d43c6
Author: Efode, Irina <irina.efode@intel.com>
Date:   Thu Oct 14 00:52:41 2021 +0300

    Adopt eltwise

commit bb2b6e2f76
Author: Efode, Irina <irina.efode@intel.com>
Date:   Wed Oct 13 23:49:28 2021 +0300

    fix softmax

commit 77fceb6478
Author: Efode, Irina <irina.efode@intel.com>
Date:   Wed Oct 13 21:56:38 2021 +0300

    Remove extra

commit 568116859a
Merge: 707d549ce 7b1a418bf
Author: Efode, Irina <irina.efode@intel.com>
Date:   Wed Oct 13 20:19:58 2021 +0300

    Merge remote-tracking branch 'upstream/master' into layer_test_common

commit 707d549ce8
Author: Efode, Irina <irina.efode@intel.com>
Date:   Wed Oct 13 20:19:43 2021 +0300

    Add configure model

commit d09dc07a3f
Author: Efode, Irina <irina.efode@intel.com>
Date:   Wed Oct 13 14:33:14 2021 +0300

    Fix cpuFuncTests

commit 4df40629b0
Author: Efode, Irina <irina.efode@intel.com>
Date:   Tue Oct 12 00:09:10 2021 +0300

    fix size of expected

commit 4e32737bc2
Author: Efode, Irina <irina.efode@intel.com>
Date:   Mon Oct 11 21:20:58 2021 +0300

    try adopt softmax

commit c66d8626e4
Author: Efode, Irina <irina.efode@intel.com>
Date:   Mon Oct 11 18:23:26 2021 +0300

    Init

* init

* test

* Merge fix

* test

* tmp

* fix build

* print config

* correct merge

* Tmp

* fix merge

* move

* Remove extra

* Extend

* tnp

* Fix eltwiae

* fix node

* psroipolling

* roipolling

* roialign

* Remove extra lines

* detection_output

* tmp

* fix

* MNS

* Remove extra lines

* Bucketsize

* Remove extra lines

* If + Apply some comments

* Apply comments

* Add logical ranges

* Fix win + Apply comment

* Fix my comments

* Try to fix win

* CPU fix

* fix python

* debug

* fix nms

* Aplly Ilya's comments
2022-01-24 14:59:15 +03:00
Ilya Lavrenov
138fb37fde Use clang-12 for U20 (#9867) 2022-01-24 14:23:16 +03:00
Vladislav Volkov
951dc97997 [CPU] Optimizations for FQ in planar layout (#9832) 2022-01-24 14:07:36 +03:00
Mikhail Nosov
1b3ca1b671 Fix klocwork warning (#9800)
Functionality is already covered by tests. In case of incorrect logic, like
`need_validate=need_validate || impl.build(...)` some test cases will fail
2022-01-24 13:59:30 +03:00
Mikhail Ryzhov
aaf4ba0b51 [GNA] Enabled the new tests (#9753)
* Enabled the new tests

* Enabled unsupported precisions

* Added additional checks
2022-01-24 13:41:14 +03:00
Chen Xu
3437a2c9e7 [CPU]Implement TopK-3 to CPU plugin (#6272) 2022-01-24 13:30:27 +03:00
Anastasia Kuporosova
a8b59458d1 [Python API] Move old python bindings (#9134)
* [Python API] Remove offline transformations from old python api

* [Python API] Move wheel folder to the python dir

* codestyle files

* [Python API] Move old python bindings

* move api

* one more codestyle

* fix install stage

* remove unexisting file from gitignore

* flake8 style

* try to fix jenkins

* undo comments

* return variable

* remove cpack

* fix after merge

* try to fix version

* fix test

* remove debug info

* version of python

* try to fix pyversion

* update tests

Co-authored-by: Alexander Zhogov <alexander.zhogov@intel.com>
2022-01-24 13:16:07 +03:00
Mikhail Kozlov
40b4356537 Default IO precision for vpux and myriad (#9845) 2022-01-24 13:03:22 +03:00
Svetlana Dolinina
b9293dc424 changed Exit op infer function implementation: re-write in new API to avoid unmasking of shapes (#9664) 2022-01-24 12:12:02 +03:00
Alexander Zhogov
6c2d1e923c Revert "OV2.0 c++ configuration API (#9829)" (#9860)
This reverts commit 50da8c4aed.
2022-01-24 11:29:09 +03:00
Liubov Talamanova
b738983c1f [POT] Change version.txt location (#9715)
* Change POT version.txt location

* Update version

* Added version.txt to wheel

* Fix install requires
2022-01-24 11:22:12 +03:00
Nikita Malinin
5fe10299ab [POT] Small references update (#9831)
* Update golds and tolerance

* Disable mtcnn at sanity
2022-01-23 12:27:30 +03:00
Krzysztof Bruniecki
ede5da5a96 Update doc and thrown message (#9770)
* Update doc and thrown message

* Review
2022-01-21 19:54:55 +03:00
Sergey Lyubimtsev
dbae4fef18 Update install guides for PyPI (#9760)
* update copyright

* Inference Engine -> OpenVINO™ Runtime

* Update package names

Update link to release notes
Update link to Inference Engine guide
Add note about plugins supported on macOS

* update names in headers

* trademarks

* beautify wording
2022-01-21 19:31:08 +03:00
Alexey Suhov
dfaaa45b5a Move licensing to docs folder in install package (#9842) 2022-01-21 19:14:02 +03:00
Ilya Churaev
f6fe714213 Fixed collisions with auto-generated operation names (#9737)
* Added test to reproduce issue with names generation

* Resolve names collisions

* Added additional check

* Added transformation to fix generated names

* Fixed comments

* Fixed tests

* Moved resolve names transformation to plugin pipeline
2022-01-21 18:53:07 +03:00
Anton Pankratov
50da8c4aed OV2.0 c++ configuration API (#9829)
* New configuration API

* Review fix

* review coments

* fixed device name map

* fixed header

* code stile

* fixed optimization capabilities

* flatten properties

* dox fix

* doc

* merge conflicts

* fixed merge conflicts

* Fixed subobject linkage warning

* foramt fix
2022-01-21 18:44:41 +03:00
Egor Shulman
cf84f43b78 [CPU] Fix FuseConvolutionSumAndConvolutionSumActivation (#9595) 2022-01-21 17:24:46 +03:00
Andrei Molotkov
d6bcfb7b8f [GPU] Sporadic failure test was fixed (#9748) 2022-01-21 17:12:53 +03:00
Mateusz Bencer
82cc7165e7 Fall back to legacy path if input freezing feature is used (#9668) 2022-01-21 16:46:59 +03:00
Chenhu Wang
8ebe75f81a [CPU] ROIAlign jitted optimization (#9421) 2022-01-21 16:17:10 +03:00
Nikolay Tyukaev
c4a4382d84 Nbdoc change source (#9739) (#9811)
Co-authored-by: Nikolay Tyukaev <nikolay.tyukaev@intel.com>

Co-authored-by: Jakub Debski <jakub.debski@intel.com>
2022-01-21 15:31:56 +03:00
Mikhail Nosov
d8e557b39c FrontEnds.cmake: FEM include headers as public (#9792)
ONNX/Paddle/TF frontends: added 'standalone_build' target to verify that frontends can be used standalone by applications
2022-01-21 13:43:07 +03:00
Artyom Anokhov
101e762969 [Scripts][Driver] Updated script logic with approved for 2022.1 driver (#9801)
* install_NEO_OCL_driver: Updated script logic with approved for 2022.1 release drivers.

Removed COS7 support and checksum.

* Update scripts/install_dependencies/install_NEO_OCL_driver.sh

Co-authored-by: Sergey Lyubimtsev <sergey.lyubimtsev@intel.com>

* Update scripts/install_dependencies/install_NEO_OCL_driver.sh

Co-authored-by: Sergey Lyubimtsev <sergey.lyubimtsev@intel.com>

* install_NEO_OCL_driver: Removed _is_package_installed function

Co-authored-by: Sergey Lyubimtsev <sergey.lyubimtsev@intel.com>
2022-01-21 13:38:51 +03:00
Alexander Zhogov
79ff926b6d Revert "OpenVINO runtime Configuration API (#7750)" (#9828)
This reverts commit 400e9ad916.
2022-01-21 13:30:39 +03:00
Jan Iwaszkiewicz
967fc0a756 Added callable CompiledModel (#9812) 2022-01-21 13:27:51 +03:00
Mikhail Nosov
7f10473b96 Loop/If/TensorIterator - fix dynamic input cases (#9752)
* Loop/If/TensorIterator - fix dynamic input cases
Reference evaluate for body uses Model::evaluate instead of custom evaluation
Loop/TensorIterator additional fix - set result shape according to body execution result

Only op_eval test verifies issues, template tests were added just in case (these passed even without fix)

* Fix clang-format

* rename ti.cpp
2022-01-21 13:27:20 +03:00
Victor Kuznetsov
0f4f2ebade Change thresholds for MemCheck nightly (#9815)
* add performance hint to time infer

* fix th values for memcheck nightly
2022-01-21 11:54:29 +03:00
Serhii Pavlovskyi
01096508f9 [GPU] Disable range layer gpu test (#9819)
* move gpu functional tests for range to correct location

* disable range layer test on gpu

it needs dynamic shapes support

Co-authored-by: Serhii Pavlovskyi <spavlovskyi@lohika.com>
2022-01-21 11:04:40 +03:00
Anton Pankratov
400e9ad916 OpenVINO runtime Configuration API (#7750)
* New configuration API

* Review fix

* review coments

* fixed device name map

* fixed header

* code stile

* fixed optimization capabilities

* flatten properties

* dox fix

* doc

* merge conflicts

* fixed merge conflicts
2022-01-21 10:32:57 +03:00
Vladislav Golubev
a3e2dbe353 [LPT] MoveFQ fix (#9821) 2022-01-21 10:06:17 +03:00
Taylor Yeonbok Lee
78db56d92d [GPU] Make cl_dump to distinguish program (#8763)
* Make cl_dump to distinguish program

* Applied review comment
2022-01-21 06:37:08 +03:00
Evgenya Stepyreva
d977b7238a Divide partial value propagation fix (#9822) 2022-01-21 03:38:53 +03:00
Alexander Zhogov
df27fd5d47 Azure CI: Add ccache for ARM (#9817)
* Azure CI: Add ccache for ARM

* Add a few required options

* Fix work dir
2022-01-21 02:01:06 +03:00
Mateusz Bencer
70ccd0e91f Handle special cases during fallback (#9651) 2022-01-20 23:34:24 +01:00
Evgenya Stepyreva
5aa43d560a 51145 (#9795)
* 51145 - PriorBox dynamic shape propagation

* code style
2022-01-21 00:32:04 +03:00
Jan Iwaszkiewicz
e39614954b [PYTHON] Return InferRequestWrapper as shared pointer (#9805) 2022-01-20 23:22:42 +03:00
Vladislav Golubev
fd754ab917 SimplifySecondInputOfReshapeFix (#9809) 2022-01-20 22:47:40 +03:00
Ivan Tikhonov
29d73ce3c8 FrontEnd ConversionExtensions (#9070)
* Squash commit: implement Conversion extensions

* Refactor PaddlePaddle FrontEnd

* Codestyle

* FrontEnd,InputModel,Place base classes -> abstract, renamed model file

* Fix unit tests

* fix unit tests

* ngraph:: to ov::

* Rename frontends dir to frontend

* fix merge conflicts

* Fix ConversionExtension

* get rid of NamedInputs/Outputs in TF FE

* Rename paddlepaddle to paddle; pdpd to paddle

* add missing file

* codestyle

* Remove local change

* paddlepaddle -> paddle for azure configs and .md files

* fix package name, fix config files

* Fix win build

* Revert Broadcast/AutoBroadcast changes

* codestyle

* fix FronEnd class

* fix ngraph_cpp_api.config

* fix incorrect merge, codestyle

* fix conversion extension

* conversion extension

* codestyle

* merge master

* fix build

* refactoring; revert broadcast/autobroadcast changes

* codestyle

* fix MacOS config

* resolve merge conflicts

* refactor includes

* register ConversionExtension in FrontEnds

* move get_op_type to base NodeContex class

* set op_translator map in ctor of Paddle FE; fix unit tests

* update unit tests; codestyle

* codestyle

* preliminary version of conversion extension in pybind

* conversion extension

* get_attribute_as_any method for NodeContext

* move get_attribute methods to NodeContext base class, rename get_ng_input to get_input

* add missed file

* Implement ov::Any getter in ONNX NodeContext

* fix py bindings

* Add update ConversionExtension unit tests, add SO unit tests, fix TF FE

* fix segfault on destructor

* fix NodeContext interface, fix unit tests

* set different names for ConversionExtensions in unit tests

* fix PaddleFuzzy tests

* fix Paddle Fuzzy tests

* revert changes in generate_slice.py

* fix codestyle

* fix pybindings

* revert local changes in generate_slice.py

* delete duplicate exceptions.hpp

* Refactoring: fix names according to convention

* pybinding for NodeContext, FrontEnd, ConversionExtension; fix unit tests; implement new unit tests

* Refactoring

* fix the case when a new converter rewrites existed one; delete unnecessary NodeContext from pybindings; use CreatorFunctons from the base class in ConversionExtension; update unit tests

* Revert local change

* PythonAPI: fix get_attribute method; fix get_input method; implement support of dtype and default attributes

* Fix py unit tests: add support for vector<ov::element::Type> as attribute

* resolve review comments

* fix unit tests

* move extension_holder to openvino/frontend/extension folder

* fix build on mac os

* temporary disable cast from vector<bool> to investigate issue on mac os

* Resolve review comments

* Resolve review comments

* Use dev API for .so extension

* Link frontends to pyopenvino as separate targets

* Temporary enable tf fe installation

* ignore PEP8 E402 for init files, set correct directory for py modules

* revert local changes

* Fix deadlock in pybind GIL; fix Win build; fix PEP8

* fix PEP8

* Add a return type annotation

* fix builds; fix ON/OFF switcher for ENABLE_OV_xxx_FRONTEND cmake options

* Fix the issue with ifdefs on WinOS; fix the issue related to pybindings and static c++ object

* fix python unit tests

* fix static build on WinOS

* Retrigger CI builds

* Fix static build on Windows

* fix static build on Windows again

* Retrigger CI

* delete unused includes; add a comment about issue on MacOS

* fix missprint

* resolve review comments

* fix missprint

* resolve review remarks

* Resolve review comments

* win win wheels build

* resolve review comments
2022-01-20 20:44:31 +03:00
Anton Chetverikov
ff6a9a1179 [MO] Fix normalize_outputs MaxPool function condition (#9613)
* Fix condition to correct handling MaxPool1 with only 1 output port

* Update check condition

* Add unit tests

* Sort imports

* Add comment
2022-01-20 19:52:42 +03:00
Gleb Kazantaev
61762fbaf0 Update Transformations For Dynamic cases (#9803)
* Dynamic support

* Update transformations
2022-01-20 19:48:29 +03:00
Krzysztof Bruniecki
68ef22a53d Add CNN1D limitation for stride > filter, add negative tests, simplify (#9506)
Pad filter when effective stride > filter
    Add tests with stride bigger than filter
    Add stride not aligned to 8 from review
2022-01-20 19:14:44 +03:00
Evgeny Talanin
ae648614d9 Revert "OMZ submodule update. (#9771)" (#9802)
This reverts commit d98909289a.
2022-01-20 17:32:22 +03:00
Mikhail Nosov
7126bef2be [Python Bindings] Frontend test for telemetry extension (#9768)
* Python bindings - test for telemetry extension

This also ensures that actual 'Telemetry' object containing callbacks is still alive even there is no explicit Python objects holding it

* Fix pylint

* fix clang-format
2022-01-20 16:44:54 +03:00
Nikita Malinin
ed634bd18e [POT] Tests & References update (#9694)
* Enable disabled tests

* Update references

* Update references

* Update passes.py for FP16 graph

* Update precision for nightly mobilenet

* Update references

* Update refs and disable model

* Update nightly refs

* Update nightly

* Revert mbv2 sanity gold
2022-01-20 16:23:00 +03:00
Ilya Lavrenov
8f3d030d79 Removed ov::runtime namespace (#9781)
* Removed ov::runtime namespace

* clang-format

* Fixes

* template reference

* Fixes
2022-01-20 16:17:57 +03:00
Smirnov Grigorii
29c3b8e201 Update SmartReshape tests to check tensor and node names (#68694) (#9633)
* add name checks but some tets in sss fail

* delete <utility> header

* update SS squeeze tests

* move util functions and correct node replacement

* delete anonymous namespace
2022-01-20 15:29:29 +03:00
Alexander Zhogov
686dad066a CODEOWNERS: Add IE Paddle frontend 2022-01-20 14:32:43 +03:00
Alexander Zhogov
850bf4a025 dependbot: Disable creating PRs 2022-01-20 14:14:00 +03:00
Sergey Lyubimtsev
9ead9b4831 Remove test_utils package from distributions (#9780) 2022-01-20 13:27:51 +03:00
Evgenya Stepyreva
b18d0644c4 Dim tracking essentials (#9559)
* Dim tracking essentials
2022-01-20 12:31:22 +03:00
Sergey Shlyapnikov
89868df352 [GPU] Fix eltwise's inputs indexes calculation and order of dimensions (#9778) 2022-01-20 11:15:40 +03:00
Wilson Seok
22fae50229 Add slt in template plugin/region yolo (#8886)
* Remove fp16 of Convert layer test from skip_tests.config.cpp as it works now

* update repo

* add op reference test of region_tolo

* add type_prop test and remove backend test of region_yolo

* apply type conversion for loading file test and add bf16 test case in skip_test_config

* change location of compile definition under target and use path_join from file_util

* add dependency of test_model_zoo

* apply ov::Model

* remove unnecessary

* changed compile definition of TEST_FILES

* skip test cases of external test file

* remove test cases of importing data file
2022-01-20 09:27:42 +03:00
Mikhail Kozlov
42309d1a65 Change name of vpux plugin (#9744) 2022-01-20 09:01:55 +03:00
Anton Romanov
d554713bf9 Enable python tests (#9623) 2022-01-20 01:09:54 +03:00
Vitaliy Urusovskij
1ae0618dee Fix memleaks caused by SetupDiGetClassDevs() (#9746)
To prevent leaks, object should be cleaned up
by calling SetupDiDestroyDeviceInfoList()
Refer to https://docs.microsoft.com/en-us/windows/win32/api/setupapi/nf-setupapi-setupdigetclassdevsw#remarks
2022-01-19 23:54:59 +03:00
Ekaterina Matrosova
d98909289a OMZ submodule update. (#9771) 2022-01-19 23:00:42 +03:00
Mikhail Nosov
9f2cb8e102 [PyBind] Fix crash on destroying dtype_to_ov_type static map (#9772)
* Use std::string for static map instead of py::str

Probable reason is that this static map is destroyed after 'pybind' module is destoryed itself, thus py::str can't be cleaned up properly

* Added test via 'subprocess' execution of separate file
2022-01-19 21:01:18 +03:00
Yuan Hu
403339f8f4 [AUTOPLUGIN] not select if only one device (#9730)
* if only one Device, not select

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

* modify test case to match logic

Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com>
2022-01-19 17:13:29 +03:00
River Li
d792545365 [PYTHON] Add python APIs for loadNetwork and compile_network without device name (#9536)
* [PYTHON] Add python APIs for loadNetwork and compile_networt without device name

   CVS: https://jira.devtools.intel.com/browse/CVS-75249

Change-Id: Ia28e35f4ee66fc8fc5997b5bafe1b159670f9a21
Signed-off-by: River,Li <river.li@intel.com>

* Fix clang issue

Change-Id: I9988b16863af0e3883e99369f124cd05761d3210

* Fixed positional arguments issue

Change-Id: I6c3aa98bb693a619fa54fd6e96cf5eb89cdb9369

* Fixed 2 blank lines issue

Change-Id: I7f2afd7ebb80867a69d0c3ac9a6d4a38d95edb12

* Set AUTO as default device if no device name is set

Change-Id: Ic8646b12af0a2ab2fec6a07f5a12d460dcf781d7

* Resolve comments from code reviewer

Change-Id: Ia47faeb48937096e41e22ac59fbd88ec82cc6733
2022-01-19 16:09:15 +03:00
Maxim Andronov
204ca99dac [CPU] Migration to API 2.0 (#9456) 2022-01-19 14:45:28 +03:00
Maxim Shevtsov
81685c8d21 Enabling auto batching for the GPU when tput hint is set (#9724)
* moving the HETERO logic to the Auto-Batch (WIP), reverting to the ALLOW_AUTO_BATCHING and using that in the GPU remote tests

* shortned the vars names in the ie_core and prevented recursive auto-batching calls by checking for exclusive requests and disabling further auto-batching in the plugin, when HETERO is involved

* checking for the batch-dim presence (this is still WA until the https://github.com/openvinotoolkit/openvino/pull/9559 is merged) - pls see CVS-75317
+clang for the ie_core.cpp

* moving the HETERO logic back to the ie_core.cpp, storing the _so internally for no-batch code-path
2022-01-19 14:05:13 +03:00
Tomasz Dołbniak
59456efbfa Use ninja in the OV-ONNX CI build stage (#9685) 2022-01-19 13:14:31 +03:00
Nesterov Alexander
81d45c0c6e Init arm ci (#9757) 2022-01-19 13:12:59 +03:00
Alexander Zhogov
b8bea9a034 CODEOWNERS: Rename multi->auto plugin 2022-01-19 13:03:02 +03:00
Sofya Balandina
6d14875387 [IE TEST] Fix missing falls of HoldersTest in case of crash (#9277) 2022-01-19 12:21:42 +03:00
Mingyu Kim
de4bd44a38 [benchmark_app] Fix spacing (#9759) 2022-01-19 12:16:40 +03:00
Sergey Shlyapnikov
0a225c2d84 [GPU] Fix fusions indexes calculation in b_fs_yx_fsv32 pooling kernel (#9756) 2022-01-19 11:18:53 +03:00
Mikhail Nosov
690e7a5958 Local build seems good today (#9402) 2022-01-19 11:15:40 +03:00
Maxim Vafin
32b1c509d5 Fix data type of inserted constants for means and scales (#9741) 2022-01-19 11:09:22 +03:00
Vladislav Volkov
483fe51f71 [CPU] Fusing of transpose and reorder is disabled for dynamic shapes (#9705) 2022-01-19 10:50:19 +03:00
Victor Kuznetsov
6a9519be8a Update list of OMZ models for stress tests (#9750)
* add performance hint to time infer

* del octave model
2022-01-19 10:09:49 +03:00
Vladimir Paramuzov
57e918c7b2 [GPU] Added WA for wrong TensorDesc in InferRequest for some outputs (#9734) 2022-01-19 13:06:53 +09:00
Maxim Gordeev
ec3283ebe1 [IE SAMPLES] activated NCC tool for c++ samples (#9600)
* [IE SAMPLES] activated NCC tool for c++ samples

* exclude ov_ncc_naming_style for tests

* fixed NCC hit

* Added support for source files in samples

* changed style of methods for benchmark

* changed style for speech sample

* changed code style

* changed code style for shared_tensor

* benchmark changes

* changed remote_tensors_filling

* fixed notes

* rebase of branch
2022-01-19 01:08:07 +03:00
Alexey Suhov
a79830cb55 Update year to 2022 in copyright notice (#9755) 2022-01-19 01:07:49 +03:00
Dmitry Pigasin
071dc5aef6 [IE Python Speech Sample] Fix problem with different utterance names in input files (#9678)
* Fix problem with different utterance names in input files

* Update file utils

* Change cw arg errors to pass tests

* refactor variable names
2022-01-18 23:21:25 +03:00
Alexey Lebedev
9a59e871eb [PYTHON API] fix hash operator for ports (#9673)
* Fix get_node call

* Add operators and define hash

* rename infer request property

* add new line

* remove unused var

* Move tensor getters to InferRequestWrapper

* check node hash

* add new line

* fix samples

Co-authored-by: Anastasia Kuporosova <anastasia.kuporosova@intel.com>
2022-01-18 21:09:03 +03:00
Mateusz Tabaka
aae5fbf8e9 Allow non constant pad_value in PadFusion's pattern (#9740)
Useful in cases when pad_value is a subgraph marked as decompression
which cannot be constant folded, but still, Pad can be eliminated
if pad_value evaluates to zero.
2022-01-18 18:28:42 +01:00
Sofya Balandina
832b5d0f60 [IE TEST] Fix converiting to constant in applying of meta info (#9666) 2022-01-18 19:08:20 +03:00
Bo Liu
d520e5558f add hardware support description for Paddle models (#9731)
* add hardware support description for Paddle models

* fix 'Fast-SCNN' name
2022-01-18 18:40:03 +03:00
Nadezhda Ageeva
d09c09d9fd [GNA] Deprecate GNA_SW mode (#9738) 2022-01-18 18:26:55 +03:00
Mateusz Bencer
0843555ff0 switch onnx to default path for MO (#9661) 2022-01-18 16:01:10 +01:00
Indira Salyahova
0082c7a286 [POT] set shape in FBC if undefined dimension in model (#9532)
* fix: set shape in fbc if undefined dimension in model

* Update tools/pot/openvino/tools/pot/algorithms/quantization/fast_bias_correction/algorithm.py

Co-authored-by: Liubov Talamanova  <piccione-mail@yandex.ru>

* Apply suggestions from code review

Co-authored-by: Liubov Talamanova  <piccione-mail@yandex.ru>

* update shape in bc id dynamic shape

Co-authored-by: Liubov Talamanova  <piccione-mail@yandex.ru>
2022-01-18 17:48:30 +03:00
Tomasz Dołbniak
456a5c65e3 Friendly names setting in ONNX FE (#9682) 2022-01-18 17:46:23 +03:00
Mateusz Tabaka
79e442eea6 [VPU] Convert precisions on input/output blobs (#9115) 2022-01-18 15:43:27 +01:00
Andrey Noskov
0824bc65d1 [GNA] Deleted logs from test (#9721)
* [GNA] Deleted logs from test

* removed commented code

Co-authored-by: Mikhail Ryzhov <mikhail.ryzhov@intel.com>
2022-01-18 16:01:37 +03:00
Mateusz Tabaka
14f525e96e Fix FakeQuantizeMulFusion on weights (#9515) 2022-01-18 13:44:33 +01:00
Ivan Vikhrev
41aadfd116 remove ifdef opencv related to load & dump configs (#9736) 2022-01-18 14:08:45 +03:00
Fedor Zharinov
14f8614da6 Benchmarkapp: Added processing of inputs/outputs by index (#9703)
* Added processing of inputs/outputs by index

* fix

* All tensor's get_friendly_name are replaced with get_any_name

* stylefix
2022-01-18 13:40:54 +03:00
Maxim Vafin
96e7ee58e1 Optimize and simplify ConvertCompressedOnlyToLegacy transformation (#9702) 2022-01-18 13:30:28 +03:00
Mateusz Bencer
5fe228bc14 Intorduce json model analysis feature on the new path (#9618) 2022-01-18 11:18:19 +01:00
Ilya Churaev
a8381f71f9 Fixed coverity issue for inference component (#9688)
* Fixed coverity issue for inference component

* Removed noexcept
2022-01-18 12:43:10 +03:00
Gleb Kazantaev
18eaaedb39 Fix If operation validation function (#9726) 2022-01-18 12:41:50 +03:00
Egor Duplensky
3a9dba7362 [CPU] [DEBUG CAPS] Implicitly enable perf counters for verbose mode (#8754)
Also refactor debug capabilities configuration.
Now debug caps config parameters are the part of plugin configuration.
2022-01-18 12:32:53 +03:00
Svetlana Dolinina
71b7c7000a Changed permutes mechanics for Kaldi (#5744)
* changed permutes

* fixed permutes

* fixed kernel

* fix transpose after convolution

* fix for convnet

* insert transposes for all convolutions and poolings

* refactor transformations;
added unit tests;
removed old transformations for addinf permutes/reshapes

* fixed constant types

* fixes after merge

* fixed bug for rm_cnn4a: added correct time_dim for the first convolution

* added fix for timeheightconvolution: in this case we have correct time set in convolution kernel already

* minor review fixes: renamed transformation and file

* rename in test

* rename in test

* sort imports + couplt changes in comments

* review fixes: refactoring

* replaced recursive implementation by nx.topological_sort;
fixed comments

* minor fixes: comment + preserving node names
2022-01-18 12:10:51 +03:00
Anton Chetverikov
919ada63ad Update undefined dimensions parcing im parameter extender (#9699) 2022-01-18 12:02:30 +03:00
Katarzyna Mitrus
18309852ba Update Model::reshape to rethrow currently handled exception (#9723)
* Update Model::reshape to rethrow the currently handled exception

* Set expected type of exception in TestInvalidReshape
2022-01-18 11:49:02 +03:00
Tingqian Li
89f4a569d5 [CPU] Reuse the new nGraph shape infer functionality to the MKLDNN plugin (#9220) 2022-01-18 11:46:35 +03:00
Tingqian Li
822cb48a1e [CPU] Add cache support to transpose node (#9513)
* Add cache support to transpose

* Re-enable test case

* comments apply
2022-01-18 11:29:32 +03:00
Ivan Vikhrev
a2cf98bebb [IE Samples] json configuration reader and dumper for benchmark_app (#9648)
* added load_config and dump_config functions implemented with json library

* add warning, upd readme

* Update samples/cpp/benchmark_app/README.md

Co-authored-by: Fedor Zharinov <fedor.zharinov@intel.com>

Co-authored-by: Fedor Zharinov <fedor.zharinov@intel.com>
2022-01-18 11:22:47 +03:00
Nadezhda Ageeva
eb9e2c986a GNA: move transformation test (#9716) 2022-01-18 11:17:21 +03:00
Yegor Kruglov
9b129b7c1a [MO] Support MXNet Operations: batch_dot, LayerNorm, div_sqrt_dim (#7641)
* Add new operation support

* Update range_like replacer

* Move layer normalizer to middle

* Update bom file

* Update bom

* removed ArangeLike op

* updated bom

* added tests

* Updated docs

* comments relolving

* resolve documentation merge conflict

* arange_like op

* Revert "arange_like op"

This reverts commit a30f5bbb48.

* fixes in div_sqrt_dim

* comments resolving

* updated tests

* added batch_dot and layer_norm descriptions

* updated batch_dot comment

* updated comment

* move extractors to mxnet folder

* added replacer for batch_dot

* Revert "added replacer for batch_dot"

This reverts commit 8c0e52f7dc.

* return fully connected normalization

* fix typo

* updated fully connected normalization for mxnet

* changed assert message

* fixed gamma and beta shape incompatibility problem

* fixed imports, updated unittest

* resolve comments

Co-authored-by: iimironov <iliya.mironov@intel.com>
2022-01-18 11:12:30 +03:00
Tingqian Li
ff2df42339 [CPU] Add cache support for normalize (#9508) 2022-01-18 10:06:52 +03:00
Vladimir Paramuzov
4c36f8d16d [GPU] Allow 3d fsv16 layout for quantize and reduce prims (#9697) 2022-01-18 09:44:16 +03:00
Maxim Andronov
dd8a073aa4 [CPU] FullyConnected leftovers (#9621) 2022-01-18 09:14:29 +03:00
Mikhail Nosov
26f222dea5 [Tests] Graph comparator - take sinks into accounts (#9695)
* Graph comparator - take sinks into accounts

Previously graph has been traversed only from Results, so any differences in 'Sinks' were not detected

* Fix functional tests

* Update after internal discussion

* Fix low_latency_test (addition to low_latency_v2_test)

* Fix typo
2022-01-18 09:01:05 +03:00
Gleb Kazantaev
72942471de Added MO root directory search to simplify MO execution process (#9681)
* Added MO root directory search to simplify MO execution process

* Update sys.path

* Simplify implementation
2022-01-18 01:58:22 +03:00
Sergey Lyubimtsev
5ebbad9bcf Fixes for scripts (#9640)
* fixes for scripts

* reduce to warning python bitness check
2022-01-17 21:54:05 +03:00
Nikolay Tyukaev
a6c97000c5 update requirements (#9714)
* update requirements

* fixes
2022-01-17 17:38:15 +03:00
Ilya Churaev
6c0cddec78 Removed redundant sources from core component (#9689)
* Removed redundant sources from core component

* Fixed CC build

* Removed redundant includes
2022-01-17 16:16:03 +03:00
Maxim Shevtsov
7ca9641ead Auto batch ov2.0 API support+tests (#9672)
* additional OV 2.0 tests for Auto-Batching

* adding 2.0 way of creating the requests

* performance counters support
2022-01-17 16:00:35 +03:00
Yuan Hu
580a0f30eb [AUTOPLUGIN] Add format string checker for log information (#9592)
* add limit format on snprintf

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

* add limit on format

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

* add test case

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

* fix a bug for LOG_TRACE

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

* remove debug info
2022-01-17 14:50:01 +03:00
Anton Chetverikov
394e5c5515 Change nGraph serializer behavior for dynamic dimensions (#8526)
* Change dynamic_to_static to dinamic_to_undefined function to use -1 values instead of upperbounds in serialized IRs

* Resolve conflict after src files transition

* Remove resolve_dynamic_shapes function

* Fix typo

* Fix codestyle
2022-01-17 14:43:09 +03:00
Nadezhda Ageeva
56581dbe2e [GNA] Support new kaldi irs (#9474)
* Support new kaldi IRs (generated in NHWC layout)

* Update tests with activation and fq

* Cleanup

* Fix reordering FQ and MaxPool and problem with overflow

* Fix win

* Update src/plugins/intel_gna/transformations/unfuse_reshape_and_transpose.hpp

Co-authored-by: Elizaveta Lobanova <elizaveta.lobanova@intel.com>

* Update src/plugins/intel_gna/transformations/unfuse_reshape_and_transpose.cpp

Co-authored-by: Elizaveta Lobanova <elizaveta.lobanova@intel.com>

* Update inference-engine/tests/unit/gna/ngraph/transformations/gna_unfuse_reshape_and_transpose.cpp

Co-authored-by: Elizaveta Lobanova <elizaveta.lobanova@intel.com>

* Code review

Co-authored-by: Elizaveta Lobanova <elizaveta.lobanova@intel.com>
2022-01-17 14:16:23 +03:00
Andrey Somsikov
3c7589184d Do not force gold linker for sanitizer builds (#9680)
Gold linker fails to link tests built with sanitizer
2022-01-17 13:14:42 +03:00
Maksim Shabunin
76a74f3f2d Fixed compilation of user code with VS2015 (#9644) 2022-01-17 12:53:28 +03:00
Eugeny Volosenkov
0948a54f53 yolov4 conversion documentation is incorrect (#9143)
* Rewrite doc

* added addition info abot weights and cfg files

* fix path to cfg and weights

* fix description

* fix description

* fix description

* fix description

* fix description

* fix description
2022-01-17 12:32:18 +03:00
Luwei Zhou
a76483ddb2 [CPU] Enable CPU plugin cache for ShuffleChannels and SpaceToDepth (#9556)
* Space to depth.

* Shuffle Channels RT cache.

* Update

* Apllied reivew comments.

* Applied review comments.
2022-01-17 12:28:30 +03:00
Svetlana Dolinina
0ed3da0e86 add warning about order if both mean and scale set (#9284)
* add warning about order if both mean and scale set

* Update tools/mo/openvino/tools/mo/main.py

Co-authored-by: Anastasia Popova <anastasia.popova@intel.com>

* removed warning, added phrase in documentation

* fixed merge

* added phrase about order of ,mean and scale in MO help

* duplicate MO help phrase in doc

* Update docs/MO_DG/prepare_model/convert_model/Converting_Model.md

Co-authored-by: Anastasiya Ageeva <anastasiya.ageeva@intel.com>

* Update docs/MO_DG/prepare_model/convert_model/Converting_Model.md

Co-authored-by: Anastasiya Ageeva <anastasiya.ageeva@intel.com>

* Update docs/MO_DG/prepare_model/convert_model/Converting_Model.md

Co-authored-by: Anastasiya Ageeva <anastasiya.ageeva@intel.com>

* Update tools/mo/openvino/tools/mo/utils/cli_parser.py

Co-authored-by: Anastasiya Ageeva <anastasiya.ageeva@intel.com>

* Update tools/mo/openvino/tools/mo/utils/cli_parser.py

Co-authored-by: Anastasiya Ageeva <anastasiya.ageeva@intel.com>

* remove tabs

* fix in order of reverse, mean, scale

Co-authored-by: Anastasia Popova <anastasia.popova@intel.com>
Co-authored-by: Anastasiya Ageeva <anastasiya.ageeva@intel.com>
2022-01-17 12:12:06 +03:00
Mikhail Letavin
f2be2c915f [GPU] Implement dynamic shape case support for one dimension only (batch) via legacy dynamic batch functionality (#9314) 2022-01-17 12:02:52 +03:00
Sergey Lyubimtsev
98cbaf0f08 align numpy version range for openvino wheel package (#9669) 2022-01-17 12:00:04 +03:00
Anastasia Kuporosova
8f12b72f46 [Python API] Rename offline_transformations in the new api (#9634)
* [Python API] Rename offline_transformations in the new api

* remove comments

* one more place to rename

* fix mo building

* fix after merge

* fix for pot import
2022-01-17 11:57:00 +03:00
Krzysztof Bruniecki
97df59a4ab [GNA] Restore deprecated options for GNA Plugin (#9611)
* Restore deprecatet options for GNA Plugin

* Apply review use INFERENCE_ENGINE_DEPRECATED macro

* Deprecate PWL_UNIFORM_DESIGN and PWL_MAX_ERROR_PERCENT

* Add doxygen deprecation message

* Use string for deprecated config keys to avoid compile time errors

* Use IE_SUPPRESS_DEPRECATED_START

* Fixup lint

* Fix indentation

* Usue future release instead 2022.2 in deprecated message, supress deprecation error in tests

* Fix test
2022-01-17 10:32:02 +03:00
Vladimir Paramuzov
1fc013208d [GPU] Integer floor and floor_mod support (#9629) 2022-01-17 10:14:51 +03:00
Ilya Churaev
3d4e82dcd1 Added new tests for tensors element types (#9667) 2022-01-14 22:59:08 +03:00
Andrey Noskov
5ad242ecce [GNA] Added reset before and after export (#8900)
* [GNA] Added reset before and after export

* [GNA] Added query states check
2022-01-14 19:06:44 +03:00
Daniil Lyakhov
4693f7b854 [Offline Transformations] EfficientNet_b0 Pruning Transformation Enabling (#8926)
* Add include guard to file_utils.cpp

* Rebase src

* Rename acc tests, fix rebase

* Revert debug changes

* Fix linter

* Move ac tests to new template

* Test updated

* Fix result operation are sharing output tensor with previous op

* Pruning test visualzation option

* Add ac support for all test cases with pruned kernels

* Remove redundant files

* Enable extended pruning logging by env variable

* Adjust pruning tests

* Remove pruning extended debug env var

* Enable init masks only in debug mode

* Set result mask to input tensor instead of output tensor by separate key

* Bug fix / Test coverage

* Fix comments
2022-01-14 18:43:38 +03:00
Vladimir Paramuzov
4734b17e52 [GPU] Fixed USM shared blob allocation type (#9662) 2022-01-14 14:35:08 +00:00
Daria Mityagina
c1e2e0344b [ICV] Add flag to prevent IE from booting MX VPU (#9447)
An additional option whose purpose is to prevent the booting of the MX VPU when we want to generate some blobfile.
2022-01-14 17:15:51 +03:00
Irina Efode
720f78ebde [IE TESTS] Skip tests with Default device (#9643)
* [IE TESTS] Skip tests with Default device

* test
2022-01-14 16:56:53 +03:00
Jan Iwaszkiewicz
e1696deb3a [PYTHON] Expose If, Loop and TensorIterator API (#9603) 2022-01-14 14:30:30 +01:00
Roman Lyamin
baa1a8e59d [GPU] Add batching buffer to new API (#9565) 2022-01-14 16:02:19 +03:00
Wang, Yang
c7d216db13 passing by reference to fix performance inefficiencies. (#9590)
* passing by reference to fix performance inefficiencies.

Signed-off-by: Wang, Yang <yang4.wang@intel.com>

* Passing by const reference.

Signed-off-by: Wang, Yang <yang4.wang@intel.com>
2022-01-14 15:33:58 +03:00
Jade Cho
9e01cbd532 [GPU] fix a minor bug of dump graph (#9659) 2022-01-14 15:06:58 +03:00
Tomasz Dołbniak
8b1514d49e Set additional tensor names only if necessary (#9652) 2022-01-14 12:44:50 +01:00
Anton Dudchenko
eb299f819e [IE][VPU] Rename and move VPU plugin to src/plugins (#9110)
* [IE][VPU] Rename and move VPU plugin to src/plugins

* Update some dependencies

* Change .md

* Update some dependencies

* Update some dependencies (again)

* I'll rename this one

* Remove ENABLE_MYRIAD arg

* Update XLink.cmake

* Update thirdparty CMakeList

* Minor fixes
2022-01-14 14:02:08 +03:00
Edward Shogulin
bd97d1edc6 [LPT] SharedValueAttribute extending (#9534)
* [LPT] SharedValueAttribute extending

* [LPT] tests + comments
2022-01-14 13:33:07 +03:00
Sergey Lyubimtsev
0ff88458f9 fix PyPI upload error: Invalid value for classifiers. Error: Classifier 'OSI Approved :: Apache Software License' is not a valid classifier. (#9656) 2022-01-14 13:09:12 +03:00
Anton Chetverikov
f4b0d40cd0 [MO] Skip rt_info in old graph comparator (#9638)
* Skip rt_info while graph comparing

* Remove incorrect comparing for rt_info
2022-01-14 12:49:12 +03:00
Anton Pankratov
790f02c0b1 Hetero creates single result node (#9572) 2022-01-14 12:26:39 +03:00
Nadezhda Ageeva
12ab842970 [GNA] Deprecate GNA_LIB_N_THREADS and SINGLE_THREAD parameters + sample update (#9637)
* Deprecate GNA_LIB_N_THREADS and SINGLE_THREAD parameters

* Remove deprecated options from sample

* Fix speech sample test

* Adds doxy deprecated comment
2022-01-14 12:20:36 +03:00
Mingyu Kim
645c44459c [GPU] Add formats for crop (#9660) 2022-01-14 12:19:18 +03:00
Vladislav Golubev
c734100ec5 [Transformations] SkipGather transformation (#9627)
* [Transformations] SkipGather transformation implemented

* review fixes
2022-01-14 12:17:03 +03:00
dependabot[bot]
29d57ad0a8 Bump tox from 3.23.1 to 3.24.5 in /src/bindings/python (#9497)
Bumps [tox](https://github.com/tox-dev/tox) from 3.23.1 to 3.24.5.
- [Release notes](https://github.com/tox-dev/tox/releases)
- [Changelog](https://github.com/tox-dev/tox/blob/master/docs/changelog.rst)
- [Commits](https://github.com/tox-dev/tox/compare/3.23.1...3.24.5)

---
updated-dependencies:
- dependency-name: tox
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-14 11:55:53 +03:00
Mateusz Tabaka
954172a010 [GPU] Don't optimize crop if its user is a reshape that can be optimized (#9537)
Crop uses more eltwise assign kernel which yields better performance than reshape_ref.
2022-01-14 11:51:02 +03:00
Vitaliy Urusovskij
583d97314a Remove skip for smoke_SetBlobCPU*PrecisionInNet=BOOL* (#9655) 2022-01-14 11:09:35 +03:00
Nikita Demashov
1df9f958e2 [LPT]MoveFakeQuantize resolved minor comments (#9614)
* Q/DQ + mulichannel support

backup

fix interval

mfk_functiun.cpp

WIP moveDequantizationBefore

add moveDequantizationBefore function

add cpu and gpu tests

attribute cmp false

attribute cmp false

rm temp line

mkl-dnn update

concat with multichanels for mOve_fake_quantize_function, bad runtime info for q/dq

rm extra qualification

fix run time info for q/dq

add support of multichanel fakequantize, bad test for it

work tests for multi chanel FQ

rm workaround

cpplint fix

cpplint fix

don't worl Variadic split

ieFuncTest work

cpuFuncTest work

Fix benchmark_app build (#7577)

[GPU] Added onednn dependency. (#6564)

cpp lint

cpplint

fix get_shape

fix fq constants

cpp lint

some fix in mfk.cpp

resolve conversations, add spil_nodes function

add new tests for multi-chanels, rename NetworkHelper::split_consts_before_concat()

fix get fq constants

* add new multi-chanels test and use constant_fold to split constant

* remove extra spaces

fix namespase terminated

fix namespase terminated

* resolved minor comments

* added check for convert_q
2022-01-14 10:40:10 +03:00
Nikolay Shchegolev
77c2c5fab3 [CPU] RNN node kernel caching. (#9588) 2022-01-14 09:28:05 +03:00
Luwei Zhou
d5fb0a0c24 [CPU] Enable Reorder node run time cache. (#9490) 2022-01-14 09:20:18 +03:00
Tomasz Dołbniak
320c89f0ab Obsolete xfail for 38722 (#9653) 2022-01-14 08:25:26 +03:00
Luo Cheng
68d8ca8060 MulticlassNms/MatrixNms: ngraph op support FP16 output (#9481)
* recover overwritten code in #8520

* support fp16

* update spec

* apply review comments

* support dynamic type check
2022-01-14 07:54:32 +03:00
Pavel Zamelin
2e59029e68 Fix build error with -DBUILD_SHARED_LIBS=OFF (#9639)
* Add _ov_frontends_hpp dependency to frontend_common_obj

* Move _ov_frontends_hpp dependency to frontend_common_obj
2022-01-14 07:53:14 +03:00
Ilya Lavrenov
9ef48cbe6d Moved NCC check to U20 (#9631) 2022-01-14 07:50:55 +03:00
Ilya Lavrenov
5affdc3284 Added NCC support for source files (#9630) 2022-01-14 07:50:30 +03:00
Vladislav Golubev
1f241277f4 [ngraph] Add UnsqueezeConcatReduceFusion transformation (#9183)
* [ngraph] Add UnsqueezeConcatReduceFusion transformation

* Quick refactoring & build fix

* Transformation disabled in the GNA Plugin

* Review comments applied

* codestyle fix

* test fix

Co-authored-by: Aleksandr Pertovsky <aleksandr.pertovsky@intel.com>
2022-01-14 07:36:55 +03:00
mei, yang
e6d062e395 remove option ENABLE_SHUTDOWN_PROTOBUF (#9619)
* remove option ENABLE_SHUTDOWN_PROTOBUF

* shutdown protobuf library is enabled automatically if protobuf is used in frontend
2022-01-14 05:02:26 +03:00
Mingyu Kim
11cb8ebf55 [GPU] New debug option to serialize execution of inferences (#9510) 2022-01-14 10:24:40 +09:00
Mateusz Tabaka
508af22c66 Add CompressQuantizeWeights transformation (#7538)
* Add CompressQuantizeWeights transformation

It's based on model-optimizer/extensions/back/compress_quantized_weights.py

* handle dequantization subgraph after quantization

* fix scale shift calculation

* remove TRANSFORMATIONS_API from CompressQuantizeWeights

* ZeroPointOptimizer

* add CompressQuantizeWeights pass to to ApplyMOCTransformations

* add comment

* fix code style

* cleanup

* ambiguous copy_runtime_info

* ambigous call

* fix case when zero_point is close to zero

* fix cf test case

* move files

* update tests

* add tests for evaluate_subgraph

* Address review comments

* make params static
2022-01-13 23:38:39 +01:00
Fedor Zharinov
6c69535d6c Benchmark_app batch calculation fix (#9554)
* BenchmarkApp - batch size calculation fix

* stylefix

* -ip/op fix

* stylefix
2022-01-13 23:34:38 +03:00
Fedor Zharinov
6a126ac6bb avg statistics calculation fix (#9612) 2022-01-13 22:57:20 +03:00
Anastasia Kuporosova
2944f39bac [Python API] Remove extra version info from get_version (#9645) 2022-01-13 22:38:02 +03:00
Maksim Proshin
ec0dd6051a [POT] Minor correction about OpenSource (#9625)
* Update README.md

* Update README.md
2022-01-13 20:10:34 +03:00
Mateusz Tabaka
8ba339d16f Eliminate no-op elementwise operations (#8840)
* Eliminate no-op elementwise operations

This change adds EliminateEltwise pass to NopElimination.
EliminateEltwise removes:
- Subtract with zero
- Multiply with one
- Divide by one

* add Add support to EliminateEltwise

* fix unit test

* use get_all_data_elements_bitwise_identical instead of get_single_value

* fix are_all_data_elements_bitwise_identical for constant created from HostTensor

* fix lpt tests

* check for mul in is_dequantization_subgraph function

* optimize fetching constant value

* apply review comments
2022-01-13 20:05:47 +03:00
Liubov Talamanova
cde61f2411 [POT] Fix bug with git (#9604)
* [POT] Fix bug with git

* Add UNKNOWN_VERSION constant
2022-01-13 19:56:18 +03:00
Nikita Malinin
0166cb8f5c [POT] New IE API integration (#9004)
* Initial commit for integration

* Apply latest updates

* Update ie_engine for multi input models

* Update reference, pylint fixed, method replacement

* Change for AC 2.0 support

* Update aac_engine with raw data processing

* Update for pylint

* Update model utils

* Disable pylint check

* Update ac_engine with the processing

* Using tensor names instead of friendly names

* Tensor names for all statistics

* BiasCorrection with tensor names

* Remove debug info usage

* Fix for sequential stats

* Fix for the scalar stats

* Update with comments

* Update tests & builder

* Update tests

(cherry picked from commit 5022ce4a4fac230ac11db68f14cd58971fe9b2a2)

* Executable_model -> compiled_model

(cherry picked from commit 0d447ff4917f764df76d9c0c0068277e5e090f3b)

* Update with PartialShapes for reshape

* Update async mode

* Update refs

* Update BC Parameter dtype

* Update simplified with inferqueue

* Disable ssd512 nightly

* BC renaming

* Revert OMZ commit

* Update references

* Update BC algo with the parameter selection

* Update AC config filter

* Pylint fixes

* Update async data

* Update pylint for ie_engine

* Update ie_engine

* Revert refs changes

(cherry picked from commit 4d3530216b3d79c33c3437a7dfcc1140693320c8)

* Update OMZ submodule
2022-01-13 19:21:37 +03:00
Chenhu Wang
b33dcd02c6 fix windows debug test failure (#9635) 2022-01-13 18:53:20 +03:00
Vladimir Paramuzov
20d9d551eb [GPU] Layout API improvement to replace direct named dimension usages from tensor (#9056) 2022-01-13 17:02:13 +03:00
Dawid Kożykowski
5059184789 remove unnecessary warning (#9243) 2022-01-13 14:50:56 +01:00
Vasily Shamporov
b7e8ef910d Fix a paragraph in LPT docs w.r.t mixed precision (#9570) 2022-01-13 15:58:14 +03:00
Ilya Lavrenov
fdee2d5728 Disabled dynamic Windows build in Azure (#9568) 2022-01-13 15:44:04 +03:00
Alexander Zhogov
04c9a55b45 Revert "Deprecate GNA_LIB_N_THREADS and SINGLE_THREAD parameters (#9486)" (#9632)
This reverts commit c06d4e7fb7.
2022-01-13 15:41:15 +03:00
Roman Kazantsev
a53a4da3a2 [MO, Frontends] Implement ChangePlaceholderType as Offline Transformation (#8245)
* [Common FrontEnd] Implement ChangePlaceholderType transformation with OldApiMap

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Add ChangePlaceholderType pass into frontend normalize

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Add a comment about the transformation

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Fix build issue

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Apply code review comments: remove ngraph namespace rountine, etc.

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Remove use of extra Node object in set_old_api_map call

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Create separate pass for legacy nGraph transformations for MO with new frontend

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Fix build for ieFuncTests

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Fix build issue with namespace conflicts

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Revert "Fix build issue with namespace conflicts"

This reverts commit 50a189f4e5.

* Move legacy transformations to ngraph namespace

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Fix build issue with unresolved MOCLegacyTransformation

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Adjust code to new OldApiMap API

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Resolve merge conflicts

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Fix build issue

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Do not set legacy type for parameter in case user defined type

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
2022-01-13 15:29:51 +03:00
Ilya Churaev
f74b9caabb Removed old dynamism API from infer request (#9557)
* Removed old dynamism API from infer request

* Fixed segfault

* Fixed some tests

* Added method to set inputs, outputs

* Fix python tests

* Try to fix window build
2022-01-13 14:54:14 +03:00
Ilya Lavrenov
9fe5165ffa Support of clang-11 (#9620) 2022-01-13 14:31:25 +03:00
Nadezhda Ageeva
c06d4e7fb7 Deprecate GNA_LIB_N_THREADS and SINGLE_THREAD parameters (#9486) 2022-01-13 14:30:41 +03:00
Maxim Andronov
2b996c32ad [CPU] FullyConnected dynamism support (#9380) 2022-01-13 13:18:02 +03:00
Gorokhov Dmitriy
c36afa495e Temporarily disable onnx_if_inside_if unit test on CPU (#9624) 2022-01-13 13:14:37 +03:00
Mikhail Nosov
fc6eff048f Python bindings: expose InputTensorInfo::set_memory_type (#9608)
* Exposing set_memory_type method

* Update quotes
2022-01-13 12:48:26 +03:00
Steve Yoo
a23a398dc0 Add SLT to Template Plugin: NonMaxSuppression-4,3,1 (#9511)
* Add SLT to Template Plugin: NonMaxSuppression-4

* Add SLT to Template Plugin: NonMaxSuppression-4,3,1
2022-01-13 12:42:56 +03:00
Jade Cho
35bcb77182 [GPU] Merge reorder into next onednn conv (#9601)
+ When the format of onednn convolution is bs_fs_yx_bsv32_fsv32, the reorder for dependency primitive of fused eltwise sum is removed.
2022-01-13 18:32:50 +09:00
Sergey Shlyapnikov
bd12648ec0 [GPU] Fix users invalidation and output layout recalculation in graph dump mode (#9439) 2022-01-13 12:29:43 +03:00
mei, yang
6ae0ba481e fix build issue on android on shutdown protobuf (#9615)
* fix build issue on android on shutdown protobuf

* add ie_dependent_option for shutdown protobuf
2022-01-13 11:47:54 +03:00
Mateusz Bencer
080477aa9c MO fallback to old path if some features are not supported yet (#9034) 2022-01-13 09:39:14 +01:00
Vladimir Dudnik
28fb55dffe [IE Samples][OV2.0] final clean up of old API headers (#9494)
* final clean up of old API headers, compile_tool separated from samples

* make cpplint happy
2022-01-13 11:12:20 +03:00
Jade Cho
113014161d Add a gpu func test to compare with ngraph runtime (#9591)
+ Compare conv result of gpu plugin with ngraph result.
2022-01-13 11:03:52 +03:00
Vladimir Paramuzov
ef3df6de03 [GPU] Fixed uninit axis field in pooling prim (#9598) 2022-01-13 10:53:20 +03:00
Vladimir Paramuzov
f68dd90413 [GPU] Get rid of PreAllocator usages to allow setShape (#9576) 2022-01-13 10:52:59 +03:00
Chen Xu
e329baef04 [CPU] Cache for Reduce node (#9519) 2022-01-13 10:42:24 +03:00
Vladislav Golubev
456347e1b6 [Transformations] ConvertDivide disabled transformation for divide ops from precision sensitive subgraphs (#9561)
* [Transformations] Skip ConvertDivide if Divide is on fp16 shapeOf subgraph

* lambda definition moved out of loop

* review fixes
2022-01-13 10:32:44 +03:00
song, bell
282f37cdae fix sporadic crash (#9616)
Signed-off-by: fishbell <bell.song@intel.com>
2022-01-13 10:25:53 +03:00
Zhang Yi
6d3f99c7db [CPU] Pooling & FakeQuantize cache (#9503)
* [CPUCache]Impl FakeQuantize

* [CPUCache]Impl Pooling

* [CPUCache]Fix Pooling ==

* [CpuCache]apply review comments

* [CpuCache]fix pooling ==
2022-01-13 10:25:39 +03:00
Mikhail Znamenskiy
5b40f381cb Fix for benchmark_app: set model stream flags (#9609) 2022-01-13 10:15:33 +03:00
Chenhu Wang
ac45196ce2 [CPU] Interpolate runtime params cache (#9524) 2022-01-13 10:01:02 +03:00
Mang Guo
f562e5572f [CPU] Enable cache for LRN (#9589) 2022-01-13 09:54:00 +03:00
Ilya Lavrenov
c3d2af7501 Fixed CVS-75003 (#9552)
* Fixed CVS-75003

* Allow dynamic shapes
2022-01-13 06:46:52 +03:00
Mingyu Kim
3ae3c8dfb5 [GPU] Enable a network with onednn deconv (#9597) 2022-01-13 12:03:08 +09:00
Indira Salyahova
c597bc8928 [POT] requirements install telemetry library (#9605)
* Update telemetry.py

* Update setup.py

* Update test_telemetry.py

* Update telemetry.py
2022-01-13 03:30:58 +03:00
Ilya Lavrenov
f222814f0c Updated documentation for OV Inference Runtime (#9573)
* Updated documentation for OV Inference Runtime

* Updated documentation

* Fixed comments
2022-01-13 01:05:17 +03:00
Eugeny Volosenkov
00da13b058 Support TF ScatterND and CenterNet (#9257)
* add ScatterND for tf

* Fix ApplyPermutation

* fix description of TFScatterNDDecomposition

* fix permutation

* fix package_POM

* fix pom file

* fix BOM file

* fix bom file

* Added layer tests for TF ScatterND

* fix comments

* fix bom file

* Add additional tests

* Add additional tests

* Added ConvertLike to ScatterND decomposition
2022-01-12 23:15:45 +03:00
Mikhail Nosov
896532ace2 [OV2.0] PrePostProcessor dump to output stream for debugging purposes (#9580)
* Calculate model layout based on 'tensor' layout and convert steps

Previously, 'model layout' is set to '...' by default,
thus no shape conversion happened when tensor layout is set to 'NHWC', then there was explicit convert_layout "NCHW"

Now "model layout" is calculated based on tensor layout and conversion steps:
Examples:
 1) Tensor: NHWC, Convert: NCHW. Result: NCHW
 2) Tensor: NHWC, Convert: 0312. Result: NCHW

* Initial move of tensor data calculation

* Moved 'impls' to new file

* Postprocessing + unit tests

* clang-format fix

* Added more details to preprocessing nodes
- Mean/Scale - will print mean/scale values
- Convert type - will print type
- Convert layout - will print destination layout
- Convert color - will print destination color

It is needed to troubleshoot the problems. If error occurs, message will not display last op's target shape/layout/type

* Add python bindings

* update tests

* Added memory type to dump if set

* Code style fix

* unity build fix

* Dump tensor if only memory type is set

* Added debug print

* Fix Param->Result case

Previously, layout was set by preprocessing set to old parameter as well
This is incorrect because in case of exception layout info will not be reverted

In this case old Result pointed to old Parameter and was able to preserve runtime info

After fixing of this, case Param->Result was broken if revalidation is not triggerred

Fix is to detect 'Result' as a consumer of some parameter and force revalidation in this case

* Revert occasionally committed line

* And one more line
2022-01-12 22:00:32 +03:00
Ilya Churaev
e78ada1178 Introduce dev_api for core component (#9571)
* Introduce dev_api for core component

* Fixed CPU plugin for static build

* Fixed comments
2022-01-12 20:23:18 +03:00
Vladislav Golubev
01689ee408 [CommonOptimizations] SimplifySecondInputOfReshape fix (#9210)
* [CommonOptimizations] SimplifySecondInputOfReshape fix

* GroupedGatherElimination: added Gather v8 support
2022-01-12 17:50:49 +03:00
Alexey Lebedev
4a6575b4b7 [PYTHON API] fix direct access to model input shape (#9562)
* Copy port shape to avoid direct access to shape buffer

* Add __eq__ for shape

* Add tests

* Fix getters

* add __setitem__

* Add a note about copy
2022-01-12 17:48:10 +03:00
Zlobin Vladimir
6840d945c7 omz: catch up https://github.com/openvinotoolkit/open_model_zoo/pull/3060 (#9602) 2022-01-12 17:23:19 +03:00
Alexey Lebedev
0a85417896 [tools] some fixes for python benchmark (#9584)
* rename inference_engine to OpenVINO

* correct exception for batch

* check all inputs to find batch dimension before throwing exception

* correct warning about batch

* avoid set_shape in static case

* refactoring latency output

* message about benchmarking mode

* use new precision naming

* use pass manager instead offline_transformations
2022-01-12 17:22:58 +03:00
Andrey Somsikov
9cf3359958 Add openvino_contrib to coverity scan (#9253) 2022-01-12 16:56:34 +03:00
Maxim Vafin
9fb9e19efa Fix output layout of tf yolo models converted with transformations config (#9583) 2022-01-12 16:25:35 +03:00
Nikita Malinin
cf344a3b73 Change rename_node for fq (#9599) 2022-01-12 12:44:58 +00:00
Mang Guo
171863e3ce [CPU] Enable CPU Plugin cache for roi_pooling (#9502) 2022-01-12 15:21:51 +03:00
Vladimir Zinoviev
b6d60a2c82 [LPT] Support FakeQuantize with convert on intervals (#9579)
* [LPT] Support FakeQuantize with convert on intervals

* [LPT] GPU tests
2022-01-12 14:50:19 +03:00
Ilya Churaev
12d92dfa2d Fixed itt_collector build (#9596) 2022-01-12 14:47:24 +03:00
Nikolay Tyukaev
2990049c93 doc-versions-from-server (#9437) 2022-01-12 14:40:07 +03:00
Mikhail Nosov
a6c9f9aeab Move 'NV12toRGB/BGR' reference evaluates to template plugin (#9548)
* Move 'NV12toRGB/BGR' reference evaluates to template plugin

CPU doesn't need this fallback, so implementation can be moved to reduce core binary size

* Moved evaluate_nv12 to 'runtime::reference'

* Fix arm build
2022-01-12 14:29:03 +03:00
Mateusz Tabaka
8ef08292a6 Reduce number of Reshape operations in RNN sequences decomposition (#9495)
Move Squeeze/Unsqueeze for hidden and cell state outside of tensor
iterator's body. So it's executed once per sequence instead of once
per cell.
2022-01-12 12:10:18 +01:00
Yury Gaydaychuk
b06c0b5c32 [CPU] DS support for Deformable Convolution (#8986) 2022-01-12 14:08:24 +03:00
mei, yang
613facafde ShutdownProtobufLibrary when unload paddle frontend dynmaic library t… (#9442)
* ShutdownProtobufLibrary when unload paddle frontend dynmaic library to fix probuf memory leak

* ShutdownProtobufLibrary if the frontend libraries use protobuf

* make shutdown_protobuf a library
2022-01-12 13:07:51 +03:00
Luwei Zhou
84bf5fa178 [CPU] Enable CPU plugin cache for DepthToSpace. (#9492)
* Enable CPU plugin RT cache for DepthToSpace.

* Applied review comments.

* Applied review comments.

* Apply reivew comments.
2022-01-12 11:43:24 +03:00
Wang, Yang
4546df5091 Enable THROUGHPUT by default for all the devices. (#9107)
* Set THROUGHPUT as the default configration for all the plugin and display the config of the plugin.

Signed-off-by: Wang, Yang <yang4.wang@intel.com>

* updated format.

Signed-off-by: Wang, Yang <yang4.wang@intel.com>

* Update benchmark python API.

Signed-off-by: Wang, Yang <yang4.wang@intel.com>

* Replace str 'THROUGHPUT' with CONFIG_VALUE(THROUGHPUT).

Signed-off-by: Wang, Yang <yang4.wang@intel.com>

* Using CONFIG_VALUE(THROUGHPUT) replace 'THROUGHPUT' string.

Signed-off-by: Wang, Yang <yang4.wang@intel.com>

* update code style.

Signed-off-by: Wang, Yang <yang4.wang@intel.com>

* Move the setting output code into the try block.

Signed-off-by: Wang, Yang <yang4.wang@intel.com>
2022-01-12 11:09:54 +03:00
Mikhail Nosov
26a78fcb5d [OV2.0] Calculate model layout based on 'tensor' layout and convert steps (#9550)
* Calculate model layout based on 'tensor' layout and convert steps

Previously, 'model layout' is set to '...' by default,
thus no shape conversion happened when tensor layout is set to 'NHWC', then there was explicit convert_layout "NCHW"

Now "model layout" is calculated based on tensor layout and conversion steps:
Examples:
 1) Tensor: NHWC, Convert: NCHW. Result: NCHW
 2) Tensor: NHWC, Convert: 0312. Result: NCHW

* Fix for set_shape + resize case
2022-01-12 10:52:02 +03:00
Vitaliy Urusovskij
c1d7535044 Fix proposal_exec in ref impl (#9569)
ROI indices and ROI counter aren't cleaned up, so it led to segfault
2022-01-12 06:18:15 +03:00
Luwei Zhou
5bf44b92e1 [shape_infer]Implement shape inference of DepthToSpace,SpaceToDepth, BatchToSpace,SpaceToBatch (#8465)
* Implement the batch to space shape infer

* Implement the space_to_batch shape inference.

* Implement shape infer of space_to_depth and depth_to_space OPs

* Fix Azure building issue.

* Add namespace for the shape_infer function.

* Avoid using friend declaration for shape infer.

* update coding style issue

* Update based on review comments

* Apply review comments

* Add test cases.

* Update the shape infer flow.

* Fix the bug in the previous test case.

* Update coding style.

* Fix the code bug caused by the DepthToSpace check fix.

* update coding style.

* Implment the Dimension/StaticDimension division operator by a value

* Refine the the code.

* Fix the issue when T is implicitly construct StaticShape with PartialShape when comparing

* Update the CI issue.

* Move the shape_infer helper into src folder.

* Apply the review comments.

* Coding style fix.

* Remove the ngraph folder

* Applied review comments

* Fix CI windows building issue

* Move test into new folder.

* Not support divisor is negative.

* Apply review comments.

* Fix CI issues

* Apply review comments.

* Update

Co-authored-by: Evgenya Stepyreva <evgenya.stepyreva@intel.com>
2022-01-12 00:32:14 +00:00
Vladimir Dudnik
6fbfd96ba0 update open_model_zoo submodule to add telemetry update (#9586) 2022-01-12 00:48:54 +03:00
Mang Guo
8b93880b37 [shape infer]BroadcastV3 and BroadcastV1 shape inference (#8976)
* Implement broadcastv3 shape infer

* Implement BroadcastV1 shape infer

* Use shape_inference in test case

* Fix myriadx test case failure

* Apply review comments

* Change file name

* Apply review comments

* Apply review comments

* Change broadcast bidirection logic to align with master change
2022-01-12 00:33:33 +03:00
Nikita Demashov
dce2aa2c0e [LPT]MoveFakeQuantize Q/DQ (#7430)
* Q/DQ + mulichannel support

backup

fix interval

mfk_functiun.cpp

WIP moveDequantizationBefore

add moveDequantizationBefore function

add cpu and gpu tests

attribute cmp false

attribute cmp false

rm temp line

mkl-dnn update

concat with multichanels for mOve_fake_quantize_function, bad runtime info for q/dq

rm extra qualification

fix run time info for q/dq

add support of multichanel fakequantize, bad test for it

work tests for multi chanel FQ

rm workaround

cpplint fix

cpplint fix

don't worl Variadic split

ieFuncTest work

cpuFuncTest work

Fix benchmark_app build (#7577)

[GPU] Added onednn dependency. (#6564)

cpp lint

cpplint

fix get_shape

fix fq constants

cpp lint

some fix in mfk.cpp

resolve conversations, add spil_nodes function

add new tests for multi-chanels, rename NetworkHelper::split_consts_before_concat()

fix get fq constants

* add new multi-chanels test and use constant_fold to split constant

* remove extra spaces

fix namespase terminated

fix namespase terminated
2022-01-11 22:49:16 +03:00
Smirnov Grigorii
e9be93aec5 try to delete header and cpp file (#9543) 2022-01-11 22:10:50 +03:00
Anastasia Popova
1a8506f205 Updated requirements for MO with telemetry. (#9431)
* Updated requirements for MO and POT with telemetry.

* Added mock telemetry common class for unit tests.

* Used mock telemetry in preprocessing unit tests.

* Small correction.
2022-01-11 19:54:49 +03:00
song, bell
3e9ae4bea7 Bell/release resource (#9222)
* recycle helper resources when hw is ready

Signed-off-by: fishbell <bell.song@intel.com>

* use cv to avoid additional while loop

Signed-off-by: fishbell <bell.song@intel.com>

* refine the logic

Signed-off-by: fishbell <bell.song@intel.com>

* fix potential threading issue

Signed-off-by: fishbell <bell.song@intel.com>

* refine logic

Signed-off-by: fishbell <bell.song@intel.com>

* avoid using global var

Signed-off-by: fishbell <bell.song@intel.com>

* clean up code

Signed-off-by: fishbell <bell.song@intel.com>

* refine

Signed-off-by: fishbell <bell.song@intel.com>

* release helper network/plugin also

Signed-off-by: fishbell <bell.song@intel.com>

* lock when release, avoid double release in destructor

Signed-off-by: fishbell <bell.song@intel.com>

* formatting

Signed-off-by: fishbell <bell.song@intel.com>

* add test case

Signed-off-by: fishbell <bell.song@intel.com>

* add case coverage

Signed-off-by: fishbell <bell.song@intel.com>

* move the task

Signed-off-by: fishbell <bell.song@intel.com>

* remove uncessary lock

Signed-off-by: fishbell <bell.song@intel.com>
2022-01-11 19:41:17 +03:00
Dmitrii Khurtin
91c89e77d8 Removed noexcept specifier; removed dead code and restored ostream format (#9563) 2022-01-11 19:01:34 +03:00
Nikolay Shchegolev
62e8923605 [CPU] Dynamic shapes. RNN node. (#9002) 2022-01-11 18:17:35 +03:00
Ilya Churaev
02cabcda3c Fixed coverity issues for core componets (#9558)
* Fixed coverity issues for core componets

* Fixed some tests
2022-01-11 17:28:50 +03:00
Vladislav Golubev
a49f1b3bc6 ConvertTensorIteratorToLSTMSequence fix (#9541) 2022-01-11 17:23:32 +03:00
Irina Efode
c6079ccc11 [IE TESTS] Add body to the reporting (#9430) 2022-01-11 17:21:50 +03:00
Irina Efode
f96a5183fb [IE TESTS] Fix Conformance report generation (#9577) 2022-01-11 17:21:17 +03:00
Anastasia Kuporosova
ab09135195 [Python API] Move wheel folder to the python dir (#9125)
* [Python API] Move wheel folder to the python dir

* codestyle files

* one more codestyle

* align with master

* ignore some flake8 comments
2022-01-11 16:55:18 +03:00
Dmitrii Khurtin
ddc4098473 [GNA] Fixed symbolic links in tarball (#9545) 2022-01-11 16:22:28 +03:00
Alexey Lebedev
42c5be23b1 [PYTHON API] infer helper (#9478)
* inputs as list in infer

* fix import

* fix import 2

* refactor test
2022-01-11 16:12:11 +03:00
Vladislav Volkov
6ddc1e981b Fix missing declarations for TBB_HYBRID_CPUS (#9567) 2022-01-11 16:06:37 +03:00
Vladimir Gavrilov
ebcd9eaf07 Fixed conversion of some models with (I)DFT when a layer immediately before (I)DFT is a producer for Result (#9489)
* Fix in the transformation PreserveRuntimeInfo: now Transpose is inserted before input port 0 of Result only, not after data node of layer before Result layer.

* Deleted commented code.

* Added more tests for the MO transformation PreserveRuntimeInfo.
2022-01-11 15:20:24 +03:00
Vladimir Zinoviev
acdbbf4363 [LPT] fix build (#9566) 2022-01-11 13:25:36 +03:00
Mikhail Nosov
bd3a996239 [OV2.0] Preprocessing: support convert HWC->NCHW layout (#9540)
* Initial implementation

* Template reference tests

* cpu & gpu tests for HWC -> NCHW conversion
2022-01-11 13:13:37 +03:00
Vladimir Paramuzov
062523c9e1 [GPU] Split fusion tests into separate files (#9553) 2022-01-11 12:52:12 +03:00
Roman Slivinskyi
c634f105e3 Atomic guard impromenents (#9473)
* Read atomic before doing CAS in the constructor.

* Typo

* Code style fix.

Co-authored-by: Roman Slivinskyi <rsl@keepit.com>
2022-01-11 12:33:36 +03:00
Mingyu Kim
ef390902ec [GPU] fp16-int8 mixed precision (#9483)
* Use fp16-int8 mixed precision, instead of fp32-int8 mixed precision for onednn
* Allow quantization fusion into bsv32_fsv16 conv
* For conv, do not select bsv16_fsv16. Select bsv32_fsv16 for mixed-layout
* depthwise conv is supported even though it is not fp16
* Allow resample kernel to work as cross-layout
* test case for cross-layout of resample_opt kernel
* Select onednn-friendly format from cldnn conv
* Optimization for fp16 mixed precision
* Choose mixed layout in case of mixed precision from reorder_inputs
* Support for mixed precision from depth_to_space
* Do not convert first conv format
* Use onednn for FC output of fp16
* Choose bsv8_fsv4 from quantization even when conv kernel size is not 7
* Select cldnn for first conv when input feature depth is 1
* For first conv, use onednn only when kernel size is 7x7
* Use short variable name and added is_i8_u8 helper function

Co-authored-by: Kim,SungEun <sungeun.kim@intel.com>
2022-01-11 17:56:36 +09:00
Edward Shogulin
2c6078e96c [LPT] Documentation (developer guide) (#7444)
* [LPT] Documentation

* 1) ToC was removed 2) SVG => PNG temporary conversion

* [LPT] Refactoring + developer guide

* [LPT] attribute doxygen documentation was added

* [LPT] Developer Guide to Reference API links were added

* [LPT] comments fixes

* [LPT] Reference API to Developer Guide links were added

* [LPT] titles were changed

* [LPT] comments fixes #2

* [LPT] root document was moved to Plugin DG

* [LPT] Documentation: image link quick fix

* [LPT] Docummentation: PrecisionsAttribute description quick fix

* fix comments from Karol

* fixes

* movement

* directive was added

* movement #2

* LPT reference in Executable Network rollback

* snippets were updated ini accordance with new API
2022-01-11 11:51:15 +03:00
Zhang Yi
986f0eaac6 [CPU] Impl extract_image_patches cache (#9525) 2022-01-11 11:03:10 +03:00
Ilya Sharikov
1a3d0adb3e Change omz model (#9551) 2022-01-11 10:56:50 +03:00
Jade Cho
28e52a0475 [GPU] Fix a bug of logical padding of convolution (#9518)
* [GPU] Fix a bug of logical padding of convolution

+ Transforms logical padding with wrong axis.

* Fix a typo bug.
2022-01-11 10:37:27 +03:00
Ilya Churaev
e095a90cdf Handle names collisions for old IR with new API (#9388)
* Handle names collisions for old IR with new API

* Fixed load model

* Try to fix tests

* Try to fix tests

* Try to fix build

* Try to fix tests

* Fixed tests

* Revert "Fixed tests"

This reverts commit 35da307210.

* Refactoring

* Fixed functional test

* Try to fix CPU tests

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2022-01-11 09:36:13 +03:00
Min, Byungil
e0485c1ad2 Add reshape in front of a fully connected node for using bf input (#9449)
Signed-off-by: Min, Byungil <byungil.min@intel.com>
2022-01-11 13:18:40 +09:00
Fedor Zharinov
fc4185e92a Compiled network loading is fixed (#9547)
* compiled network loading is fixed

* StyleFix
2022-01-10 23:37:46 +03:00
Vladimir Paramuzov
b4bd4e743b [GPU] Fixed uninitialized field issue in pooling (#9542) 2022-01-10 21:44:11 +03:00
Vladimir Zinoviev
b744c11b88 [LPT] INT16, INT32 leftovers (#7653) 2022-01-10 21:09:10 +03:00
Vladimir Paramuzov
0c2b53eba3 [GPU] Moved several module tests to proper folder (#9544) 2022-01-10 20:14:22 +03:00
Zhang Yi
c1206ef447 [CPU] SoftMax cache (#9480)
* [CPUCache]SoftMax cache

* [CpuCache]fix bf16 tests

* [CPUCache]apply review comments

* [CPUCache]fix compilation
2022-01-10 18:46:57 +03:00
Alexandra Sidorova
af105b86f8 [CPU] Fixed Replicate via ov::Model (#9252) 2022-01-10 17:51:33 +03:00
Anastasia Kuporosova
8fe5484645 [Python API] Remove offline transformations from old python api (#9121)
* [Python API] Remove offline transformations from old python api

* try to fix import error

* try to fix pylint

* try to fix pylint2

* Use new api in graph_utils

* Fix pylint

* Try to fix pylint

* Use serialize from pass manager

* try to skip tests

* try to use new ir

Co-authored-by: AlexeyLebedev1 <alexey.lebedev@intel.com>
2022-01-10 17:32:55 +03:00
Svetlana Dolinina
04386bb667 fixed tensor shapes to work correctly if shape of the first arg less then shape of the second arg; (#9368)
added according unit test
2022-01-10 17:15:21 +03:00
Vladimir Paramuzov
8d8ceeb5d7 [GPU] Fixed invalid vector element access in reduce test (#9538) 2022-01-10 15:08:11 +03:00
Yuan Hu
00361b7617 try to fix klocwork issue (#9207)
Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com>
2022-01-10 14:57:37 +03:00
Yuan Hu
b6951bfb2c change INT8 to VPUX as first priority (#9261)
Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com>
2022-01-10 14:54:21 +03:00
Anastasia Popova
aecbd549f8 Support of partial shapes with boundaries in MO IR reader. (#9223)
* Added support of partial shapes boundaries in MO IR reader.

* Added comments.
2022-01-10 14:36:36 +03:00
Ilya Znamenskiy
371eaba7cd [GPU] Fix of gws/lws inconsistency for some reorder cases (#9467) 2022-01-10 14:04:04 +03:00
Ilya Sharikov
cb0084718a Update list of OMZ models for stress tests (#9391) 2022-01-10 13:50:03 +03:00
Andrei Molotkov
9e41208791 [GPU] QueryNetwork method correction to work with dynamic shapes (#9462) 2022-01-10 12:07:12 +03:00
hyunback kim
2a476f6906 [GPU] Enable unet2d enable on DG2 (#9522)
* [GPU] Enable unet2d enable on DG2

Add to support is_os_yx_isa2_osa8_isv8_osv2 format, which is used in
weight reorder.

Signed-off-by: hyunback <hyunback.kim@intel.com>
2022-01-07 18:38:07 +09:00
hyunback kim
89f48e0558 [GPU] Enable implicit concat batch1 in oneDNN. (#9424)
* [GPU] Enable implicit concat batch1 in oneDNN.

* Use gpu_usm memory offset, enable implicit concat batch1 in oneDNN.
  And optimized_out node doesn't always have to be mutable input,
  so add to check whether mutable input is existed in optimized node.
* Update to check use_usm condition in implicit concat.
* Add the condition for implicit concat.
* implicit concat's dependency should not be fused_op with eltwise.
* Buffer reuse is required for onednn sum post operation, output padding
did the buffer reuse failure.

Signed-off-by: hyunback <hyunback.kim@intel.com>
2022-01-06 12:41:09 +09:00
Dawid Kożykowski
e89db1c6de Fix "Unexpected number of outputs after override_all_outputs" (#9454) 2022-01-05 12:10:16 +01:00
Min, Byungil
f255c195c5 [GPU] Add functional and pass test-cases (#8998)
Signed-off-by: Min, Byungil <byungil.min@intel.com>
2022-01-04 22:09:23 +09:00
Jade Cho
2945232982 Split hard sigmoid into eltw linear and eltw clip (#9500)
+ cldnn supports hard sigmoid activation function but onednn doesn't.
+ split it into eltwise linear and eltwise clip in
add_onednn_optimization_attributes pass.
2022-01-04 20:22:11 +09:00
Alexey Lebedev
339849fde8 [PYTHON API] add_extension api (#9339)
* Pass ov::extension in core.add_extension

* fix code style

* revert mock and inherit extension on python side

* Fix code style

* Enable add_extension test

* Fix code style

* Move Extension to openvino.runtime

* use static_cast instead c-cast

* Fix code style

* fix test
2022-01-04 13:54:15 +03:00
Tomasz Dołbniak
326289265b MO: progress bar implementation for new frontends (#9381) 2022-01-03 14:04:45 +01:00
Taylor Yeonbok Lee
c26a904c6e Disable blocked layout selection for quantize when the user is gemm beacuse no gemm kernels are using blocked format currently (#9425) 2022-01-03 09:58:16 +09:00
Maxim Vafin
738a571742 Use layouts in legacy pre-processing (#9355)
* Use layouts in legacy pre-processing

* Use layouts for batch in MO

* Unify code for channel and batch dimension

* Fix issue when idx is None
2021-12-30 21:01:55 +03:00
Mateusz Tabaka
50a33436d4 Add MatMulMultiplyFusion (#9023)
* Add MatMulMultiplyFusion

MatMulMultiplyFusion replaces following subgraph:
MatMul->Multiply (with const)
to following:
Multiply->MatMul
where Multiply is applied to MatMul's second input.
2021-12-30 18:13:11 +01:00
Fedor Zharinov
4dbc9ae2e7 benchmark_app with dynamic reshapes and API 2.0 (#8609)
* API 2.0 changes

* stylefix

* Update samples/cpp/benchmark_app/main.cpp

Co-authored-by: Nadezhda Ageeva <nkogteva@gmail.com>

* Update samples/cpp/benchmark_app/infer_request_wrap.hpp

Co-authored-by: Ilya Churaev <ilyachur@gmail.com>

* Update samples/cpp/benchmark_app/utils.cpp

Co-authored-by: Ilya Churaev <ilyachur@gmail.com>

* fixes

* fix for: gpu headers are moved to another folder... yet again

* fix for mac build paranoia

* function,classes and files renames/change logic to work with inputs()

* stylefix

* 2nd portion of fixes

* stylefix

* Batch warnings

Co-authored-by: Nadezhda Ageeva <nkogteva@gmail.com>
Co-authored-by: Ilya Churaev <ilyachur@gmail.com>
2021-12-30 19:09:12 +03:00
Vladislav Volkov
e52c96389d [CPU] Bug in jit_convert fixed (#9485) 2021-12-30 18:22:16 +03:00
Edward Shogulin
ec5198094a [CPU] PriorBox & PriorBoxClustered dynamism enabling (#8597) 2021-12-30 17:43:16 +03:00
Maxim Andronov
8ba94cfb8f [CPU] Fix memory allocation for non default shape infer path (#9475) 2021-12-30 17:04:33 +03:00
Chen Xu
bea10d6e3c [CPU] Optimize Broadcast node for case with scalar input (#9358) 2021-12-30 16:47:48 +03:00
12140 changed files with 97110 additions and 54797 deletions

134
.ci/azure/android_arm64.yml Normal file
View File

@@ -0,0 +1,134 @@
resources:
repositories:
- repository: openvino_contrib
type: github
endpoint: openvinotoolkit
name: openvinotoolkit/openvino_contrib
jobs:
- job: android_arm64
# About 150% of total time
timeoutInMinutes: 120
pool:
name: LIN_VMSS_VENV_F16S_U20_WU2
variables:
system.debug: true
VSTS_HTTP_RETRY: 5
VSTS_HTTP_TIMEOUT: 200
BUILD_TYPE: Release
OPENVINO_REPO_DIR: $(Build.Repository.LocalPath)
OPENVINO_CONTRIB_REPO_DIR: $(OPENVINO_REPO_DIR)/../openvino_contrib
WORK_DIR: $(Pipeline.Workspace)/_w
BUILD_DIR: $(WORK_DIR)/build
ANDROID_TOOLS: $(WORK_DIR)/android_tools
ANDROID_SDK_VERSION: 29
ANDROID_ABI_CONFIG: arm64-v8a
TMP_DIR: /mnt/tmp
SHARE_DIR: /mount/cinfsshare/onnxtestdata
CCACHE_DIR: $(SHARE_DIR)/ccache/master/android_arm64
steps:
- script: |
curl -H Metadata:true --noproxy "*" "http://169.254.169.254/metadata/instance?api-version=2019-06-01"
whoami
uname -a
echo Python3 info ; which python3 ; python3 --version
echo Python info ; which python ; python --version
echo Java info ; which java ; java -version
echo gcc info ; which gcc ; gcc --version
echo cmake info ; which cmake ; cmake --version
lsb_release
env
cat /proc/cpuinfo
cat /proc/meminfo
cat /etc/fstab
vmstat -s
df
lsblk -o NAME,HCTL,SIZE,MOUNTPOINT | grep -i "sd"
free -h
displayName: 'System information'
- script: |
rm -rf $(WORK_DIR) ; mkdir $(WORK_DIR)
rm -rf $(BUILD_DIR) ; mkdir $(BUILD_DIR)
rm -rf $(ANDROID_TOOLS) ; mkdir $(ANDROID_TOOLS)
sudo rm -rf $(TMP_DIR) ; sudo mkdir $(TMP_DIR) ; sudo chmod 777 -R $(TMP_DIR)
sudo mkdir -p $(SHARE_DIR)
sudo apt --assume-yes update && sudo apt --assume-yes install nfs-common
sudo mount -vvv -t nfs cinfsshare.file.core.windows.net:/cinfsshare/onnxtestdata $(SHARE_DIR) -o vers=4,minorversion=1,sec=sys
mkdir -p $(CCACHE_DIR)
displayName: 'Make dir'
- checkout: self
clean: true
lfs: false
submodules: recursive
path: openvino
- checkout: openvino_contrib
clean: true
lfs: false
submodules: recursive
path: openvino_contrib
- script: |
set -e
$(OPENVINO_REPO_DIR)/install_build_dependencies.sh
# Move into contrib install_build_dependencies.sh
sudo apt --assume-yes install scons crossbuild-essential-arm64 libprotoc-dev protobuf-compiler default-jdk
# Speed up build
wget https://github.com/ninja-build/ninja/releases/download/v1.10.2/ninja-linux.zip
unzip ninja-linux.zip
sudo cp -v ninja /usr/local/bin/
# Install Android SDK, NDK and TOOLS
wget https://dl.google.com/android/repository/commandlinetools-linux-7583922_latest.zip
unzip commandlinetools-linux-7583922_latest.zip
yes | ./cmdline-tools/bin/sdkmanager --sdk_root=$(ANDROID_TOOLS) --licenses
./cmdline-tools/bin/sdkmanager --sdk_root=$(ANDROID_TOOLS) --install "ndk-bundle" "platform-tools" "platforms;android-$(ANDROID_SDK_VERSION)"
workingDirectory: $(WORK_DIR)
displayName: 'Install dependencies'
- task: CMake@1
inputs:
cmakeArgs: >
-GNinja
-DVERBOSE_BUILD=ON
-DCMAKE_BUILD_TYPE=$(BUILD_TYPE)
-DCMAKE_TOOLCHAIN_FILE=$(ANDROID_TOOLS)/ndk-bundle/build/cmake/android.toolchain.cmake
-DANDROID_ABI=$(ANDROID_ABI_CONFIG)
-DANDROID_STL=c++_shared
-DANDROID_PLATFORM=$(ANDROID_SDK_VERSION)
-DENABLE_OPENCV=OFF
-DENABLE_TESTS=ON
-DENABLE_SAMPLES=ON
-DENABLE_INTEL_MYRIAD=OFF
-DBUILD_java_api=ON
-DTHREADING=SEQ
-DIE_EXTRA_MODULES=$(OPENVINO_CONTRIB_REPO_DIR)/modules
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache
-DCMAKE_C_COMPILER_LAUNCHER=ccache
$(OPENVINO_REPO_DIR)
workingDirectory: $(BUILD_DIR)
- script: ls -alR $(OPENVINO_REPO_DIR)/temp/
displayName: 'List temp SDKs'
- script: ccache --zero-stats --max-size=50G --show-config
displayName: 'Clean ccache stats'
- script: |
export CCACHE_DIR=$(CCACHE_DIR)
export CCACHE_TEMPDIR=$(TMP_DIR)/ccache
export CCACHE_BASEDIR=$(Pipeline.Workspace)
export CCACHE_MAXSIZE=50G
ninja
workingDirectory: $(BUILD_DIR)
displayName: 'Build Android ARM64'
- script: ccache --show-stats
displayName: 'Show ccache stats'
- script: ls -alR $(OPENVINO_REPO_DIR)/bin/
displayName: 'List binary files'

View File

@@ -32,7 +32,7 @@ jobs:
maxParallel: 2
# About 150% of total time
timeoutInMinutes: 90
timeoutInMinutes: 120
pool:
name: LIN_VMSS_VENV_F16S_U20_WU2
@@ -56,7 +56,7 @@ jobs:
SETUPVARS: $(INSTALL_DIR)/setupvars.sh
TMP_DIR: /mnt/tmp
SHARE_DIR: /mount/cinfsshare/onnxtestdata
CCACHE_DIR: $(SHARE_DIR)/ccache
CCACHE_DIR: $(SHARE_DIR)/ccache/master/linux
steps:
- script: |
@@ -112,10 +112,10 @@ jobs:
sudo apt --assume-yes install openjdk-11-jdk
# For opencv-python: python3-setuptools and pip upgrade
python3 -m pip install --upgrade pip
python3 -m pip install -r $(REPO_DIR)/inference-engine/ie_bridges/python/requirements.txt
python3 -m pip install -r $(REPO_DIR)/inference-engine/ie_bridges/python/wheel/requirements-dev.txt
python3 -m pip install -r $(REPO_DIR)/src/bindings/python/src/compatibility/openvino/requirements.txt
python3 -m pip install -r $(REPO_DIR)/src/bindings/python/wheel/requirements-dev.txt
# For running Python API tests
python3 -m pip install -r $(REPO_DIR)/inference-engine/ie_bridges/python/src/requirements-dev.txt
python3 -m pip install -r $(REPO_DIR)/src/bindings/python/src/compatibility/openvino/requirements-dev.txt
# For running Paddle frontend unit tests
python3 -m pip install -r $(REPO_DIR)/src/core/tests/frontend/paddle/requirements_dev.txt
# For running ONNX frontend unit tests
@@ -165,12 +165,14 @@ jobs:
- script: ls -alR $(REPO_DIR)/temp/
displayName: 'List temp SDKs'
- script: ccache --zero-stats --max-size=1T --show-config
- script: ccache --zero-stats --max-size=50G --show-config
displayName: 'Clean ccache stats'
- script: |
export CCACHE_DIR=$(CCACHE_DIR)
export CCACHE_TEMPDIR=$(TMP_DIR)/ccache
export CCACHE_BASEDIR=$(Pipeline.Workspace)
export CCACHE_MAXSIZE=50G
ninja
workingDirectory: $(BUILD_DIR)
displayName: 'Build Lin'
@@ -342,7 +344,7 @@ jobs:
- script: |
export DATA_PATH=$(MODELS_PATH)
export MODELS_PATH=$(MODELS_PATH)
cd $(REPO_DIR)/inference-engine/ie_bridges/python/tests
cd $(REPO_DIR)/src/bindings/python/tests_compatibility/test_inference_engine
. $(SETUPVARS) -pyver 3.8 && python3 -m pytest --junitxml=TEST-PythonAPI.xml $(PYTHON_STATIC_ARGS)
displayName: 'Python API Tests'
continueOnError: false

147
.ci/azure/linux_arm64.yml Normal file
View File

@@ -0,0 +1,147 @@
resources:
repositories:
- repository: openvino_contrib
type: github
endpoint: openvinotoolkit
name: openvinotoolkit/openvino_contrib
jobs:
- job: linux_arm64
# About 150% of total time
timeoutInMinutes: 120
pool:
name: LIN_VMSS_VENV_F16S_U20_WU2
variables:
system.debug: true
VSTS_HTTP_RETRY: 5
VSTS_HTTP_TIMEOUT: 200
BUILD_TYPE: Release
OPENVINO_REPO_DIR: $(Build.Repository.LocalPath)
OPENVINO_CONTRIB_REPO_DIR: $(OPENVINO_REPO_DIR)/../openvino_contrib
OPENCV_REPO_DIR: $(OPENVINO_REPO_DIR)/../opencv
WORK_DIR: $(Pipeline.Workspace)/_w
BUILD_DIR: $(WORK_DIR)/build
BUILD_DIR_OPENCV: $(WORK_DIR)/build_opencv
TMP_DIR: /mnt/tmp
SHARE_DIR: /mount/cinfsshare/onnxtestdata
CCACHE_DIR: $(SHARE_DIR)/ccache/master/linux_arm64
steps:
- script: |
curl -H Metadata:true --noproxy "*" "http://169.254.169.254/metadata/instance?api-version=2019-06-01"
whoami
uname -a
echo Python3 info ; which python3 ; python3 --version
echo Python info ; which python ; python --version
echo Java info ; which java ; java -version
echo gcc info ; which gcc ; gcc --version
echo cmake info ; which cmake ; cmake --version
lsb_release
env
cat /proc/cpuinfo
cat /proc/meminfo
cat /etc/fstab
vmstat -s
df
lsblk -o NAME,HCTL,SIZE,MOUNTPOINT | grep -i "sd"
free -h
displayName: 'System information'
- script: |
rm -rf $(WORK_DIR) ; mkdir $(WORK_DIR)
rm -rf $(BUILD_DIR) ; mkdir $(BUILD_DIR)
sudo rm -rf $(TMP_DIR) ; sudo mkdir $(TMP_DIR) ; sudo chmod 777 -R $(TMP_DIR)
sudo mkdir -p $(SHARE_DIR)
sudo apt --assume-yes update && sudo apt --assume-yes install nfs-common
sudo mount -vvv -t nfs cinfsshare.file.core.windows.net:/cinfsshare/onnxtestdata $(SHARE_DIR) -o vers=4,minorversion=1,sec=sys
mkdir -p $(CCACHE_DIR)
displayName: 'Make directory'
- checkout: self
clean: true
lfs: false
submodules: recursive
path: openvino
- checkout: openvino_contrib
clean: true
lfs: false
submodules: recursive
path: openvino_contrib
- script: |
set -e
$(OPENVINO_REPO_DIR)/install_build_dependencies.sh
# Move into contrib install_build_dependencies.sh
sudo apt --assume-yes install scons crossbuild-essential-arm64 libprotoc-dev protobuf-compiler
# OpenCV should provide install_build_dependencies.sh as well
# Move into resources
git clone https://github.com/opencv/opencv.git --depth 1 $(OPENCV_REPO_DIR)
# Speed up build
wget https://github.com/ninja-build/ninja/releases/download/v1.10.2/ninja-linux.zip
unzip ninja-linux.zip
sudo cp -v ninja /usr/local/bin/
workingDirectory: $(WORK_DIR)
displayName: 'Install dependencies'
- task: CMake@1
inputs:
cmakeArgs: >
-GNinja
-DVERBOSE_BUILD=ON
-DCMAKE_BUILD_TYPE=$(BUILD_TYPE)
-DBUILD_LIST=imgcodecs,videoio,highgui
-DCMAKE_TOOLCHAIN_FILE=$(OPENCV_REPO_DIR)/platforms/linux/aarch64-gnu.toolchain.cmake
$(OPENCV_REPO_DIR)
workingDirectory: $(BUILD_DIR_OPENCV)
- script: ninja
workingDirectory: $(BUILD_DIR_OPENCV)
displayName: 'Build OpenCV Linux ARM64'
- script: ninja install
workingDirectory: $(BUILD_DIR_OPENCV)
displayName: 'Install OpenCV Linux ARM64'
- task: CMake@1
inputs:
cmakeArgs: >
-GNinja
-DVERBOSE_BUILD=ON
-DCMAKE_BUILD_TYPE=$(BUILD_TYPE)
-DCMAKE_TOOLCHAIN_FILE=$(OPENVINO_REPO_DIR)/cmake/arm64.toolchain.cmake
-DOpenCV_DIR=$(BUILD_DIR_OPENCV)/install/lib/cmake/opencv4
-DENABLE_OPENCV=OFF
-DENABLE_TESTS=ON
-DENABLE_SAMPLES=ON
-DBUILD_java_api=OFF
-DENABLE_INTEL_MYRIAD=OFF
-DTHREADING=SEQ
-DIE_EXTRA_MODULES=$(OPENVINO_CONTRIB_REPO_DIR)/modules
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache
-DCMAKE_C_COMPILER_LAUNCHER=ccache
$(OPENVINO_REPO_DIR)
workingDirectory: $(BUILD_DIR)
- script: ls -alR $(OPENVINO_REPO_DIR)/temp/
displayName: 'List temp SDKs'
- script: ccache --zero-stats --max-size=50G --show-config
displayName: 'Clean ccache stats'
- script: |
export CCACHE_DIR=$(CCACHE_DIR)
export CCACHE_TEMPDIR=$(TMP_DIR)/ccache
export CCACHE_BASEDIR=$(Pipeline.Workspace)
export CCACHE_MAXSIZE=50G
ninja
workingDirectory: $(BUILD_DIR)
displayName: 'Build Linux ARM64'
- script: ccache --show-stats
displayName: 'Show ccache stats'
- script: ls -alR $(OPENVINO_REPO_DIR)/bin/
displayName: 'List binary files'

View File

@@ -63,7 +63,7 @@ jobs:
- script: |
set -e
$(REPO_DIR)/install_build_dependencies.sh
python3 -m pip install -r $(REPO_DIR)/inference-engine/ie_bridges/python/requirements.txt
python3 -m pip install -r $(REPO_DIR)/src/bindings/python/src/compatibility/openvino/requirements.txt
# Speed up build
wget https://github.com/ninja-build/ninja/releases/download/v1.10.2/ninja-linux.zip
unzip ninja-linux.zip

View File

@@ -1,3 +1,10 @@
resources:
repositories:
- repository: openvino_contrib
type: github
endpoint: openvinotoolkit
name: openvinotoolkit/openvino_contrib
jobs:
- job: Lin
# About 150% of total time
@@ -12,6 +19,7 @@ jobs:
VSTS_HTTP_TIMEOUT: 200
BUILD_TYPE: Release
REPO_DIR: $(Build.Repository.LocalPath)
OPENVINO_CONTRIB_REPO_DIR: $(REPO_DIR)/../openvino_contrib
WORK_DIR: $(Pipeline.Workspace)/_w
BUILD_DIR: $(WORK_DIR)/build
BUILD_SAMPLES_DIR: $(WORK_DIR)/build_samples
@@ -51,9 +59,17 @@ jobs:
submodules: recursive
path: openvino
- checkout: openvino_contrib
clean: true
lfs: false
submodules: recursive
path: openvino_contrib
- script: |
set -e
$(REPO_DIR)/install_build_dependencies.sh
# Move jdk into contrib
sudo apt --assume-yes install openjdk-11-jdk
# Speed up build
wget https://github.com/ninja-build/ninja/releases/download/v1.10.2/ninja-linux.zip
unzip ninja-linux.zip
@@ -70,6 +86,7 @@ jobs:
-DENABLE_FASTER_BUILD=ON
-DENABLE_STRICT_DEPENDENCIES=OFF
-DENABLE_REQUIREMENTS_INSTALL=OFF
-DIE_EXTRA_MODULES=$(OPENVINO_CONTRIB_REPO_DIR)/modules
$(REPO_DIR)
workingDirectory: $(BUILD_DIR)

View File

@@ -73,9 +73,9 @@ jobs:
set -e
$(REPO_DIR)/install_build_dependencies.sh
python3 -m pip install --upgrade pip
python3 -m pip install -r $(REPO_DIR)/inference-engine/ie_bridges/python/requirements.txt
python3 -m pip install -r $(REPO_DIR)/src/bindings/python/src/compatibility/openvino/requirements.txt
# For running Python API tests
python3 -m pip install -r $(REPO_DIR)/inference-engine/ie_bridges/python/src/requirements-dev.txt
python3 -m pip install -r $(REPO_DIR)/src/bindings/python/src/compatibility/openvino/requirements-dev.txt
# Speed up build
wget https://github.com/ninja-build/ninja/releases/download/v1.10.2/ninja-linux.zip
unzip ninja-linux.zip
@@ -93,7 +93,7 @@ jobs:
-DCMAKE_BUILD_TYPE=$(BUILD_TYPE)
-DENABLE_PYTHON=ON
-DPYTHON_EXECUTABLE=/usr/bin/python3.8
-DENABLE_VPU=OFF
-DENABLE_INTEL_MYRIAD_COMMON=OFF
-DENABLE_INTEL_GNA=OFF
-DENABLE_OPENCV=OFF
-DENABLE_CPPLINT=OFF

View File

@@ -23,17 +23,17 @@ jobs:
- job: Win
strategy:
matrix:
Dynamic:
CMAKE_BUILD_SHARED_LIBS: 'ON'
Static:
CMAKE_BUILD_SHARED_LIBS: 'OFF'
# Dynamic:
# CMAKE_BUILD_SHARED_LIBS: 'ON'
maxParallel: 2
# About 150% of total time
timeoutInMinutes: 120
pool:
name: WIN_VMSS_VENV_F8S_WU2
name: WIN_VMSS_VENV_D8S_WU2
variables:
system.debug: true
@@ -44,9 +44,9 @@ jobs:
OPENVINO_CONTRIB_REPO_DIR: $(REPO_DIR)\..\openvino_contrib
MODELS_PATH: $(REPO_DIR)\..\testdata
WORK_DIR: $(Pipeline.Workspace)\_w
BUILD_DIR: D:\build
BUILD_SAMPLES_DIR: D:\build_samples
BUILD_SAMPLES_TESTS_DIR: D:\build_samples_tests
BUILD_DIR: $(WORK_DIR)\build
BUILD_SAMPLES_DIR: $(WORK_DIR)\build_samples
BUILD_SAMPLES_TESTS_DIR: $(WORK_DIR)\build_samples_tests
MSVS_VARS_PATH: C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat
MSVC_COMPILER_PATH: C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\bin\Hostx64\x64\cl.exe
INSTALL_DIR: $(WORK_DIR)\install_pkg
@@ -108,8 +108,8 @@ jobs:
- script: |
python -m pip install --upgrade pip
rem For running Python API tests
python -m pip install -r $(REPO_DIR)\inference-engine\ie_bridges\python\src\requirements-dev.txt
python -m pip install -r $(REPO_DIR)\inference-engine\ie_bridges\python\wheel\requirements-dev.txt
python -m pip install -r $(REPO_DIR)\src\bindings\python\src\compatibility\openvino\requirements-dev.txt
python -m pip install -r $(REPO_DIR)\src\bindings\python\wheel\requirements-dev.txt
rem For running Paddle frontend unit tests
python -m pip install -r $(REPO_DIR)\src\core\tests\frontend\paddle\requirements_dev.txt
rem For running ONNX frontend unit tests
@@ -133,7 +133,7 @@ jobs:
- script: |
set PATH=$(WORK_DIR)\ninja-win;%PATH%
call "$(MSVS_VARS_PATH)" && $(CMAKE_CMD) -G "Ninja Multi-Config" -DENABLE_ONEDNN_FOR_GPU=OFF -DENABLE_WHEEL=ON -DENABLE_INTEL_GNA=$(CMAKE_BUILD_SHARED_LIBS) -DENABLE_INTEL_GPU=$(CMAKE_BUILD_SHARED_LIBS) -DENABLE_GAPI_PREPROCESSING=$(CMAKE_BUILD_SHARED_LIBS) -DBUILD_SHARED_LIBS=$(CMAKE_BUILD_SHARED_LIBS) -DENABLE_REQUIREMENTS_INSTALL=OFF -DENABLE_FASTER_BUILD=ON -DCMAKE_BUILD_TYPE=$(BUILD_TYPE) -DENABLE_TESTS=ON -DENABLE_STRICT_DEPENDENCIES=OFF -DENABLE_PYTHON=ON -DPYTHON_EXECUTABLE="C:\hostedtoolcache\windows\Python\3.7.6\x64\python.exe" -DPYTHON_INCLUDE_DIR="C:\hostedtoolcache\windows\Python\3.7.6\x64\include" -DPYTHON_LIBRARY="C:\hostedtoolcache\windows\Python\3.7.6\x64\libs\python37.lib" -DIE_EXTRA_MODULES=$(OPENVINO_CONTRIB_REPO_DIR)\modules -DCMAKE_C_COMPILER:PATH="$(MSVC_COMPILER_PATH)" -DCMAKE_CXX_COMPILER:PATH="$(MSVC_COMPILER_PATH)" $(REPO_DIR)
call "$(MSVS_VARS_PATH)" && $(CMAKE_CMD) -G "Ninja Multi-Config" -DENABLE_WHEEL=ON -DENABLE_INTEL_GNA=$(CMAKE_BUILD_SHARED_LIBS) -DENABLE_INTEL_GPU=$(CMAKE_BUILD_SHARED_LIBS) -DENABLE_GAPI_PREPROCESSING=$(CMAKE_BUILD_SHARED_LIBS) -DBUILD_SHARED_LIBS=$(CMAKE_BUILD_SHARED_LIBS) -DENABLE_REQUIREMENTS_INSTALL=OFF -DENABLE_FASTER_BUILD=ON -DCMAKE_BUILD_TYPE=$(BUILD_TYPE) -DENABLE_TESTS=ON -DENABLE_STRICT_DEPENDENCIES=OFF -DENABLE_PYTHON=ON -DPYTHON_EXECUTABLE="C:\hostedtoolcache\windows\Python\3.7.6\x64\python.exe" -DPYTHON_INCLUDE_DIR="C:\hostedtoolcache\windows\Python\3.7.6\x64\include" -DPYTHON_LIBRARY="C:\hostedtoolcache\windows\Python\3.7.6\x64\libs\python37.lib" -DIE_EXTRA_MODULES=$(OPENVINO_CONTRIB_REPO_DIR)\modules -DCMAKE_C_COMPILER:PATH="$(MSVC_COMPILER_PATH)" -DCMAKE_CXX_COMPILER:PATH="$(MSVC_COMPILER_PATH)" $(REPO_DIR)
workingDirectory: $(BUILD_DIR)
displayName: 'CMake'

View File

@@ -24,7 +24,7 @@ jobs:
OPENVINO_CONTRIB_REPO_DIR: $(REPO_DIR)\..\openvino_contrib
MODELS_PATH: $(REPO_DIR)\..\testdata
WORK_DIR: $(Pipeline.Workspace)\_w
BUILD_DIR: D:\build
BUILD_DIR: $(WORK_DIR)\build
MSVS_VARS_PATH: C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat
MSVC_COMPILER_PATH: C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.24.28314\bin\Hostx64\x64\cl.exe
INSTALL_DIR: $(WORK_DIR)\install_pkg

View File

@@ -28,6 +28,7 @@ RUN apt-get update && apt-get -y --no-install-recommends install \
autoconf \
automake \
build-essential \
ninja-build \
cmake \
curl \
git \
@@ -54,11 +55,13 @@ RUN apt-get update && apt-get -y --no-install-recommends install \
COPY . /openvino/
WORKDIR /openvino/build
RUN cmake .. \
-G Ninja \
-DCMAKE_BUILD_TYPE=${BUILD_TYPE} \
-DENABLE_VPU=OFF \
-DENABLE_INTEL_MYRIAD_COMMON=OFF \
-DENABLE_INTEL_GNA=OFF \
-DENABLE_OPENCV=OFF \
-DENABLE_CPPLINT=OFF \
-DENABLE_NCC_STYLE=OFF \
-DENABLE_TESTS=OFF \
-DENABLE_INTEL_CPU=ON \
-DENABLE_INTEL_GPU=OFF \
@@ -67,9 +70,11 @@ RUN cmake .. \
-DENABLE_PYTHON=ON \
-DPYTHON_EXECUTABLE=/usr/bin/python3 \
-DENABLE_OV_ONNX_FRONTEND=ON \
-DENABLE_OV_PADDLE_FRONTEND=OFF \
-DENABLE_OV_TF_FRONTEND=OFF \
-DENABLE_OPENVINO_DEBUG=OFF \
-DCMAKE_INSTALL_PREFIX=/openvino/dist
RUN make -j $(nproc) install
RUN ninja install
# Run tests via tox
WORKDIR /openvino/src/bindings/python

View File

@@ -47,7 +47,7 @@ assignees: ''
- [ ] I checked the problem with documentation, FAQ, open issues, Stack Overflow, etc and have not found solution
<!--
Places to check:
* OpenVINO documentation: https://docs.openvinotoolkit.org/
* OpenVINO documentation: https://docs.openvino.ai/
* OpenVINO forum: https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/bd-p/distribution-openvino-toolkit
* OpenVINO issue tracker: https://github.com/openvinotoolkit/openvino/issues?q=is%3Aissue
* Stack Overflow branch: https://stackoverflow.com/questions/tagged/openvino

View File

@@ -2,14 +2,14 @@
version: 2
updates:
# Enable version updates for nGraph Python API
# Enable version updates for Python API
- package-ecosystem: pip
directory: "/src/bindings/python"
schedule:
interval: weekly
day: monday
time: "13:00"
open-pull-requests-limit: 10
open-pull-requests-limit: 0
reviewers:
- jiwaszki
- akuporos

View File

@@ -47,7 +47,7 @@ jobs:
- name: Build doc
run: |
cmake --build . --target sphinx_docs
cmake --build . --target sphinx_docs -j8
working-directory: build
- name: Archive HTML
@@ -58,9 +58,13 @@ jobs:
- name: Run Pytest
run: |
pytest --doxygen="./build/docs/doxygen.log" \
--include_pot \
--sphinx="./build/docs/sphinx.log" \
--suppress-warnings="./docs/suppress_warnings.txt" \
--confcutdir="./docs/scripts/tests/" \
--html="./build/docs/_artifacts/doc-generation.html" \
--doxygen-strip="$(pwd)" \
--sphinx-strip="$(pwd)/build/docs/rst" \
--doxygen-xfail="./docs/doxygen-xfail.txt" \
--self-contained-html ./docs/scripts/tests/test_docs.py
@@ -70,6 +74,20 @@ jobs:
with:
name: openvino_doc_pytest
path: build/docs/_artifacts/
- name: 'Upload doxygen.log'
if: always()
uses: actions/upload-artifact@v2
with:
name: doxygen_log
path: build/docs/doxygen.log
- name: 'Upload sphinx.log'
if: always()
uses: actions/upload-artifact@v2
with:
name: sphinx_log
path: build/docs/sphinx.log
- name: 'Upload html'
if: github.event_name == 'push'

View File

@@ -19,9 +19,9 @@ jobs:
sudo apt update
sudo apt --assume-yes install libusb-1.0-0-dev
python3 -m pip install --upgrade pip
python3 -m pip install -r ./inference-engine/ie_bridges/python/requirements.txt
python3 -m pip install -r ./src/bindings/python/src/compatibility/openvino/requirements.txt
# Add for -DENABLE_PYTHON=ON, no cython
python3 -m pip install -r ./inference-engine/ie_bridges/python/src/requirements-dev.txt
python3 -m pip install -r ./src/bindings/python/src/compatibility/openvino/requirements-dev.txt
# Run cmake with -DENABLE_PROFILING_ITT=ON -DSELECTIVE_BUILD=COLLECT in order to enable codestyle check for ITT collector
- name: CMake
@@ -60,20 +60,20 @@ jobs:
sudo apt --assume-yes install shellcheck
- name: Install dependencies
run: python3 -m pip install -r ./inference-engine/ie_bridges/python/requirements.txt
run: python3 -m pip install -r ./src/bindings/python/src/compatibility/openvino/requirements.txt
- name: CMake
run: |
mkdir build
cd build
cmake -DENABLE_VPU=OFF ..
cmake -DENABLE_INTEL_MYRIAD_COMMON=OFF ..
- name: ShellCheck
run: cmake --build . --target ie_shellcheck -j8
working-directory: build
NamingConventionCheck:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
@@ -82,7 +82,7 @@ jobs:
- name: Install Clang dependency
run: |
sudo apt update
sudo apt --assume-yes install libclang-9-dev
sudo apt --assume-yes install libclang-12-dev
- name: Install Python-based dependencies
run: python3 -m pip install -r cmake/developer_package/ncc_naming_style/requirements_dev.txt
@@ -91,7 +91,7 @@ jobs:
run: |
mkdir build
cd build
cmake -DENABLE_VPU=OFF ..
cmake -DENABLE_INTEL_MYRIAD_COMMON=OFF ..
- name: Naming convention check
run: cmake --build . --target ncc_all -j8

View File

@@ -4,11 +4,11 @@ on:
workflow_dispatch:
push:
paths:
- 'inference-engine/ie_bridges/python/**'
- 'src/bindings/python/**'
- 'samples/python/**'
pull_request:
paths:
- 'inference-engine/ie_bridges/python/**'
- 'src/bindings/python/**'
- 'samples/python/**'
jobs:
linters:
@@ -23,7 +23,7 @@ jobs:
with:
python-version: '3.6'
- name: Install dependencies
run: python -m pip install -r inference-engine/ie_bridges/python/requirements_dev.txt
run: python -m pip install -r src/bindings/python/src/compatibility/openvino/requirements_dev.txt
- name: Run Flake on samples
run: python -m flake8 ./ --config=setup.cfg
working-directory: samples/python
@@ -39,14 +39,14 @@ jobs:
name: samples_diff
path: samples_diff.diff
- name: Run Flake on src
run: python -m flake8 ./ --config=../setup.cfg
working-directory: inference-engine/ie_bridges/python/src
run: python -m flake8 ./ --config=setup.cfg
working-directory: src/bindings/python/src/compatibility/openvino
- name: Create code style diff for Python src
if: failure()
run: |
python -m black -l 160 -S ./
git diff > src_diff.diff
working-directory: inference-engine/ie_bridges/python/src
working-directory: src/bindings/python/src/compatibility/openvino
- uses: actions/upload-artifact@v2
if: failure()
with:
@@ -54,13 +54,13 @@ jobs:
path: src_diff.diff
- name: Run Flake on wheel
run: python -m flake8 ./ --config=../setup.cfg
working-directory: inference-engine/ie_bridges/python/wheel
working-directory: src/bindings/python/wheel
- name: Create code style diff for wheel
if: failure()
run: |
python -m black -l 160 -S ./
git diff > wheel_diff.diff
working-directory: inference-engine/ie_bridges/python/wheel
working-directory: src/bindings/python/wheel
- uses: actions/upload-artifact@v2
if: failure()
with:
@@ -69,9 +69,9 @@ jobs:
- name: Run MyPy
run: python -m mypy ./ --config-file ./setup.cfg
working-directory: inference-engine/ie_bridges/python
working-directory: src/bindings/python/src/compatibility/openvino
- name: Run Bandit
run: python -m bandit -r ./ -f screen
working-directory: inference-engine/ie_bridges/python
working-directory: src/bindings/python/src/compatibility/openvino

1
.gitignore vendored
View File

@@ -28,7 +28,6 @@ temp/
docs/template_plugin/html/
CMakeLists.txt.user
docs/IE_PLUGIN_DG/html/
inference-engine/ie_bridges/python/wheel/.env
*.project
*.cproject

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#
@@ -91,11 +91,8 @@ endfunction()
include(cmake/test_model_zoo.cmake)
add_subdirectory(thirdparty)
add_subdirectory(inference-engine/thirdparty)
add_subdirectory(inference-engine/src)
add_subdirectory(src)
add_subdirectory(samples)
add_subdirectory(inference-engine)
# Enable interpreter backend
if (ENABLE_TESTS OR ENABLE_TEMPLATE)

View File

@@ -29,7 +29,7 @@ Jenkinsfile @openvinotoolkit/openvino-admins
# IE Core:
/inference-engine/ @openvinotoolkit/openvino-ie-maintainers
/inference-engine/ie_bridges/python @openvinotoolkit/openvino-ie-python-api-maintainers
/src/bindings/python/ @openvinotoolkit/openvino-ie-python-api-maintainers
/src/common/transformations/ @GlebKazantaev @ilyachur
/src/common/legacy/ @openvinotoolkit/openvino-ngraph-maintainers
/src/common/ @openvinotoolkit/openvino-ie-maintainers
@@ -49,9 +49,8 @@ Jenkinsfile @openvinotoolkit/openvino-admins
/src/plugins/intel_gpu/ @openvinotoolkit/openvino-ie-gpu-maintainers @openvinotoolkit/openvino-ie-gpu-developers
# IE VPU:
/inference-engine/src/vpu/ @openvinotoolkit/openvino-ie-vpu-maintainers
/src/plugins/intel_myriad @openvinotoolkit/openvino-ie-vpu-maintainers
/src/inference/include/ie/vpu/ @openvinotoolkit/openvino-ie-vpu-maintainers
/inference-engine/thirdparty/movidius/ @openvinotoolkit/openvino-ie-vpu-maintainers
/src/tests_deprecated/unit/engines/vpu/ @openvinotoolkit/openvino-ie-vpu-maintainers @openvinotoolkit/openvino-ie-tests-maintainers
/src/tests_deprecated/functional/vpu/ @openvinotoolkit/openvino-ie-vpu-maintainers @openvinotoolkit/openvino-ie-tests-maintainers
/src/tests_deprecated/behavior/vpu/ @openvinotoolkit/openvino-ie-vpu-maintainers @openvinotoolkit/openvino-ie-tests-maintainers
@@ -64,9 +63,12 @@ Jenkinsfile @openvinotoolkit/openvino-admins
/src/plugins/intel_gna/ @openvinotoolkit/openvino-ie-gna-maintainers
/src/inference/include/ie/gna/ @openvinotoolkit/openvino-ie-gna-maintainers
# IE MULTI:
/src/plugins/auto/ @openvinotoolkit/openvino-ie-multi-maintainers
/src/inference/include/ie/multi-device/ @openvinotoolkit/openvino-ie-multi-maintainers
# IE Auto (MULTI) plugin:
/src/plugins/auto/ @openvinotoolkit/openvino-ie-auto-multi-maintainers
/src/inference/include/ie/multi-device/ @openvinotoolkit/openvino-ie-auto-multi-maintainers
# IE Paddle frontend:
/src/frontends/paddle/ @openvinotoolkit/openvino-ie-paddle-maintainers
# IE Tests:
/src/tests/ @openvinotoolkit/openvino-ie-tests-maintainers

View File

@@ -25,7 +25,7 @@ By contributing to the project, you agree to the license and copyright terms the
and release your contribution under these terms.
## Resources:
* Docs: https://docs.openvinotoolkit.org/
* Docs: https://docs.openvino.ai/
* Wiki: https://github.com/openvinotoolkit/openvino/wiki
* Issue tracking: https://github.com/openvinotoolkit/openvino/issues
* Storage: https://storage.openvinotoolkit.org/
@@ -46,6 +46,6 @@ Please report questions, issues and suggestions using:
[Open Model Zoo]:https://github.com/openvinotoolkit/open_model_zoo
[Inference Engine]:https://software.intel.com/en-us/articles/OpenVINO-InferEngine
[Model Optimizer]:https://software.intel.com/en-us/articles/OpenVINO-ModelOptimizer
[nGraph]:https://docs.openvinotoolkit.org/latest/openvino_docs_nGraph_DG_DevGuide.html
[nGraph]:https://docs.openvino.ai/latest/openvino_docs_nGraph_DG_DevGuide.html
[tag on StackOverflow]:https://stackoverflow.com/search?q=%23openvino

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#
@@ -51,8 +51,8 @@ if(CMAKE_CROSSCOMPILING AND CMAKE_HOST_SYSTEM_NAME MATCHES Linux AND CMAKE_HOST_
update_deps_cache(SYSTEM_PROTOC "${SYSTEM_PROTOC}" "Path to host protoc for ONNX Importer")
endif()
if(ENABLE_MYRIAD)
include(${IE_MAIN_SOURCE_DIR}/cmake/vpu_dependencies.cmake)
if(ENABLE_INTEL_MYRIAD)
include(${OpenVINO_SOURCE_DIR}/src/plugins/intel_myriad/myriad_dependencies.cmake)
endif()
## Intel OMP package
@@ -276,8 +276,8 @@ if(ENABLE_INTEL_GNA)
GNA_LIB_DIR
libGNA_INCLUDE_DIRS
libGNA_LIBRARIES_BASE_PATH)
set(GNA_VERSION "03.00.00.1455")
set(GNA_HASH "8ac1af18eb32777b00193f4f8c252ee4f8bd64a9069138b4a5aaeebd82ead464")
set(GNA_VERSION "03.00.00.1455.0")
set(GNA_HASH "99891696269d8fa10116c96e6b7bda4362736881f0df8df8b56c751ee18e5820")
set(FILES_TO_EXTRACT_LIST gna_${GNA_VERSION}/include)
if(WIN32)

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#
@@ -151,11 +151,15 @@ function(addIeTargetTest)
NAME
)
set(oneValueOptionalArgs
COMPONENT
)
set(multiValueArgs
LABELS
)
cmake_parse_arguments(ARG "${options}" "${oneValueRequiredArgs};${oneValueOptionalArgs}" "${multiValueArgs}" ${ARGN} )
if (NOT DEFINED ARG_COMPONENT)
set(ARG_COMPONENT tests)
endif()
addIeTarget(TYPE EXECUTABLE NAME ${ARG_NAME} ${ARG_UNPARSED_ARGUMENTS})
@@ -164,7 +168,7 @@ function(addIeTargetTest)
install(TARGETS ${ARG_NAME}
RUNTIME DESTINATION tests
COMPONENT tests
COMPONENT ${ARG_COMPONENT}
EXCLUDE_FROM_ALL)
endfunction()

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#
@@ -50,9 +50,9 @@ endfunction()
set(VALIDATED_LIBRARIES "" CACHE INTERNAL "")
function(_ie_add_api_validator_post_build_step)
function(_ov_add_api_validator_post_build_step)
if(NOT BUILD_SHARED_LIBS)
# since _ie_add_api_validator_post_build_step
# since _ov_add_api_validator_post_build_step
# is currently run only on shared libraries, we have nothing to test
return()
endif()
@@ -149,5 +149,5 @@ endfunction()
# ie_add_api_validator_post_build_step(TARGET <name>)
#
macro(ie_add_api_validator_post_build_step)
_ie_add_api_validator_post_build_step(${ARGV})
_ov_add_api_validator_post_build_step(${ARGV})
endmacro()

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2020 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#
@@ -57,7 +57,7 @@ function(ov_generate_frontends_hpp)
# for some reason dependency on source files does not work
# so, we have to use explicit target and make it dependency for frontend_common
add_custom_target(_ov_frontends_hpp DEPENDS ${ov_frontends_hpp})
add_dependencies(frontend_common _ov_frontends_hpp)
add_dependencies(frontend_common_obj _ov_frontends_hpp)
# add dependency for object files
get_target_property(sources frontend_common_obj SOURCES)
@@ -89,7 +89,7 @@ unset(protobuf_installed CACHE)
# [LINK_LIBRARIES <lib1 lib2 ...>])
#
macro(ov_add_frontend)
set(options LINKABLE_FRONTEND PROTOBUF_LITE SKIP_NCC_STYLE SKIP_INSTALL)
set(options LINKABLE_FRONTEND SHUTDOWN_PROTOBUF PROTOBUF_LITE SKIP_NCC_STYLE SKIP_INSTALL)
set(oneValueArgs NAME FILEDESCRIPTION)
set(multiValueArgs LINK_LIBRARIES PROTO_FILES)
cmake_parse_arguments(OV_FRONTEND "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN})
@@ -149,6 +149,11 @@ macro(ov_add_frontend)
add_library(openvino::frontend::${OV_FRONTEND_NAME} ALIAS ${TARGET_NAME})
endif()
# Shutdown protobuf when unloading the front dynamic library
if(OV_FRONTEND_SHUTDOWN_PROTOBUF AND BUILD_SHARED_LIBS)
target_link_libraries(${TARGET_NAME} PRIVATE ov_protobuf_shutdown)
endif()
if(NOT BUILD_SHARED_LIBS)
# override default function names
target_compile_definitions(${TARGET_NAME} PRIVATE
@@ -160,7 +165,7 @@ macro(ov_add_frontend)
# frontend's CMakeLists.txt must define its own custom 'ov_ncc_naming_style' step
else()
ov_ncc_naming_style(FOR_TARGET ${TARGET_NAME}
INCLUDE_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/include"
SOURCE_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/include"
ADDITIONAL_INCLUDE_DIRECTORIES
$<TARGET_PROPERTY:frontend_common::static,INTERFACE_INCLUDE_DIRECTORIES>)
endif()
@@ -177,7 +182,8 @@ macro(ov_add_frontend)
ie_add_api_validator_post_build_step(TARGET ${TARGET_NAME})
target_link_libraries(${TARGET_NAME} PRIVATE openvino::runtime ${OV_FRONTEND_LINK_LIBRARIES})
target_link_libraries(${TARGET_NAME} PUBLIC openvino::runtime)
target_link_libraries(${TARGET_NAME} PRIVATE ${OV_FRONTEND_LINK_LIBRARIES})
# WA for TF frontends which always requires protobuf (not protobuf-lite)
# if TF FE is built in static mode, use protobuf for all other FEs

View File

@@ -1,4 +1,4 @@
// Copyright (C) 2018-2021 Intel Corporation
// Copyright (C) 2018-2022 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#
@@ -19,11 +19,13 @@ execute_process(
"${CMAKE_COMMAND}" -S "${ncc_style_bin_dir}/source"
-B "${ncc_style_bin_dir}/build"
RESULT_VARIABLE clang_find_result
OUTPUT_VARIABLE output
ERROR_VARIABLE output)
OUTPUT_VARIABLE output_var
ERROR_VARIABLE error_var)
if(NOT clang_find_result EQUAL "0")
message(WARNING "Please, install libclang-[N]-dev package (required for ncc naming style check)")
message(WARNING "find_package(Clang) output: ${output_var}")
message(WARNING "find_package(Clang) error: ${error_var}")
set(ENABLE_NCC_STYLE OFF)
endif()
@@ -75,12 +77,12 @@ endif()
#
# ov_ncc_naming_style(FOR_TARGET target_name
# INCLUDE_DIRECTORY dir
# SOURCE_DIRECTORY dir
# [ADDITIONAL_INCLUDE_DIRECTORIES dir1 dir2 ..]
# [DEFINITIONS def1 def2 ..])
#
# FOR_TARGET - name of the target
# INCLUDE_DIRECTORY - directory to check headers from
# SOURCE_DIRECTORY - directory to check sources from
# ADDITIONAL_INCLUDE_DIRECTORIES - additional include directories used in checked headers
# DEFINITIONS - additional definitions passed to preprocessor stage
#
@@ -90,23 +92,24 @@ function(ov_ncc_naming_style)
endif()
cmake_parse_arguments(NCC_STYLE "FAIL"
"FOR_TARGET;INCLUDE_DIRECTORY" "ADDITIONAL_INCLUDE_DIRECTORIES;DEFINITIONS" ${ARGN})
"FOR_TARGET;SOURCE_DIRECTORY" "ADDITIONAL_INCLUDE_DIRECTORIES;DEFINITIONS" ${ARGN})
foreach(var FOR_TARGET INCLUDE_DIRECTORY)
foreach(var FOR_TARGET SOURCE_DIRECTORY)
if(NOT DEFINED NCC_STYLE_${var})
message(FATAL_ERROR "${var} is not defined in ov_ncc_naming_style function")
endif()
endforeach()
file(GLOB_RECURSE headers
RELATIVE "${NCC_STYLE_INCLUDE_DIRECTORY}"
"${NCC_STYLE_INCLUDE_DIRECTORY}/*.hpp")
file(GLOB_RECURSE sources
RELATIVE "${NCC_STYLE_SOURCE_DIRECTORY}"
"${NCC_STYLE_SOURCE_DIRECTORY}/*.hpp"
"${NCC_STYLE_SOURCE_DIRECTORY}/*.cpp")
list(APPEND NCC_STYLE_ADDITIONAL_INCLUDE_DIRECTORIES "${NCC_STYLE_INCLUDE_DIRECTORY}")
list(APPEND NCC_STYLE_ADDITIONAL_INCLUDE_DIRECTORIES "${NCC_STYLE_SOURCE_DIRECTORY}")
foreach(header IN LISTS headers)
set(output_file "${ncc_style_bin_dir}/${header}.ncc_style")
set(full_header_path "${NCC_STYLE_INCLUDE_DIRECTORY}/${header}")
foreach(source IN LISTS sources)
set(output_file "${ncc_style_bin_dir}/${source}.ncc_style")
set(full_source_path "${NCC_STYLE_SOURCE_DIRECTORY}/${source}")
add_custom_command(
OUTPUT
@@ -115,7 +118,7 @@ function(ov_ncc_naming_style)
"${CMAKE_COMMAND}"
-D "PYTHON_EXECUTABLE=${PYTHON_EXECUTABLE}"
-D "NCC_PY_SCRIPT=${ncc_script_py}"
-D "INPUT_FILE=${full_header_path}"
-D "INPUT_FILE=${full_source_path}"
-D "OUTPUT_FILE=${output_file}"
-D "DEFINITIONS=${NCC_STYLE_DEFINITIONS}"
-D "CLANG_LIB_PATH=${libclang_location}"
@@ -124,12 +127,12 @@ function(ov_ncc_naming_style)
-D "EXPECTED_FAIL=${NCC_STYLE_FAIL}"
-P "${ncc_style_dir}/ncc_run.cmake"
DEPENDS
"${full_header_path}"
"${full_source_path}"
"${ncc_style_dir}/openvino.style"
"${ncc_script_py}"
"${ncc_style_dir}/ncc_run.cmake"
COMMENT
"[ncc naming style] ${header}"
"[ncc naming style] ${source}"
VERBATIM)
list(APPEND output_files ${output_file})
endforeach()
@@ -145,6 +148,6 @@ endfunction()
if(TARGET ncc_all)
ov_ncc_naming_style(FOR_TARGET ncc_all
INCLUDE_DIRECTORY "${ncc_style_dir}/self_check"
SOURCE_DIRECTORY "${ncc_style_dir}/self_check"
FAIL)
endif()

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -7,7 +7,7 @@ Namespace: '^([a-z\d_]+|InferenceEngine)$'
NamespaceAlias: '^([a-z\d_]+|InferenceEngine)$'
UnionName: '[A-Z][\w]+$'
TemplateTemplateParameter: '[A-Z][\w]+'
NamespaceReference: '^([a-z\d_]+|InferenceEngine)$'
NamespaceReference: '^([a-z\d_]+|InferenceEngine|GPUContextParams)$'
TemplateNonTypeParameter: '^\w*$'
ClassTemplate: '^([A-Z][\w]+|element_type_traits)$'
TemplateTypeParameter: '^\w*$'
@@ -72,12 +72,12 @@ CxxNullPointerLiteralExpression: '^.*$'
CxxThisExpression: '^.*$'
CxxThrowExpression: '^.*$'
CxxNewExpression: '^.*$'
CxxDeleteExpression: 'XXXX'
CxxDeleteExpression: '^.*$'
CxxUnaryExpression: '^.*$'
PackExpansionExpression: '^.*$'
SizeOfPackExpression: '^.*$'
LambdaExpression: '^.*$'
ObjectBoolLiteralExpression: 'XXXX'
ObjectBoolLiteralExpression: '^.*$'
ObjectSelfExpression: 'XXXX'
UnexposedStatement: 'XXXX'
LabelStatement: 'XXXX'

View File

@@ -1,2 +1,2 @@
clang==9.0
clang==11.0
pyyaml

View File

@@ -1,4 +1,4 @@
// Copyright (C) 2018-2021 Intel Corporation
// Copyright (C) 2018-2022 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//

View File

@@ -1,4 +1,4 @@
// Copyright (C) 2018-2021 Intel Corporation
// Copyright (C) 2018-2022 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//

View File

@@ -1,4 +1,4 @@
// Copyright (C) 2018-2021 Intel Corporation
// Copyright (C) 2018-2022 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#
@@ -186,19 +186,24 @@ macro(ie_register_plugins_dynamic)
# Unregister <device_name>.xml files for plugins from current build tree
set(plugins_to_remove ${IE_REGISTER_POSSIBLE_PLUGINS})
set(config_output_file "$<TARGET_FILE_DIR:${IE_REGISTER_MAIN_TARGET}>/plugins.xml")
foreach(plugin IN LISTS plugins_to_remove)
foreach(name IN LISTS PLUGIN_FILES)
string(REPLACE ":" ";" name "${name}")
list(LENGTH name length)
if(NOT ${length} EQUAL 2)
message(FATAL_ERROR "Unexpected error, please, contact developer of this script")
endif()
list(GET name 0 device_name)
add_custom_command(TARGET ${IE_REGISTER_MAIN_TARGET} POST_BUILD
COMMAND
"${CMAKE_COMMAND}"
-D "IE_CONFIG_OUTPUT_FILE=${config_output_file}"
-D "IE_PLUGIN_NAME=${plugin}"
-D "IE_PLUGIN_NAME=${device_name}"
-D "IE_CONFIGS_DIR=${CMAKE_BINARY_DIR}/plugins"
-P "${IEDevScripts_DIR}/plugins/unregister_plugin_cmake.cmake"
COMMENT
"Remove ${plugin} from the plugins.xml file"
"Remove ${device_name} from the plugins.xml file"
VERBATIM)
endforeach()

View File

@@ -1,4 +1,4 @@
// Copyright (C) 2018-2021 Intel Corporation
// Copyright (C) 2018-2022 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#
@@ -46,19 +46,34 @@ endforeach()
set(newContent "")
file(STRINGS "${IE_CONFIG_OUTPUT_FILE}" content)
set(already_exists_in_xml OFF)
foreach(line IN LISTS content)
if("${line}" MATCHES "</plugins>")
if(NOT already_exists_in_xml)
foreach(plugin_file IN LISTS plugin_files_to_add)
file(READ "${plugin_file}" content)
set(newContent "${newContent}
${content}")
get_filename_component(plugin_name "${plugin_file}" NAME_WE)
if("${line}" MATCHES "name=\"${plugin_name}\"")
set(already_exists_in_xml ON)
endif()
endforeach()
endif()
if (NOT already_exists_in_xml)
if("${line}" MATCHES "</plugins>")
foreach(plugin_file IN LISTS plugin_files_to_add)
file(READ "${plugin_file}" content)
set(newContent "${newContent}
${content}")
endforeach()
endif()
if(newContent)
set(newContent "${newContent}\n${line}")
else()
set(newContent "${line}")
if(newContent)
set(newContent "${newContent}\n${line}")
else()
set(newContent "${line}")
endif()
endif()
if("${line}" MATCHES "</plugin>")
set(already_exists_in_xml OFF)
endif()
endforeach()

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#
@@ -15,7 +15,7 @@ file(STRINGS "${IE_CONFIG_OUTPUT_FILE}" content)
set(skip_plugin OFF)
foreach(line IN LISTS content)
if("${line}" MATCHES "${IE_PLUGIN_NAME}")
if("${line}" MATCHES "name=\"${IE_PLUGIN_NAME}\"")
set(skip_plugin ON)
endif()

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#
# Target system specific flags

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#
# TBB_FOUND should not be set explicitly. It is defined automatically by CMake.

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#
@@ -10,7 +10,7 @@ set(IE_VS_VER_COMPANY_NAME_STR "Intel Corporation")
set(IE_VS_VER_PRODUCTVERSION_STR "${CI_BUILD_NUMBER}")
set(IE_VS_VER_PRODUCTNAME_STR "OpenVINO toolkit")
set(IE_VS_VER_COPYRIGHT_STR "Copyright (C) 2018-2021, Intel Corporation")
set(IE_VS_VER_COMMENTS_STR "https://docs.openvinotoolkit.org/")
set(IE_VS_VER_COMMENTS_STR "https://docs.openvino.ai/")
#
# ie_add_vs_version_file(NAME <name>

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#
@@ -106,17 +106,17 @@ ie_option (ENABLE_HETERO "Enables Hetero Device Plugin" ON)
ie_option (ENABLE_TEMPLATE "Enable template plugin" ON)
ie_dependent_option (ENABLE_VPU "vpu targeted plugins for inference engine" ON "NOT WINDOWS_PHONE;NOT WINDOWS_STORE" OFF)
ie_dependent_option (ENABLE_INTEL_MYRIAD_COMMON "common part of myriad plugin" ON "NOT WINDOWS_PHONE;NOT WINDOWS_STORE" OFF)
ie_dependent_option (ENABLE_MYRIAD "myriad targeted plugin for inference engine" ON "ENABLE_VPU" OFF)
ie_dependent_option (ENABLE_INTEL_MYRIAD "myriad targeted plugin for inference engine" ON "ENABLE_INTEL_MYRIAD_COMMON" OFF)
ie_dependent_option (ENABLE_MYRIAD_NO_BOOT "myriad plugin will skip device boot" OFF "ENABLE_MYRIAD" OFF)
ie_dependent_option (ENABLE_MYRIAD_NO_BOOT "myriad plugin will skip device boot" OFF "ENABLE_INTEL_MYRIAD" OFF)
ie_dependent_option (ENABLE_GAPI_TESTS "tests for GAPI kernels" ON "ENABLE_GAPI_PREPROCESSING;ENABLE_TESTS" OFF)
ie_dependent_option (GAPI_TEST_PERF "if GAPI unit tests should examine performance" OFF "ENABLE_GAPI_TESTS" OFF)
ie_dependent_option (ENABLE_MYRIAD_MVNC_TESTS "functional and behavior tests for mvnc api" OFF "ENABLE_TESTS;ENABLE_MYRIAD" OFF)
ie_dependent_option (ENABLE_MYRIAD_MVNC_TESTS "functional and behavior tests for mvnc api" OFF "ENABLE_TESTS;ENABLE_INTEL_MYRIAD" OFF)
ie_dependent_option (ENABLE_DATA "fetch models from testdata repo" ON "ENABLE_FUNCTIONAL_TESTS;NOT ANDROID" OFF)
@@ -181,11 +181,11 @@ if (ENABLE_PROFILING_RAW)
add_definitions(-DENABLE_PROFILING_RAW=1)
endif()
if (ENABLE_MYRIAD)
add_definitions(-DENABLE_MYRIAD=1)
if (ENABLE_INTEL_MYRIAD)
add_definitions(-DENABLE_INTEL_MYRIAD=1)
endif()
if (ENABLE_MYRIAD_NO_BOOT AND ENABLE_MYRIAD )
if (ENABLE_MYRIAD_NO_BOOT AND ENABLE_INTEL_MYRIAD)
add_definitions(-DENABLE_MYRIAD_NO_BOOT=1)
endif()

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#
@@ -9,7 +9,6 @@ include(CMakeFindDependencyMacro)
# TODO: remove after changing [private plugins]
set_and_check(OpenVINO_SOURCE_DIR "@OpenVINO_SOURCE_DIR@") # KMB
set_and_check(OpenVINO_MAIN_SOURCE_DIR "@OpenVINO_SOURCE_DIR@") # KMB
set_and_check(IE_MAIN_SOURCE_DIR "@IE_MAIN_SOURCE_DIR@") # HDDL
# Variables to export in plugin's projects

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#
# FindOpenVINO

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,5 +1,5 @@
# ******************************************************************************
# Copyright 2017-2021 Intel Corporation
# Copyright 2017-2022 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#
@@ -21,4 +21,4 @@ endmacro()
_set_if_not_defined(FORCE_32 ON)
# need libusb 32-bits version
_set_if_not_defined(ENABLE_VPU OFF)
_set_if_not_defined(ENABLE_INTEL_MYRIAD_COMMON OFF)

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,14 +1,5 @@
#
# Copyright 2020 Intel Corporation.
#
# LEGAL NOTICE: Your use of this software and any required dependent software
# (the "Software Package") is subject to the terms and conditions of
# the Intel(R) OpenVINO(TM) Distribution License for the Software Package,
# which may also include notices, disclaimers, or license terms for
# third party or open source software included in or with the Software Package,
# and your use indicates your acceptance of all such terms. Please refer
# to the "third-party-programs.txt" or other similarly-named text file
# included with the Software Package for additional details.
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#
if(DEFINED OECORE_BASE_DIR)

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2021 Intel Corporation
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

Some files were not shown because too many files have changed in this diff Show More