Commit Graph

6085 Commits

Author SHA1 Message Date
Maxim Gordeev
39a1b98799
changed C++ samples due to OpenVINO style (#9463)
I'll merge this. We need to talk with someone who know openvino build system better than we to "use cmake function ov_ncc_style_check to perform such check automatically". As far as I can see, currently it used only in one place, so it is not common approach for openvino components
2021-12-29 15:36:33 +03:00
Nikita Malinin
010877d06c
[POT] Update dtype for BC Parameters (#9468) 2021-12-29 15:11:56 +03:00
Vladislav Volkov
1ee8007764
[CPU] NV12toRGB and NV12toBGR operations for CPU plugin (#8628) 2021-12-29 13:46:02 +03:00
Maxim Andronov
2e433620b7
[CPU] General fixes for dynamic shapes. Part 3 (#9338) 2021-12-29 13:43:35 +03:00
Irina Efode
9234f4177d
[IE TESTS] Test movement (#9429)
* [IE TESTS] Movement of some tests in shared lib. Movement of 'QueryNetwork' validation to ApiConformance suite

* Update read_ir.cpp
2021-12-29 12:28:58 +03:00
Vladimir Paramuzov
3ee00e018a
[GPU] Moved onednn_gpu to plugin folder (#9458) 2021-12-29 11:06:14 +03:00
Roman Lyamin
9f69daf0f3
[GPU] Remove batched key from config (#9451) 2021-12-29 09:58:48 +03:00
Yegor Kruglov
8b6a065948
[MO][IR READER] Updated MO and IR Reader to keep the second MaxPool output in restored IR (#9180)
* updated MO to save second MaxPool output in restored IR

* blank line at the end of file
2021-12-29 09:44:10 +03:00
Anton Chetverikov
8dc7669156
[MO] Deprecate TensorFlow 1.x environment support by MO (#8970)
* Remove tf1 requirements file and add deprecation message then tf1 used while compression

* Added tf requirements file

* Update docs and warning message

* Update install scripts

* return tf configuration

* Add compat.v1 to code snippets in docs

* fix typo

* Moved back tf2 file

* Apply review comments

* Fix missed eol

* Fix missed eol

* Apply review comments in docs

* Remove tf version and fix error in script tag

* Remove tf version

* Remove unused import

* Add note about python and TF version
2021-12-29 09:43:52 +03:00
Maksim Kutakov
2870dc7d3f
[CPU] Cache for runtime data (#9192)
Caching added for Eltwise and MatMul nodes
2021-12-29 09:19:45 +03:00
Vladislav Volkov
cb9fe0910d
[CPU] Broken support for Layout::ANY in CPU plugin (#9434) 2021-12-29 09:09:56 +03:00
Luwei Zhou
ce753f41dc
[shape_infer]shape inference implement of Select Detectionoutput and Shufflechannels OPs (#8348)
* Implement detection_output shape infer

* revise and update the code flow

* update based on review.

* Update based on review

* Implement the shuffle_channels Op shape inference.

* Fix CI coding style issue.

* Implement the select OP shape inference.

* Update based on the review  comments

* Update based on the review comments.

* Add pragma once for the shape inference head.

* Add new shape_infer test file for detection_output OP.

* Ensure the header would only be included once.

* Add shuffle_channels OP shape infer test.

* Add shape_infer() invocations into shape_inference() API

shape_inference() API support Select, ShuffleChannels, DetectionOutput OPs
Fix extra pragma, unnecessary friend function declaration.

* Update based on the review comments.

* Move the shape infer API helpers into new folder.

* Applied review comments.

* Applied 2nd review comments

* Applied review comments

* Fix coding style.

* Update

* Applied review comments.

* Fix comipling issue of unused variable.

* Fix the CI issue.

* Update the coding style

* Move test cases into new folder

* Applied  review comments.
2021-12-29 05:39:50 +03:00
Pavel Esir
a51a735d9f
[MO] cli_parser.py fix to accept scalar value for freezing (#9395)
* cli_parser.py fix to accept scalar value for freezing

* update cli help

* fixed unit-tests, clarified help for specifying data type

* typos correction
2021-12-29 01:33:49 +03:00
Anton Chetverikov
3e6951c1da
[MO] Support for common rt_info attribute in MO IR Reader (#9272)
* Support for common rt_info attribute in MO IR Reader

* Add missed change

* Moved back wrong change

* Change attr name

* Add support for rt_info for out ports

* Add emitting for rt_info

* Fix restoration error

* Add support for rt_info for input ports

* Add more comments

* Set correct layout attr to restored graph
2021-12-29 00:59:48 +03:00
Milana Shhanukova
3cef513495
[POT] Check type for layers' renaming (#9276)
* change in installation

* develop mode

* change in install guide

* style change

* change declare

* add type checking

* revert changes

* rename directly in nx_model

* Update README_dev.md
2021-12-28 18:08:36 +03:00
Roman Kazantsev
b2aff0cd56
[MO SDL] Test MO and IR Reader on attacking inputs (#8947)
* Test MO and IR Reader on attacking inputs

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

* Add test to check IR Reader against untrusted well-formed IR

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

* Refactor IR Reader tests with corrupted IR

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

* Test for regular expression denial of service

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

* Remove undesired word like bomb

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

* Move tests to new location

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

* Use correct import

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

* Revert blank line

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
2021-12-28 17:49:48 +03:00
Jade Cho
da1261a1d8
[GPU] Fix a bug in post-operation optimization (#9443) 2021-12-28 17:48:29 +03:00
hyunback kim
c6bc4d0045
[GPU] Fix debug_config build failed issue. (#9441) 2021-12-28 17:00:26 +03:00
Ivan Novoselov
0803684f9e
[Snippets] Support decreasing output shapes (#9446) 2021-12-28 16:22:45 +03:00
Roman Lyamin
ecbeff460a
[GPU] Fix check binary size in SetBlob (#9418) 2021-12-28 16:12:15 +03:00
Vladimir Dudnik
04bb8bb9bb
[IE Samples] fix hello classification cpp (#9450)
* fix image file read error message when sample built w/o opencv

* code style and use model inputs/outputs instead of parameters and results
2021-12-28 15:58:09 +03:00
azhogov
bd82e8d000 Fix stress test install: remove requirements-caffe2.in 2021-12-28 12:07:32 +03:00
Aleksandr Korolev
c87ac722b1
[VPU] Enable new InferRequest behavior tests with OV 2.0 (#9301) 2021-12-28 11:21:00 +03:00
Alexander Zhogov
32bc7840fc
Revert "Revert "[LPT] Assign + ReadValue transformation (#8690)" (#9457)" (#9460)
This reverts commit d51f337934.
2021-12-27 22:51:23 +03:00
Vladimir Paramuzov
f565e0f854
[GPU] Merge cldnn and plugin code (#8484) 2021-12-27 18:35:01 +03:00
Alexander Zhogov
d51f337934
Revert "[LPT] Assign + ReadValue transformation (#8690)" (#9457)
This reverts commit c5824b8494.
2021-12-27 18:25:11 +03:00
azhogov
7d198a8535 Azure CI: Remove yaml for creating Windows docker 2021-12-27 18:22:31 +03:00
Vladimir Dudnik
ab10057371
update open_model_zoo submodule. remove deprecated public models, fix mo path in omz_converter (#9453) 2021-12-27 17:32:40 +03:00
Artyom Anokhov
2538ae5da1
[Deployment Manager] Remove Python common component from configs (#9448)
* Deployment Manager configs: Remove `Python common` component

* Dpeloyment Manager configs: Fixed misprint

* DM configs: Fixed JSON syntax

* DM darwin.json: Removed double comma
2021-12-27 17:17:22 +03:00
Vladimir Zinoviev
c5824b8494
[LPT] Assign + ReadValue transformation (#8690)
* [LPT] Assign + ReadValue transformation

* [LPT] Assign+ReadValue: applied review comments

* fixed some misses
2021-12-27 17:07:20 +03:00
Eugeny Volosenkov
fa1b59b7be
Fix incorrect working UnpackPackReverseInputChannels for centernet (#9201)
* fix UnpackPackReverseInputChannels

* Add UnpackPackReverseInputChannels test
2021-12-27 15:57:02 +03:00
Chenhu Wang
a83bcee4bd
[CPU] NMS optimization (#8312) 2021-12-27 15:51:50 +03:00
azhogov
5afb63b06b Azure CI: Add yaml for creating Windows docker 2021-12-27 15:18:54 +03:00
Sergey Lyubimtsev
4188dbbf9f
install_openvino_dependencies.sh update (#9398)
* Remove opencv requirements from default components list

* Remove opencv requirements from default components list

* fix typo
2021-12-27 13:06:12 +03:00
Sergey Shlyapnikov
95d86eb2bf
[GPU] Add parallel quantizes optimization (#9370) 2021-12-27 09:47:20 +03:00
Vladimir Paramuzov
0fa226a0c2
[GPU] Fixed uninit vairable and exceptions from nothrow methods (#9426) 2021-12-27 09:46:52 +03:00
Roman Lyamin
b050d39f89
[GPU] Add batching surface to new API (#9435) 2021-12-27 09:46:37 +03:00
Dmitry Pigasin
d6dcf58846
[IE Python Speech Sample] Migrate to OV 2.0 API (#9348)
* Create mvp

* Implement new API & Refactoring

* Fix -oname for models whose name of output layer contains a port number

* Fix step numbers

* Create utils.py

* Remove shebang from utils.py

* Fix `-iname` option
2021-12-27 09:22:15 +03:00
Vladimir Dudnik
a9cee5f101
[IE Samples] OV2.0 API python ngraph_function_creation_sample (#9440)
* [IE Python Speech Sample] Migrate to OV 2.0 API

* improvements

* flake notes

* improved code style like as C++

* linters changes

* changed data.py

* sync output with C++ sample

Co-authored-by: Maxim Gordeev <maxim.gordeev@intel.com>
2021-12-27 09:19:18 +03:00
Egor Shulman
b454076a56
[CPU] Fixed leftovers for ExperimentalDetectronTopKROIs and klocwork issue (#7885) 2021-12-26 21:25:33 +03:00
Artur Kulikowski
2262692ce9
Generate result names for ONNX models (#9413) 2021-12-26 17:12:01 +01:00
Sergey Lyubimtsev
73143b8c03
Add batch plugin to openvino wheel (#9432) 2021-12-25 12:42:55 +03:00
Roman Kazantsev
acfae31759
Extend FIFOQueueDequeue replacer to support OOB case (#9428)
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
2021-12-25 10:32:13 +03:00
Anton Pankratov
6dcbb13748
Removed implicit cast from runtime objects (#9419) 2021-12-24 21:14:41 +03:00
Alexandra Sidorova
fa2647f965
[CPU] Added dynamism support for If (#8967) 2021-12-24 19:43:30 +03:00
Alexey Lebedev
de136a6515
[PYTHON API] fix model inputs and outputs property (#9407)
* fix inputs.property and add tests for reshape

* add is_instance in test

* fix code style
2021-12-24 16:42:48 +03:00
Alexey Lebedev
3ca80d12b2
[tools] use ports instead parameters and results in benchmark tool (#9422)
* use ports instead parameters and results

* Fix element_type if preprocessing is skipped

* rename function to model

* rename exe_network to compiled_model
2021-12-24 15:55:58 +03:00
Alexandra Sidorova
91945ba122
[CPU] Added dynamism support for TensorIterator (#8879) 2021-12-24 15:08:42 +03:00
Ilya Churaev
d1fd0d259e
Introduce get|set_layout helpers (#9401)
* Introduce get|set_layout helpers

* Added python tests and fixed comments

* Added non constant methods

* Update src/bindings/python/tests/test_ngraph/test_basic.py

Co-authored-by: Alexey Lebedev <alexey.lebedev@intel.com>

* Fixed tests

* FIxed code style

* Fixed func tests

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
Co-authored-by: Alexey Lebedev <alexey.lebedev@intel.com>
2021-12-24 14:24:09 +03:00
Maxim Vafin
3f35e2a321
Enable new FP16 and support mixed precision by MO (#8514)
* Enable new FP16 format and support mixed precision

* Apply review comments

* Fix issue with fp64 in FakeQuantWithMinMaxVars.py

* Enabme decompression converts fusing for CPU plugin

* Apply review feedback

* Fix code style

* Fix issue with np.full and apply review feedback

* Apply review feedback

* Fix HardSigmoid onnx extractor

* Replace np.arrays that were skipped with mo_array

* Fix compress_quantized_weights_test.py

* Fix import issues

* Apply review feedback and fix type of fusing linops in MO

* Apply review feedback

* Fix types for Mean/Scales and MXNET zeros

* Add RandomUniform_8 to ConvertPrecision

* Fix merge issue

* Fix consts names collision in GPU plugin
2021-12-24 14:00:37 +03:00