Commit Graph

6089 Commits

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