Commit Graph

238 Commits

Author SHA1 Message Date
Edward Shogulin 43f18da413
[LPT] Legacy compliance restrictions removal all: Reshape (#6870)
* [LPT] Reshape: legacy compliance restrictions removal

* [LPT] comment fixes
2021-08-06 10:27:34 +03:00
Vladimir Paramuzov 29b527353a
[GPU] Replace internal TBlobs with mappable ClBlobs in all InferRequests to ensure correct work on discrete GPUs (#6922)
Co-authored-by: Mikhail Letavin <mikhail.letavin@intel.com>
2021-08-04 16:53:56 +03:00
Mateusz Tabaka 8c4cee1b58
[GPU] Handle negative axis in concat op (#6839)
* [clDNN] Handle negative axis in concat op

That enables following models for onnx importer path:
yolact-resnet50-fpn-pytorch
yolact-resnet101-fpn-pytorch
yolact-darknet53-fpn-pytorch
swin-tiny-patch4-window7-224
action-recognition-mkinetics-res34-mhsa
driver-action-recognition-adas-0002-decoder
horizontal-text-detection-0001

* Add tests for negative axis in Concat op
2021-08-04 10:44:22 +03:00
Patryk Elszkowski 0f6e4afa71
update FakeQuantizeLayerTest - add broadcast (#6813) 2021-07-29 07:46:19 +03:00
Yunji Kim f5666fb3e1
[GPU] Add new operation GatherElements to IE clDNN plugin (#6676) 2021-07-26 17:52:27 +03:00
Szymon Durawa fa057627ec
Ref implementation mvn revise (#6600)
* Add visitor and backend tests.

* Add reduction_axes to SLTs, serialization and backend tests.

* Update backend tests.

* Move backend tests to template plugin, remove old ones.

* Apply correct format.

* Add BF16 to SLT, add comment regarding deprecated class.

* Remove BF16 precision as it is not supported in windows, no default values for attributes.

* Reuse Tensor from base_reference_test.hpp
2021-07-23 07:47:08 +03:00
Edward Shogulin fefe7f4176
[LPT] FakeQuantize folding extending (#6708)
* [LPT] ConvolutionBackpropData fix FQ weights folding

* [LPT] Fixed test to reproduce the bug

* [LPT] fold FakeQuantize

* [LPT] Function tests refactoring

* refactoring

* [LPT] functional test quick fix

* [LPT] dynamic shapes support

Co-authored-by: Zinoviev, Vladimir <vladimir.zinoviev@intel.com>
2021-07-22 23:17:23 +03:00
Paul Youngsoo Ahn fd3e4a3d45
[GPU] Enable loop5 (#6427) 2021-07-22 16:48:45 +03:00
Patryk Elszkowski 35fb3f3d7d
Acosh ref impl (#6664)
* minor changes in Op class and add ref impl for acosh

* acosh in new test framework

* add Acosh type test

* add SLT for Acosh

* run more test

* new acosh plugin test

* add visitor test

* fix test utils

* add template test for all supported types in Acosh

* add builder to template tests

* update grn template_plugin test

* update maste to feature branch
2021-07-22 12:59:59 +03:00
Edward Shogulin c3c26b4807
[LPT] Refactoring: PoC (#5226)
* LPT fix for Windows

* LPT fix for Windows

* Remove inference_engine_transformations_EXPORTS

* [nGraph] Register new node in GraphRewrite

* [LPT] nGraph alignment

* [LPT] nGraph alignment: tests

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2021-07-19 16:48:20 +03:00
Patryk Elszkowski 0d9212683f
FakeQuantize - reference implementation refactor (#6478)
* new implementation of FakeQuantize

* move FakeQuantize backend test to fake_quantize.in.cpp

* enable some test for FakeQuantize

* Add support for PDPD broadcasting and some backend tests

* arm plugin expect less attributes in function call

* try to fix arm plugin build

* try to build arm plugin

* start changing backend test

* add check for attributes number in visitor test

* fix backend test after refactoring

* add default parameter value to runtime::reference::fake_quantize

* Revert "add default parameter value to runtime::reference::fake_quantize"

This reverts commit 9d2c00d967.

* add SLT for FakeQuantize

* remove fesetround

* change `v1` namesapce to `v0` in ref impl

* add FakeQuantize-1 to VERIFIED_OP_REFERENCES

* pass immutable reference to test functions
2021-07-19 12:20:54 +03:00
Ilya Lavrenov bc36425381
Added suggest-override flag (#6631) 2021-07-16 18:55:05 +03:00
Vladimir Paramuzov 22fddb4315
[GPU] Fixed matmul handling for some shapes (#6642) 2021-07-16 17:05:52 +03:00
Bartosz Lesniewski c14edd4134
Revise PriorBoxClustered Op (#6525)
* Move type prop tests to separate file, add cases with exceptions thrown

* Add visitor test, add step to pbc attributes

* SLT for CPU, adjust GPU and SSLT to serve the step attr

* Add backend test

* Fix variance issue, verify by SLT

* Formatting fix

* Add another backend testcase

* Add PriorBoxClustered to trusted ops list

* Add step attr description, remove obsolete comments from ref impl

* Test multiple step values in SLT
2021-07-15 07:27:51 +03:00
Katarzyna Mitrus b7cc01b8e2
NormalizeL2 - reference implementation revision (#6349)
* Update SLT to generate input with 0 and eps sensitive treshold

* Fix normalize_l2 reference to enable empty axes case

* Simplify empty axes case

* Moved backend tests from fused_op

* Update SLT treshold

* Enable SLT for empty axes case

* More single layer tests

* Backend tests refactor

* Add helper function to for normalize_l2 backend tests

* Rewrite NormalizeL2 backend tests to use test case and common helper function

* Update layer tests

* Cleanup unit-tests manifest

* Add more backend tests

* Update comments

* Fix applying eps in MKLDNN normalize

* Add 5D tests

* Backend tests refactor

* Remove duplicated tests

* Upate IE tests manifest

* Add 5D SLT

* SLT cleanup

* Update skipped SLT for CPU

* Add NormalizeL2 to verified ops

* Skip GPU SLT for empty axes case

* Update SLT epsilon values

* Revert mkldnn_normalize changes

* Update tests and issue nubmers

* Remove reudndant axes copy from reference
2021-07-12 16:28:24 +03:00
Vladislav Golubev 2ff5d1fab1
[LPT] Plugin tests: added the ability to add test-cases with dynamic shapes (#6436) 2021-07-09 14:55:20 +03:00
Tingqian Li 340583fa35
Tq/revise asinh (#6498)
* update spec

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

* use RTTI macro

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

* fix op scope typo

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

* simplify evaluate template function

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

* override validate_and_infer_types() to align with spec

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

* Add visitor API test

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

* Add type_prop test

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

* Add SLT asinh test in cpu/gpu plugin

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

* change `T` in the spec to *T*

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

* refector spec according to Cos

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

* Support element type of integral

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

* Add new cpp files into CMakeLists.txt

Signed-off-by: Li, Tingqian <tingqian.li@intel.com>
2021-07-08 07:18:09 +03:00
Andrei Gorbachev 3fcc54a272
[IE CLDNN] Gather8 (#6430) 2021-07-06 08:12:34 +03:00
Vladimir Paramuzov 9439d3b74e
[IE CLDNN] Added simple locale test (#6411) 2021-06-30 12:17:43 +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
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
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
Vladimir Paramuzov f0abf9ebe3
[IE CLDNN] Fixed config test cases (#6357) 2021-06-25 10:03:11 +03:00
Patryk Elszkowski 4ed0cdb0dd
update ReshapeLayerTest to have unsigned in output axis (#6276) 2021-06-24 10:32:45 +03:00
Vladimir Paramuzov 72b5182354
[IE CLDNN] Build OCL ICD loader from sources (#6321)
* [IE CLDNN] Build ICD loader from sources

* [IE CLDNN] Switched ocl submodules to latest tag instead of master

* [IE CLDNN] Added several cmake variables to enable find_package for OpenCL
2021-06-23 23:30:17 +03:00
Ilya Lavrenov fa2f9c5201
Migrated to official GoogleTest repo (#6286)
* Move gtest to <root>/wqthirdparty

* Fixed inference engine tests

* Fixed unit-tests

* Fixed GPU

* Fixed clDNN_unit_tests compilation

* Reverted ngraph changes

* Fixed VPU tests

* Fixed deprecated tests compilation

* Removed OpenVINO clone

* Added public submodule

* Removed

* Fixed Windows

* More updates for INSTANTIATE_TEST_SUITE_P

* Use release-1.10.0

* Removed ngraph copy of gtest

* Revert "Removed ngraph copy of gtest"

This reverts commit ec9fe08d79.

* Fixes for TYPED_TEST_CASE

* Fixed GNA tests

* Updated submodule

* Updaed index

* TMP disabled tests

* Revert changes and fix compilation errors

* Fixed caching tests

* Revert back

* Revert back all

Co-authored-by: Michael Nosov <mikhail.nosov@intel.com>
2021-06-22 17:39:39 +03:00
Edward Shogulin 8390f40788
[LPT] Empty shape on weights handling: cherry-pick to master (#6170)
* [LPT] empty shape on weights fix

* [LPT] SplitTransformation naming fix

* [LPT] tests

Co-authored-by: Vladislav Golubev <vladislav.golubev@intel.com>
2021-06-17 12:36:25 +03:00
Edward Shogulin 72cb75ffc7
[LPT] Reshape folding extending: cherry-pick to master (#6151)
* [LPT] Reshape folding extending

* [LPT] tests addition

* typo quick fix
2021-06-16 11:14:29 +03:00
Vladimir Paramuzov 2f81968a31
[IE CLDNN] Introduced new runtime API (#5417) 2021-06-16 09:27:16 +03:00
Edward Shogulin a16af0d2ea
[LPT] FakeQuantize folding fix to support ConvolutionBackpropData with FQ on weights (#6160) 2021-06-15 16:59:10 +03:00
Alina Kladieva 67c93ec6fa
Return sporadic GPU test cases (cannot reproduce 54436) (#6127) 2021-06-15 13:47:06 +03:00
Szymon Durawa 772465da1e
Add output shape and output padding for Convolution Backprop SLTs. (#5576)
* Create output shape for Convoution Backprop SLTs.

* Add output_padding attribute to SLT scope.

* Introduce SLT for Serializaton.

* Introduce new test layer class ConvolutionBackpropLayerTest which contains output_padding attribute and output_shape input. Old one is deprecated, but cannot be removed due to kmb plugin dependency.

* Add ConvolutionBackpropDataLayerTest into TEST_P.

* ConvolutionBackpropDataLayerTest left as legacy class used by kmb_plugin.

* Remove redundant variables.

* Switch to new API for gpu SLTs.

* Remove legacy API.

* Introduce legacy API to match dependency for KMB and ARM plugins.

* Create test cases for output_padding attribute.

* Fixing smoke_Deconv tests.
2021-06-15 07:08:10 +03:00
Patryk Elszkowski 6deec50b0b
Reshape OP: add SLT for special `-1` value in new shape dimensions (#5648)
* add test for special `-1` value in new shape dimensions

* add ticket with next steps
2021-06-15 07:07:18 +03:00
Katarzyna Mitrus 8dff04df28
ShuffleChannels ng op and reference implementation revision (#5764)
* Unblock shuffle channels tests from ie test manifest

* Add more backend tests

* ShiffleChannel reference impl update

* Update attr visitor test

* Remove unused get_pre_shuffle_shape helper function

* Update class descriprion

* Add type prop shape tests

* Remove NGRAPH_SUPPRESS_DEPRECATED macro

* Add single layer tests

* Update layer tests

* Remove unused header

* Move implementation to cpp file
2021-06-15 07:04:06 +03:00
Ilya Lavrenov 6e2d13937a
ImportNetwork with explicit device name only (#5689)
* Import with explicit name

* Fixed LoadHetero_MultiArchs tests

* Fixed MYRIAD tests on Windows

* Fixed compilation in tests

* Updated tesets

* Fixed test

* Removed useless lines

* Removed custom VPU tests, replaced with common ones

* Fixed Windows

* Reverted SKIP_IF_NOT_IMPLEMENTED macro
2021-06-09 10:09:25 +03:00
Vladimir Paramuzov aa4a18dda1
[IE CLDNN] Updated GPU device config (#6040) 2021-06-09 09:02:25 +03:00
Shoujiang Ma dcf36565b0
[AUTO plugin] AUTO plugin will ignore other plugins' configuration (#5979)
* AUTO plugin will ignore other plugins' configuration

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

* Update tests

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

* Support PER_COUNT config which is needed in benchmark_app

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

* Address reviewer comments: check config and throw exception for unsupported, but that begin with "AUTO_" will be ignored

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

* Fix CI tests issue

Signed-off-by: Shoujiang Ma <shoujiang.ma@intel.com>
2021-06-08 12:11:58 +03:00
Andrei Gorbachev 64d7a40ae4
[IE CLDNN] 54304 fix reduce ops (#5986) 2021-06-07 18:36:38 +03:00
Ilya Lavrenov eff9f00320
Refactored ie_plugin_config.hpp (#5899) 2021-06-01 16:31:29 +03:00
Roman Lyamin c8a5044664
[IE CLDNN] Add Select int32/int16 input support (#5877) 2021-05-28 18:00:51 +03:00
Eunsoo Sheen d05c3c63b5
[IE CLDNN] Add an initial loop primitive for fixed length sequence (#4954) 2021-05-28 11:55:48 +03:00
Ilya Lavrenov 26bfa6f0ac
Tests for dynamic preprocessing in SetBlob (#5798)
* Corrected tests to match CVS-53713

* Fixed tests configs

* Skip tests on GPU

* Commented condition inside main SetBlob because of MYRIAD

* Adopted tests
2021-05-26 18:07:08 +03:00
Daria Mityagina 5ea8437c91
[VPU] Batch support for interpolate (#5520)
* batch support for interpolate

* hash update

* compilation errors solved

* changes in tests, so not to break other plugins

* changes in tests, so not to break other plugins

* Revert "changes in tests, so not to break other plugins"

This reverts commit 67e5c1e4ddba4f0cc858eb1293e50ce9d9ae0227.

* Revert "changes in tests, so not to break other plugins"

This reverts commit f6a537d2236f0b64f0ff028627af9e0e388a2d23.

* review corrections

* Firmware update
2021-05-21 12:54:58 +03:00
Yunji Kim cdc98d7286
[IE CLDNN] Fix DetectionOutput cpu implementation to be aligned with ngraph (#5544) 2021-05-20 11:04:50 +03:00
Ilya Lavrenov 0a629716de
Follow up for PR #5645 (#5702) 2021-05-20 07:31:34 +03:00
Shoujiang Ma 90a18d9cef
[AUTO] Implement auto-plugin limited devices feature (#5545)
* Update SelectDevice policy in auto plugin

Signed-off-by: Zhengtian Xie <zhengtian.xie@intel.com>

* Implement limit device list for AUTO plugin

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

* Add tests for AUTO limit device feature

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

* Add gpu tests for auto-plugin

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

* Fix CI cpuFuncTests issue due to BATCHED_BLOB

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

* Override LoadNetwork(modelPath, config) in AUTO plugin

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

* Update SelectDevice() logic for LoadNetwork(model, config)

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

* Update GetNetworkPrecision logic for auto-plugin

Signed-off-by: Zhengtian Xie <zhengtian.xie@intel.com>

* Address reviewers' comments

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

* Add tests for AUTO:GPU,CPU case

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

* Update logic in GetNetworkPrecision for auto-plugin

Signed-off-by: Zhengtian Xie <zhengtian.xie@intel.com>

* Address reviewer's comment: clean and simplify code

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

* Fix wrong usage of convolution weight index

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

* Address reviewer comment: fix get network precision logic

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

* Fix rebase issue

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

* Fix ie_core.cpp header change

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

Co-authored-by: zhengtian.xie <zhengtian.xie@intel.com>
2021-05-19 23:47:54 +03:00
Vladimir Paramuzov d52c4d433a
[IE CLDNN] QueryAPI extension with gpu device info (#5440) 2021-05-19 16:44:40 +03:00
Andrei Gorbachev ae9f3ebc5d
[IE CLDNN] Add Gather-7 (#5360) 2021-05-19 15:03:47 +03:00
Irina Efode 9568f8120e
[IE TESTS] Fix Comparation issue in `LayerTestCommon` class (#5624)
* [IE TESTS] Fix comparation in LayerTestUtils

* Fixes

* Small fix

* Int4 fixes

* remove extra

* Fix NMS

* Some fixes for tests

* Add small fix

* [IE TESTS] Remove const folding as a result engine

* Remove extra

* Revert remove constant folding (DSR test) & fix some cases for cpu

* Fix GNA
2021-05-19 13:14:35 +03:00
Vladimir Paramuzov 58c5682944
[IE CLDNN] Removed SortType::None from TopK func tests. Enabled all func tests (#5671) 2021-05-19 08:57:09 +03:00