Commit Graph

4027 Commits

Author SHA1 Message Date
achetver
41850765e0 Fake commit to pictures merge problem 2021-07-01 11:38:48 +03:00
achetver
60ddfbc495 Merge remote-tracking branch 'upstream/master' into fix/achetver/redundant_results_splits 2021-07-01 11:37:43 +03:00
Mikhail Nikolskii
1d4107bfcd
Avoid OpenCL linkage for app using make_shared_blob_nv12 (#5964)
* Update gpu_context_api_va.hpp

* Update gpu_context_api_dx.hpp
2021-07-01 10:35:44 +03:00
Mikhail Nosov
ae624ea18a
[MO] Fix showing graceful error message when no ngraph case (#6379)
* [MO] Fix showing graceful error message when no ngraph case

Move frontend-related imports inside appropriate functions
And use try/except if import fails to show graceful error message

* Revert "[MO] Fix showing graceful error message when no ngraph case"

This reverts commit 72d52bd946.

* Print error before running of subprocess if IE or nGraph Python API is not found

* Added pytest to requirements_dev.txt

* Fixed review comment
2021-07-01 09:49:18 +03:00
Ilya Lavrenov
dd2ea02d3a
Fixed ngraph unit tests in Debug (#6470)
* Added compile_tool to PATH

* Installed benchmark_app

* Fixed ngraph unit tests in Debug

* Install of VPU_FIRMWARE to <root>/tests folder

* Conditional installation of benchmark_app
2021-06-30 20:57:01 +03:00
Piotr Szmelczynski
6d5e6de895
Revise cos (#6429)
* Update docs

* create type_prop test for cos

* Create visitor test foor cos

* add RTTI macro

* Create separate ref impl for integer input

* add cos to SLT integer activation type

* add backend test for int input

* add cos to constants.py

* style apply

* fix spec

* add ngraph check for outputs and inputs

* fix inputs ngraph check

* remove unnecessary includes

* style dix
2021-06-30 18:46:11 +03:00
Artyom Anokhov
7720bde7ac
setupvars: Added OMZ downloader to PATH & PYTHONPATH (#6440) 2021-06-30 18:23:59 +03:00
Ilya Lavrenov
07f94ea602
Minimized usage of IE_MAIN_SOURCE_DIR (#6422)
* Minimized IE_MAIN_SOURCE_DIR hardcode

* Used COMPILE_OPTIONS instead of COMPILE_FLAGS

* Fixed compilation

* Enabled NGRAPH_DYNAMIC_COMPONENTS_ENABLE by default

* Fixes

* Moved GNA related file

* Fixed backend compilation

* Fixed Windows for ngraph

* Fixed <root>/tests build

* More updates

* Fixed scripts install

* Fixed Windows

* Fixed Windows
2021-06-30 18:15:41 +03:00
Dmitry Pigasin
5c711cf8bb
[samples] Fix other language realization links (#6463) 2021-06-30 16:50:23 +03:00
Dmitry Pigasin
37a2bab747
[samples] Use ref for validated model field (#6468) 2021-06-30 16:48:32 +03:00
Pavel Esir
50a9ea0b14
[doc] Corrections for Yolo V1 and V2 conversion (#6283)
* added corrections for Yolo V1 and V2

* changed order of conversion commands : v1 goes first general last

* aligned line endings

* added commit hash
2021-06-30 15:22:31 +03:00
Ewa Tusień
9d93c09e24
[ONNX] Set configuration for NEAREST interpolate mode (#6413) 2021-06-30 12:07:15 +02:00
Victor Kuznetsov
a1eb5b1fd5
Change target branch field (fix null) (#6433) 2021-06-30 12:53:17 +03:00
Bartosz Lesniewski
5e501ff614
Revise NonZero op (#5909)
* Use ngraph rtti macros

* add visitor test

* add visitor test cases to cover all possibilities

* add boolean case to type prop tests

* add boolean type to sslt

* add nonzero to trusted op list

* multiply dimensions when input shape is dynamic

* Add and disable cpu instantiations of slts

* Add missing coma in skip tests config for cpu

* Fix expected output shapes in type prop testcases

* add partialshape input cases to type prop tests
2021-06-30 12:35:19 +03:00
Vladimir Paramuzov
9439d3b74e
[IE CLDNN] Added simple locale test (#6411) 2021-06-30 12:17:43 +03:00
Chetverikov
119ba4cbd7 Merge remote-tracking branch 'upstream/master' into fix/achetver/redundant_results_splits 2021-06-30 12:09:35 +03:00
Chetverikov
dd6e3af1a3 Update comment 2021-06-30 12:09:08 +03:00
Alexander Zhogov
37e66425db
Azure CI: Disable failed UT GRUSequenceCommonZeroClip (#6459) 2021-06-30 11:32:53 +03:00
Ilya Lavrenov
db0145be1e
Proper location for IRv7 reader unit tests (#6444) 2021-06-29 21:50:56 +03:00
Alexey Suhov
2c9eb6d89b
[README.md] change latest release to 2021.4 2021-06-29 21:48:22 +03:00
Krzysztof Bruniecki
23098d32a8
Clean up cnn 1D pooling size computation (#5950) 2021-06-29 19:41:08 +03:00
Evgeny Kotov
124f438b4a
GNA add InsertTransposeBeforeMatmul unit tests (#6421)
- create dir inference-engine/src/gna_plugin/transformations
- add tests insert_transpose_before_matmul.cpp
2021-06-29 18:08:46 +03:00
Irina Efode
1ca53717fb
[IE TESTS] Add exception handling in merge_xmls script (#6442) 2021-06-29 17:03:06 +03:00
Krzysztof Bruniecki
4161bb7fa2
[GNA] Use stride instead of window for pooling (#5946)
* Use pool stride instead of window size where applicable

* Add test for pooling stride not equal to wnd

* Add more tests and cleanup

* Fix SW_FP32 legacy cnn

* [WIP] Refactor CNN1D

* Remove unused (commented out) code

* Add tests
2021-06-29 16:53:13 +03:00
Vladimir Paramuzov
0e92000b56
[IE CLDNN] ocl includes cleanup (#6362) 2021-06-29 16:50:22 +03:00
Irina Efode
d1aed21441
[IE TESTS] Fix Shared::Summary::SetOutputFolder() for CentOS (#6441) 2021-06-29 16:40:14 +03:00
Xie Zhengtian
c0f227bddd
[AUTO][IE TESTS] Fix IE test issue for auto-device plugin (#6113)
* Auto will throw with incorrect config

* Update func tests for auto-device plugin

Signed-off-by: Zhengtian Xie <zhengtian.xie@intel.com>
2021-06-29 16:14:28 +03:00
Patryk Elszkowski
65aa58a06f
update spec for DepthToSpace operation (#6315)
* Update speck

* remove ONNX link and fix type of output

* fix `block_size` description
2021-06-29 16:02:57 +03:00
Shoujiang Ma
3aa5413363
[AUTO] AUTO inferences with CPU while the actual accelerator loads the network (#5944)
* DRAFT: hot-swap async request (when VPU or other acceleratore finally loaded)

* DRAFT2: communicating the hot-swap back to the AutoExecNetwork, added logic for blobs (and keeping them internally to the AutoRequest), added lot's of comments for fixme (items to close the semantics and behaviour)

* Rebase/refactor code and fix tests issue

Signed-off-by: Shoujiang Ma <shoujiang.ma@intel.com>

* Fix logic for AutoExecutableNetwork

1. force loadNetwork in parallel by std::launch::async
2. address some fixme in auto_exec_network.cpp
3. capture by reference

Signed-off-by: Shoujiang Ma <shoujiang.ma@intel.com>

* Fix core dump

Signed-off-by: Shoujiang Ma <shoujiang.ma@intel.com>

* Lambda explicit capture by value

Signed-off-by: Shoujiang Ma <shoujiang.ma@intel.com>

* Add debug log to detect destory order of plugin and core

Signed-off-by: Shoujiang Ma <shoujiang.ma@intel.com>

* Use sync to load cpu and gpu to check ci

Signed-off-by: Shoujiang Ma <shoujiang.ma@intel.com>

* Revert "Use sync to load cpu and gpu to check ci"

This reverts commit 66e09ccd47321e26f68392976d59b1e69cd3df1a.

* Copy network in lambda

Signed-off-by: Shoujiang Ma <shoujiang.ma@intel.com>

* Try to fix CanCreateInferRequest test in Centos

Signed-off-by: Shoujiang Ma <shoujiang.ma@intel.com>

* Remove print log

Signed-off-by: Shoujiang Ma <shoujiang.ma@intel.com>

* Fix CI issues in AUTO because GPU execNetwork doesn't support SetConfig

Signed-off-by: Shoujiang Ma <shoujiang.ma@intel.com>

* Address reviewer's comment: handle load network failure

Signed-off-by: Shoujiang Ma <shoujiang.ma@intel.com>

* weak_ptr rather than plain ICore* to make sure we hold the Core (whihc holds the plugins in turn) from the destruction in case we need that

* Replace ie::ICore* to shared_ptr<ie::ICore>

Signed-off-by: Shoujiang Ma <shoujiang.ma@intel.com>

Co-authored-by: myshevts <maxim.y.shevtsov@intel.com>
2021-06-29 15:54:40 +03:00
Maxim Shevtsov
9422a7b240
fixed multi/hetero setConfig to throw on unsupported config keys (#6373)
* fixed multi setConfig to throw on unsupported config keys

* fixed hetero setConfig to throw on unsupported config keys. simplified the test on the incorrect keys

* aligning MULTI tests to the new (fixed) behaviour - also aligned with AUTO and HETERO

* fixed multi setConfig to throw on unsupported config keys- updating the MYX tests
2021-06-29 15:52:12 +03:00
Mikhail Nosov
e98be7dc04
[PaddlePaddle][Klocwork] Klocwork fixes for PaddlePaddle frontend core part (#6431) 2021-06-29 15:36:13 +03:00
Szymon Durawa
055a70bdf9
Add output_padding and output_shape into GroupConvolutionBackprop SLTs. (#6302)
* Add output_padding and output_shape into GroupConvolutionBackprop SLTs.

* Add legacy API for arm-plugin dependency.

* Replaced templated input, output and filter with one template.

* Apply correct format.

* Change to use INSTANTIATE_TEST_SUITE_P macro.
2021-06-29 15:34:29 +03:00
Ilya Lavrenov
f6a0195e18
Updated install rules for tests targets (#6420)
* Move tests

* Fixed Windows
2021-06-29 15:24:27 +03:00
Vladislav Golubev
5ba1e8aa1c
[LPT] Dynamic shapes support (#6129)
* [LPT][TESTS] Base LPT classes: dynamic shapes support

* [LPT][TESTS] Convolution & GroupConvolutionTransformation: dynamic shapes support

* [LPT][TESTS] FakeQuantizeTransformation: dynamic shapes support

* [LPT][TESTS] Relu & PReluTransformation: dynamic shapes support

* [LPT][TESTS] AvgPool & MaxPoolTransformation: dynamic shapes support

* [LPT][TESTS] MVNTransformation: dynamic shapes support

* [LPT][TESTS] NormalizeL2Transformation: dynamic shapes support

* [LPT][TESTS] TransposeTransformation: dynamic shapes support

* [LPT][TESTS] Reduce*Transformation: dynamic shapes support

* [LPT][TESTS] FuseFakeQuantizeTransformation: dynamic shapes support

* [LPT][TESTS] MultiplyToGroupConvolutionTransformation: dynamic shapes support

* [LPT][TESTS] StridedSliceTransformation: dynamic shapes support

* [LPT][TESTS] Squeeze & UnsqueezeTransformation: dynamic shapes support

* [TESTS] AddTransformation: added test-cases with dynamic shapes

* [TESTS] ClampTransformation: added test-cases with dynamic shapes

* [TESTS] DepthToSpaceTransformation: added test-cases with dynamic shapes

* [TESTS] MultiplyTransformation: added test-cases with dynamic shapes

* [TESTS] FoldConvertTransformation: added test-cases with dynamic shapes

* [LPT][TESTS] FuseConvertTransformation: dynamic shapes support

* [TESTS] FuseSubractToFakeQuantizeTransformation: added test-cases with dynamic shapes

* [TESTS] FuseMultiplyToFakeQuantizeTransformation: added test-cases with dynamic shapes

* [TESTS] SubtractMultiplyToMultiplyAddTransformation: added test-cases with dynamic shapes

* [TESTS] Split & VariadicSplitTransformation: added test-cases with dynamic shapes

* [LPT][TESTS] ReshapeTransformation: dynamic shapes support

* [LPT][TESTS] MatMulTransformation: dynamic shapes support

* [TESTS] InterpolateTransformation: added test-cases with dynamic shapes

* [TESTS] ConvolutionBackpropData: added test-cases with dynamic shapes

* [LPT][TESTS] ConcatTransformation: dynamic shapes support

* [TESTS] ShuffleChannelsTransformation: added test-cases with dynamic shapes

* [LPT] fixes after review

* [LPT] LPT behaviour alligned with master

* [TESTS] ClampTransformation: functional tests quick fix

* [TESTS] windows compilation error fix
2021-06-29 12:59:40 +03:00
Chetverikov
01a74c5ad7 Merge remote-tracking branch 'upstream/master' into fix/achetver/redundant_results_splits 2021-06-29 10:43:36 +03:00
Anton Voronov
dcce22bd81
[CPU] fixed conv + dw conv fusing (#6333) 2021-06-29 09:54:29 +03:00
Patryk Elszkowski
cf5c8610b0
remove temporary ReshapeLayerTestRevise (#6371) 2021-06-29 09:53:26 +03:00
Ilya Lavrenov
e050b5f97a
CLDNN cmake simplification (#6384)
* CLDNN cmake simpplification

* bfbgf
2021-06-28 22:50:41 +03:00
Irina Efode
7580bd3b5d
Output folder (#6383)
* [IE TESTS] Fix output folder for funcTests

* remove extra
2021-06-28 18:48:29 +03:00
Tomasz Jankowski
d9b6c43201
[ONNX] Fix fp16 Tensor data loading (#6338) 2021-06-28 16:05:54 +02:00
Katarzyna Mitrus
6c42540ea4
NormalizeL2 nGraph op revision - FusedOp removal (#6310)
* Remove FusedOp inheritance

* Add l2 to normalize type_prop tests file

* Add l2 to normalize type_prop tests name

* Add type_prop tests for expected and dynamic shape

* Comments update

* Headers cleanup

* Update default constructor

* Style refactor

* Update attribute tests

* Add NGRAPH_OP_SCOPE to validate_and_infer_types

* Reduce code duplication for NormalizeL2 attributes tests

* Remove using v0::Normalize from op namespace

* Revert removing using v0::NormalizeL2 from op namespace
2021-06-28 16:31:30 +03:00
Gabriele Galiero Casay
9753716e86
Revise reference implementation for ReduceMean operation (#5806)
* Revise reference implementation for ReduceMean operation

* Added minor changes

 * Replace CoordinateTransform for CoordinateTransformBasic
 * Added constant expression to set keep_dims as false

* Add const qualifier to local variables

* Use host tensor to retrieve and normalize axes

* Clean up manifest

* Add helper function for summation of elements to improve readability

* Fix issue with template to produce overloads based on type traits
2021-06-28 16:07:34 +03:00
Evgenya Stepyreva
7762505129
Dynamic shapes support for PowerToStatic (#6387) 2021-06-28 12:15:41 +03:00
Vladimir Paramuzov
837865879d
[IE CLDNN] Fixed code gen with custom locale (#6336) 2021-06-28 11:57:10 +03:00
Mateusz Tabaka
813531f45d
Add StrideOptimization pass (#5314)
* Add StrideOptimization pass

It's based on model-optimizer/mo/middle/passes/fusing/resnet_optimization.py

* use BackwardGraphRewrite

* code style

* handle other nodes

* address review comments

* rename files

* fix comment

* fix narrowing warning

* add squeeze after pool if its input was reshaped

* address review comments
2021-06-28 10:41:36 +03:00
Ilya Churaev
9eb80071b0
Fixed IE_DEFINE_EXTENSION_CREATE_FUNCTION macro (#6339)
* Fixed IE_DEFINE_EXTENSION_CREATE_FUNCTION macro

* Revert old creator
2021-06-28 09:53:27 +03:00
Patryk Elszkowski
119bd705b9
DepthToSpace - revise reference implementation (#6210)
* move evaluate method to runtime/reference

* move backend test from fused_op.in.cpp to depth_to_space.in.cpp

* cleanup test

* Drop unnecessary reshapes

* add some comment

* cleanup names

* add visitor test

* Add backend test for DepthToSpace

* Add serialization test

* add empyt lines to get more readable code

* cleanup headers

* fix used types

* remove unnecessary includes
2021-06-28 07:54:16 +03:00
Tingqian Li
068f7c8806
Revise Mish op (#6009)
* use RTTI macro

Signed-off-by: Li, Tingqian <tingqian.li@intel.com>

* add backend test

Signed-off-by: Li, Tingqian <tingqian.li@intel.com>

* add visitor API test

Signed-off-by: Li, Tingqian <tingqian.li@intel.com>

* add checks for input size and type in validate_and_infer_types()

Signed-off-by: Li, Tingqian <tingqian.li@intel.com>

* add test for incompatible input data types to type_prop

Signed-off-by: Li, Tingqian <tingqian.li@intel.com>

* disable fp16 tests for IE backend

Signed-off-by: Li, Tingqian <tingqian.li@intel.com>

* fix bugs:
add static linkage to mish_test
use T instead of double for calculation of expected answer

Signed-off-by: Li, Tingqian <tingqian.li@intel.com>
2021-06-28 06:59:25 +03:00
Ilya Lavrenov
632709012f
Fixed / improved cmake for ngraph frontends (#6376) 2021-06-27 18:10:25 +03:00
Maksim Doronin
4b7c58ac11
Disable IEClassNetworkTestP.LoadNetworkActualNoThrow test (#6348) 2021-06-25 22:02:48 +03:00