Commit Graph

387 Commits

Author SHA1 Message Date
Piotr Szmelczynski 94352874a5
Revise ceiling (#6124)
* update spec

* add RTTI macro

* clean backend test file

* create visitor test

* remove Ceiling cpu functional tests from skip_test_config

* fix skip_test_config conflict

* Add type_prop test for Ceiling.

* Fix failing ceiling type_prop tests.

* Replace unary_ops.cpp with single test op files.

* Enable integer tests.

Co-authored-by: Szymon Durawa <szymon.durawa@intel.com>
2021-06-18 05:50:02 +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
Alexandra Sidorova b05977a536
[CPU][IE TESTS] Added more input shapes for Pooling tests (#6083) 2021-06-16 14:14:50 +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
Marina Kolpakova ad852f78b4
[§] cleans snippets interface and adds subgraph tests (#6123) 2021-06-16 01:00:19 +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
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
Bartek Szmelczynski 826638e523
Revise space_to_batch (#6034) 2021-06-14 12:18:22 +02:00
Ivan Tikhonov 3bedd051dc
processing sinks in hetero plugin, update single layer tests (#6090) 2021-06-09 19:03:38 +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
Alexandra Sidorova 9214fa72e2
[CPU] Fixed AvgPooling and FQ fusing (#5994) 2021-06-08 14:04:31 +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
Katarzyna Mitrus bc7f61be24
PRelu reference implementation and ReshapePRelu transformation alignment (#5915)
* Apply  ReshapePRelu transformation only to const slope input

* Remove xfail from onnx backend prelu_broadcast test

* Fix and add Prelu SLT

* Update PRelu mkldnn transformation to extend broadcast support

* Fix and update PRelu reference implementation

* ONNX Prelu tests

* Add prelu backend tests

* Update ie tests manifest

* Comments clean up

* Fix STL Fill leakyslope blob

* Code refactor

* Unify layer tests slope input values generation
2021-06-08 06:51:41 +03:00
Ivan Tikhonov c1608628d4
LowLatency v2 ngraph transformation (#5160)
* LowLatency 2.0: transformation and unit tests

* low latency 2.0: unit tests

* documentation and ngraph codestyle

* update CNN Interface of LowLatency transformation

* fix build on Windows

* fix build on Windows

* investigation of a failed build on Win OS

* ngraph codestyle

* fix build (werrors)

* New unit tests, refactoring

* update functional tests for Memory

* update LowLatency functional tests

* extend Memory tests to cover LowLatency v2 transformation

* clean up, code style

* fix unit tests

* update and fix unit tests, add feature to apply LLTv2 after LLTv1

* update docs, refactoring

* add several gna tests to skip config

* fix python api tests

* update python api, rename LowLatency_v2 to LowLatency2

* deprecate LowLatency v1

* Deprecate LowLatency v1 in IE

* fix wrong merge, codestyle

* resolve review comments

* fix python test

* update skip config

* apply online review notes, fix unit tests

* clean up, code style

* fix docs

* Use debug_messages instead of exceptions in llt v2

* fix unit tests

* Resolve review remarks
2021-06-07 15:13:41 +03:00
Egor Shulman b8b6b4d8b6
[CPU] Reduced number of tests for BatchToSpace and SpaceToBatch (#5385) 2021-06-04 15:59:44 +03:00
Maxim Vafin 90a93be071
Add transformations to optimize SR model (#5854)
* Add transformations to optimize SR model

* Add test for SplitSqueezeConcatFusion

* Add TransposeFuse tests

* Return TransposeOptimization renamed to TransposeToReshape

* Fix docstring

* Fix codestyle

* Fix build

* Fix GNA build

* Fix TransposeToReshape tests

* Fix test

* Temporarily disable cpu test

* Fix codestyle

* Fix test

* Fix test

* Enable SplitSqueezeConcatFusion

* Apply suggestions from code review

Co-authored-by: Gleb Kazantaev <gleb.nnstu@gmail.com>

* Apply review feedback

* Apply review feedback

* Update split_squeeze_concat_fusion.hpp

Co-authored-by: Gleb Kazantaev <gleb.nnstu@gmail.com>
2021-06-04 12:05:12 +03:00
Egor Duplensky fdf47d416b
[CPU] Enable GroupDeconvolution tests back (#5878) 2021-06-03 16:55:42 +03:00
Shoujiang Ma c9e83c2750
Update AUTO plugin capabilities implementation (#5757)
Signed-off-by: Shoujiang Ma <shoujiang.ma@intel.com>
2021-06-02 10:40:15 +03:00
Vladislav Golubev 04b1f22cc3
[LPT] ConvolutionBackpropData Transformation fix (#5924)
* [LPT] ConvolutionBackpropData: handled incorrect dequantization on weights

* [LPT][TESTS] ConvolutionBackpropData: added test-cases with incorrect dequantization on weights
2021-06-01 17:05:36 +03:00
Yury Gaydaychuk 1264376173
[CPU] Extended preprocessing for CPU (#5750) 2021-06-01 17:03:24 +03:00
Maksim Kutakov 28c10b1727
[CPU] Fix mem leak in ParameterResultCustomBlobTest (#5933) 2021-06-01 16:43:03 +03:00
Ilya Lavrenov eff9f00320
Refactored ie_plugin_config.hpp (#5899) 2021-06-01 16:31:29 +03:00
Maksim Kutakov 115aa143ef
[CPU] Fix for CoreThreadingTestsWithIterations tests (#5892) 2021-05-31 22:45:51 +03:00
Maksim Kutakov 7fb9bac24a
[CPU] Extend Concat node logic to avoid fallback on slow ref implementation. (#4129) 2021-05-31 18:49:57 +03:00
Chenhu Wang d2003095dc
[CPU] MVN_accuracy_fix_on_avx512 (#5787) 2021-05-28 17:56:04 +03:00
Maksim Kutakov ad0e0c9f7c
[CPU] Added support for network inputs and outputs with the same name. (#5000) 2021-05-28 16:45:44 +03:00
Maksim Kutakov 1076f45a78
[CPU] Skip conv nspc sporadic test (#5851) 2021-05-27 17:07:04 +03:00
Ilya Lavrenov c470024f50
Respect COMPONENTS in InferenceEngineConfig.cmake (#5857)
* Added note abour custom version of find_dependency

* Warning about improper version in find_package()

* Removed ENABLE_ALTERNATIVE_TEMP

* Respect COMPONENTS in InferenceEngine cmake config

* Added Jira ticket #
2021-05-27 16:56:56 +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
Egor Duplensky e754a6b46f
[CPU] Fix RegionYolo (v3) node and Ngraph reference implementations (#5748) 2021-05-26 11:44:36 +03:00
Alexandra Sidorova 757d33e43e
[CPU] Changed switch case logic py precision for Transpose (#5814) 2021-05-26 09:30:01 +03:00
Maxim Andronov 06fb16d799
[CPU] Winograd convolution support (#5699) 2021-05-26 09:19:11 +03:00
Egor Duplensky bae7f4b036
[CPU] Add bf16 support for ROI pooling (#5187) 2021-05-25 21:20:30 +03:00
Alexandra Sidorova e848859e23
[CPU] Added optimized cpp impls (#5724) 2021-05-25 17:21:53 +03:00
Roman Donchenko 68cadf1ff9
Fix spelling errors in file names (#5776)
And similar errors in file contents.
2021-05-25 12:52:58 +03:00
Maksim Kutakov 617636693a
[CPU] Nspc layout enabling in the FP32/BF16 convolutions (#5292) 2021-05-25 11:41:23 +03:00
Bartosz Lesniewski 2d0707dd1a
Revise Result Op (#5637)
* Add type prop tests for shape and type propagation

* Add visitor test

* Add SLT test class for result op

* Add SSLT for result op

* Add CPU SLT

* Add backend test

* Applying review comments - fix typo in slt, replace type info with NGRAPH_RTTI_DEFINITION

* Applying changes after review comments

* Add result to trusted ops list

* fix adding redundant nodes in slt
2021-05-25 07:06:04 +03:00
Ilya Lavrenov e54a3882ee
Removed obsolete code from cmake (#5758) 2021-05-24 19:41:55 +03:00
Ivan Tikhonov 0c30ccc120
Single layer tests for Assign/ReadValue ops (#5735)
* add single layer tests for Assign/ReadValue ops

* fix windows build, revert debug changes
2021-05-24 18:58:48 +03:00
Maxim Andronov cec8ad417f
[CPU] Ngraph migration leftovers: performance fixes (#5680) 2021-05-24 08:43:18 +03:00
Alexandra Sidorova 57d49f3215
[CPU] Added MVN fusion for case with constants inside (#5644) 2021-05-21 14:35:56 +03:00
Anton Voronov 5e4c3c4804
[CPU] Deconvolution int8 support (#5565) 2021-05-21 13:54:56 +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
Chen Xu 6595a1cebf
Fix topk failure (#5524) 2021-05-21 12:47:18 +03:00
Nikolay Shchegolev 19ba314764
[CPU] Subgraph tests for MulAdd and EltwiseSimple optimizations conflict. (#5622) 2021-05-20 23:19:46 +03:00
Vladimir Gavrilov 6bb5a2c3cb
Add proper signal_size handling for reference nGraph implementation for operations DFT and IDFT (#5610)
* Added tests for 2D DFT when we have signal_size and axes [0, 2].

* Rewritten reference implementation of DFT and IDFT.

* Code style fixes.

* Reverted changes.

* Added debug prints.

* Temporarily commented some functions.

* Reverted changes in (I)DFT reference.

* Added more debug prints (in evaluates_map.cpp, to evaluate() for IDFT).

* Added setting output shape for DFT and IDFT evaluate() in evaluates_map.cpp.

* Added more tests for signal_size case of DFT.

* Written tests for signal_size case of IDFT.

* Deleted debug prints from (I)DFT reference implementation (the file fft.cpp).

* Deleted debug prints from evaluate() for DFT and IDFT.

* Deleted debug prints from tests for DFT.

* Deleted debug prints from IDFT tests.

* Code style fixes.

* Enabled CPU evaluation tests for DFT and IDFT in CPU supported cases.

* Enabled CPU (I)DFT layer tests.

* Copied fix for specialization of function is_float() for (b)float16 from Pertovsky Aleksandr's PR 5654.

* Reverted changes in the function is_float() from ie_precision.h.

* Disabled BF16 CPU FuncTests for (I)DFT.

* Deleted filling 'buffer' by zeros. Simplified the function lengths_except_given_axis.

* Small fix.

* Code style fix.

* Reverted deleting 'std::fill(buffer.begin(), buffer.end(), complex_type{0.0f, 0.0f});'

* Reverted changes in the function lengths_except_given_axis().

* Changes in the function lengths_except_given_axis().

* Small fix.

* Deleted commented code.

* Simplifications in the function lengths_except_given_axis().

* Deleted commented code.

* Enabled BF16 (I)DFT CPU FuncTests.

* Fixed comments before disabled (I)DFT IE_CPU tests.
2021-05-20 17:57:39 +03:00
Irina Efode ae637702d9
[IE TESTS][IE CPU] Fix BF16 threshold in ROI tests (#5703) 2021-05-20 17:11:43 +03:00
Alexandra Sidorova dcc288680b
[CPU] Added Gather-7 support (#5552) 2021-05-20 09:09:28 +03:00