Commit Graph

331 Commits

Author SHA1 Message Date
Ilya Lavrenov
ea20abdabd Added IR v7 reader dependency for functional tests (#1238) 2020-07-07 06:11:26 +03:00
Gorokhov Dmitriy
071682629b [CPU][TESTS] Disabled sporadically failed Core treading test on Windows (#1227) 2020-07-06 16:22:59 +03:00
Lukasz Debski
bd0aa6ac6d [IE CLDNN] Addition of eltwise support for different input sizes. (#640) 2020-07-06 15:26:14 +03:00
Jedrzej Hajduczenia
fd9ae15fdd [IE CLDNN] Fix input feature padding handling in dw conv fsv16 kernel (#1217) 2020-07-05 18:57:15 +03:00
Konrad Dobros
fee4a01b26 [IE CLDNN] Add additional check for local block io support (#1211)
This change is needed, because some ocl compiler versions may advertise
support for extension, but fail to compile some of the functions.
2020-07-05 18:56:13 +03:00
Ilya Lavrenov
df772e082a Use include headers in unit tests (#1216) 2020-07-03 23:51:21 +03:00
Anton Voronov
f3c7c731e3 [MKLDNN] Fixed bias datatype in jit_uni_dw_conv kernel (#1131) 2020-07-03 21:57:17 +03:00
Ilya Lavrenov
4f0225014d Deprecated cnn layer (#1138)
* Deprecated getInputTo, getCreatorLayer

* Fixes

* Fixed ie_layers moving to legacy

* Fixed onnx importer dependency

* Fixed python

* Fix python API compilation

* Added comments not to use _impl from Data

Co-authored-by: Nadezhda Ageeva <nadezhda.ageeva@intel.com>
2020-07-03 20:57:28 +03:00
Evgenya Stepyreva
20610ce52e [ BTS & STB ] Fixing broken transformations (#874) 2020-07-03 19:55:00 +03:00
Michał Karzyński
bd8a383560 Enable nGraph Python API unit tests using Inference Engine APIs (#1095) 2020-07-03 18:11:39 +02:00
Evgeny Latkin
951b5eed92 [IE][VPU] exclude test: conv_3x3s1p1_vgg (issue: 34466) (#1204) 2020-07-03 17:33:37 +03:00
Liubov Batanina
9e455ae6d9 Fixed type of reduction axes (#1190) 2020-07-03 16:55:06 +03:00
Ilya Lavrenov
f15b5f2b60 CMAKE: Added IR reader dependency to dev_targets (#1202) 2020-07-03 14:20:08 +03:00
Ilya Lavrenov
5d573e39cd Removed const transformer usage in graph transformer (#1164)
* Commented constant folding

* Fix
2020-07-03 13:29:43 +03:00
Andrew Bakalin
7f37714c02 [VPU] Enable DSR_MatMul tests (#1129)
* [VPU] Remove hardcoded shape type from MatMul dts

* [VPU] Forbid first GEMM input to be dynamic and transposed

* [VPU] Update DSR_MatMul tests to use DSR_TestsCommon base class
2020-07-03 12:30:46 +03:00
Ilya Churaev
ac2ce80dae Updated Core::ReadNetwork documentation (#1178) 2020-07-03 08:47:24 +03:00
Maksim Doronin
aa8b364a5c [IE VPU] Enable DSR_* tests: part 1 (#1041)
* [IE VPU] Enable DSR_BinaryEltwise tests

* [IE VPU] Enable DSR_Gather tests

* [IE VPU] Enable DSR_Clamp tests

* [IE VPU] Enable DSR_Concat tests

* [IE VPU] Enable DSR_Convert tests

* [IE VPU] Enable DSR_Squeeze tests

* [IE VPU] Enable DSR_UnaryEltwise tests

* [ nGraph ] Softmax should return input pshape, not fully dynamic shape
2020-07-02 21:00:04 +03:00
Konrad Dobros
0509c66ce0 [IE CLDNN] Add some auto-tuning improvements (#1154)
- add error reporting for failed kernel runs during auto-tune
- fix auto-tuning for asymmetric quantization
- add asymmetric quantization information to cache
- change auto-tuning metric from average to min
2020-07-02 14:18:28 +03:00
Ilya Lavrenov
054e1cfd13 Removed WA for C API compilation (#1176) 2020-07-02 13:51:21 +03:00
Ilya Lavrenov
ef6280ab99 Split IR readers (#1167)
* Split IR readers

* Fixed tests

* CMAKE: Removed add_clang_format_target usage from readers
2020-07-02 13:31:44 +03:00
Irina Efode
027be06506 [IE TESTS] ie_class migration to the new test infrastructure (#1136) 2020-07-02 11:58:53 +03:00
Andrew Bakalin
dfe27bad26 [VPU] StaticShapeNMS support (#1057)
[IE][VPU]: Introduces StaticShapeNMS stage
2020-07-02 10:57:53 +03:00
Jedrzej Hajduczenia
fe4ff33a82 [IE CLDNN] Don't force expected reorder layout & improve i64->i32 fallback (#1088) 2020-07-02 10:18:38 +03:00
Vladimir Paramuzov
c8a6a7b6d0 [IE CLDNN] Autoremove comments from processed cl files (#1152) 2020-07-02 10:13:59 +03:00
Liubov Batanina
cff39c343b [IE TEST] LRN tests fixed params (#743)
* LRN tests fixed params

* Fix comment

* Swiched to opset3
2020-07-01 22:35:28 +03:00
Ilya Lavrenov
c9749ce397 Clean-up files in tests helpers (#1173) 2020-07-01 22:34:43 +03:00
Ilya Lavrenov
acaab888f2 Removed disable_tests.hpp (#1172) 2020-07-01 22:31:51 +03:00
Vladimir Paramuzov
c9d4e6b934 [IE CLDNN] Removed unused primitives and related structures (#1039) 2020-06-30 22:18:24 +03:00
Konrad Dobros
66f620f97e [IE CLDNN] Add two early optimization capabilites (#1155)
This change adds checks, macros and defines for two early/experimental
features:
- local memory block reads
- builtin optimization hints, ie: __builtin_assume
2020-06-30 18:29:34 +03:00
Gleb Kazantaev
b8b8a21dc7 Added nGraph transformations developer guide (#947)
* Added nGraph transformations developer guide

* Added some more chapters

* Added Transformation writing essentials chapter

* Added working with ngraph::Function chapter

* Added two chapters

* Fix comments

* Moved code snippets to source files

* Moved ngraph test utils to common. Added transformations test examples to template plugin

* Added Common mistake section

* Added doxygen for CommoOptimization passes

* Fixed doxygen comments; added links in md files; fixed typos

* Fixed review comments
2020-06-30 18:02:26 +03:00
Chance Luo
389a1b3ae5 Avoid duplicate data during reshapeDilation (#765) 2020-06-30 17:17:17 +03:00
Maksim Doronin
3790b35060 [IE VPU] Set name for output DSR in DTS (#1011)
* [IE VPU] Set name for outDSR in DTS transformations

* [IE VPU] Enable NonZero_Transpose tests

* [IE VPU] Set name for outDSR in Reduce DTS

* [IE VPU] Use move semantic in DTS
2020-06-30 15:27:22 +03:00
Liubov Batanina
fce9d9def0 [IE TEST] Added constant input to MatMul tests (#1119)
* Added constant input to MatMul tests

* Added InputLayerType to ngraph_helpers.hpp
2020-06-30 14:50:00 +03:00
Evgeny Lazarev
f596432268 NMS-4 op support (#1115)
* Specification for the NMS-4 operation (updated shape infer function)

* Enabled NMS-4 in the Model Optimizer

* Changed opset version for NMS with dynamic outputs and namespace to be "dynamic"

* Added NMS-4

* Added opset4 to the nGraph

* Added unit tests for NMS-4 type infer

* Renamed UpgradeNMS3ToNMS4 to UpgradeNMS3ToNMSDynamic. Added stub for ConvertNMS4ToLegacy

* Make IE aware of opset4 ops

* Updated NMSIE to have different shape infer function based on the NMS it was converted from. Implemented NMS4->NMSIE conversion

* Apply code style

* Updated StaticShapeNonMaximumSuppression op in the VPU

* Introduced new version of NMSIE operation with shape infer function from v4::NMS

* Fixed dynamicToStaticNonMaxSuppression transformation

* Added new version of NMSIE op with updated shape infer function

* Fixed NMS4 to NMSIE2 transformation

* Fixed constructors for nGraph ops v4::NM and dynamic::NMS

* Updated text in the opset4 specification document

* Code style fixes

* Fixed constructors for StaticShapeNMS + fixed test

* Minor change to the NMS op in the MO

* Fixed typo in the dynamic_to_static_shape_non_max_suppression transformation

* Removed redundant checks

* Refactored NMS infer and validate functions

* Added more checks to the validate_and_infer_types functions for NMS-3 and NMS-4

* Fixed compilation issue on Windows for op NMS

* Code style fixes

* Fixed typos in the NMSIE and NMSIE2 to CNNLayer op conversion

* Fixed typo in the ie_cnn_layer_builder_ngraph.cpp

* Fixed the NMSToLegacyNMS transformation. Added unit tests

* Apply code review comments

* Refactored NMSIE to use visitors

* Removed calling ConvertNMS4ToLegacy in the common optimizations

* Moved NMS4ToNMSLegacy to convert1_to_legacy group of transformations

* Removed useless include statement

* Removed copy-paste issue

Co-authored-by: Evgeny Lazarev <elazarev.nnov@gmail.com>
2020-06-30 14:04:31 +03:00
Anton Voronov
9b32414747 [CPU] Fixed PostOpsIntBlobMemory filling (#1133) 2020-06-30 12:01:29 +03:00
Liubov Batanina
7cda3bb275 Fixed Softmax reference (#1148) 2020-06-29 23:07:08 +03:00
Alexander Chaiko
da03c7ad0d [IE CLDNN] Fix Android build error: braces around scalar initializer (#1151) 2020-06-29 20:27:41 +03:00
Ilya Lavrenov
b43d26ab8a Cnnnetwork add layer (#1124)
* Removed addLayer from public interface

* Convert to CNNNetworkImpl
2020-06-29 16:21:48 +03:00
Alexander Chaiko
f8b2627c3b [IE CLDNN] int8 batches optimization (#632) 2020-06-29 14:09:33 +03:00
Egor Churaev
08cd0f7779 [IE CLDNN] Implement ExtractImagePatches operation (#1127)
The ExtractImagePatches operation collects patches from the input
tensor, as if applying a convolution. All extracted patches are stacked
in the depth dimension of the output.

JIRA: 30055
2020-06-29 10:36:30 +03:00
Ilya Lavrenov
3a9db885bf Removed getLayerByName from public API (#1110)
* Fixed tests

* Removed getLayerByName from public API
2020-06-25 20:00:39 +03:00
Anna Alberska
0b9987f5e9 [GNA] fix custom scale factors when importing a model (#1096) 2020-06-25 12:43:47 +03:00
Andrew Bakalin
0f1c8a0763 [VPU] WA for statis shape allocation (#1107) 2020-06-25 10:38:25 +03:00
Jedrzej Hajduczenia
5746e27111 [IE CLDNN] Set strided slice out_format to bfyx when in_format=bfzyx and shrink_axis_mask is set (#1111) 2020-06-25 10:24:00 +03:00
Ilya Lavrenov
377531002c Removed suppression macro usage (#1108) 2020-06-24 18:40:06 +03:00
Roman Lyamin
bc132056f9 [IE CLDNN] Added space_to_batch operation (#984) 2020-06-24 18:30:24 +03:00
Andrey Dmitriev
cec12131e7 [GNA] Added fix multiple output with one go to memory and test (#669)
[GNA] Added fix multiple output with one go to memory and test

[GNA] Added fix multiple output with one go to memory and test

[GNA] Added fix multiple output with one go to memory and test

Added multi output

Update gna_pass_manager.cpp

test

[GNA] Added fix multiple output with one go to memory and test

[GNA] Added fix multiple output with one go to memory and test

[GNA] Added fix multiple output with one go to memory and test

Added multi output

Update gna_pass_manager.cpp

test

tests

[GNA] Added fix multiple output with one go to memory and test

[GNA] Added fix multiple output with one go to memory and test

Added multi output

Update gna_pass_manager.cpp

test

tests

Added pass

Test

test

tests_2

return old
2020-06-24 17:38:34 +03:00
Tomasz Dołbniak
1bfe709e6c TestCase & TestEngine(s) for nGraph UTs (#934) 2020-06-24 16:02:39 +02:00
Irina Efode
615c2a6c30 [IE TESTS] CoreThreadingTestsWithIterations.smoke_LoadNetworkAccuracy disabled & small refactoring of CoreThreadingTests (#1103) 2020-06-24 16:10:39 +03:00
Ilya Lavrenov
fe7f08ca56 Exec extensions (#963)
* Fixes

* Removed some tests for extensions

* Added const

* Removed unknown pragma
2020-06-24 15:12:14 +03:00