Commit Graph

6122 Commits

Author SHA1 Message Date
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