Commit Graph

1230 Commits

Author SHA1 Message Date
Ilya Znamenskiy
3797a28e65
[IE CLDNN] Fully connected MMAD kernel optimizations (#2115) 2020-09-10 08:56:04 +03:00
Nikolay Shchegolev
5403003d02
[CPU] statically analyzed issues. (#2139) 2020-09-10 08:35:32 +03:00
Anton Voronov
0e34b392ee
[CPU] Supported depthwise 6d, 7d, ..., added test (#971) 2020-09-10 08:33:38 +03:00
Ilya Churaev
27ca6be728
Fixed addOutput behavior for experimental ops (#2138) 2020-09-10 06:14:11 +03:00
Gorokhov Dmitriy
d78fd196e8
[CPU] Fixed quantization post op memory leak (#2101) 2020-09-09 18:59:37 +03:00
Maxim Andronov
b3829c58a8
[CPU] add const and precision check quantize ranges (#2074) 2020-09-09 18:57:58 +03:00
Evgenya Stepyreva
3af3e459c3
[ IE ] ExperimentalDetectron shape infer fix (#2143) 2020-09-09 18:25:53 +03:00
Anna Likholat
53c03db307
[JAVA] Code style check added (#1984) 2020-09-09 17:49:23 +03:00
Mikhail Letavin
40fd1858a2
[IE CLDNN] Fix problems with loop iterator and parameter check in clDNN (#2141) 2020-09-09 17:21:10 +03:00
Vladislav Vinogradov
13dfcb066f
[IE][TOOLS] compile_tool improvements (#2140)
* Remove dead code.
* Protect device specific config options with device checks.
* Add missing space to precision parsing error message.
* Allow to switch FP32 input precision to U8.
2020-09-09 17:14:20 +03:00
Katarzyna Mitrus
ba86f23dd6
Relaxed tolerance for fp16_inception_v1 model (#2129) 2020-09-09 15:47:53 +02:00
Vladimir Gavrilov
dca30b4522
Extend MO for support of Interpolate-4 (#2026)
* Commit.

* Added opset4 version in the class Interpolate.

* Added class ONNXResize11Op to read ONNX Resize with opset version >= 11.

* Added support for Interpolate-4 into transformations TestInterpolateReshapeWA and InterpolateConcat.

* Added support for Interpolate-4 into transformation InterpolateWithConcat.

* Deleted redundant checks from the transformation UpsampleToResample.

* Reverted last changes.

* Changed ONNX Resize extractor to support for Interpolate-4.

* Added conversion of ONNXResize11Op into Interpolate-4.

* Added support for Interpolate-4 into the transformation InterpolateSequenceToInterpolate.

* Small fix for formatting.

* Written tests for MO version of Interpolate-4 with shape_calculation_mode = sizes.

* Written tests for infer function of Interpolate-4.

* Now transformations InterpolateWithConcat, InterpolateConcat, InterpolateReshapeWA skip Interpolate-4.

* Used create_op_with_const_inputs in the transformation InterpolateSequenceToInterpolate.

* The transformation ONNXResize11ToInterpolate4 was rewritten using find_and_replace_pattern.

* Now the dictionary infers (dictionary of infer functions of Interpolate) is a class static attribute.

* Deleted unused variable.

* Restored original logic of find_and_replace_pattern method of the class InterpolateReshapeWA.

* Used create_op_with_const_inputs() in the transformation InterpolateSequenceToInterpolate for opset1 case.

* Replaced resize_name by resize.soft_get('name', resize.id).

* Small fixes.

* Added two tests for Interpolate-4 infer function.

* Fixed the transformation ONNXResize11ToInterpolateV4 for the case when ONNXResize11 operation has 3 inputs.

* Added conversion of ONNXResize11 with tf_crop_and_resize_mode to ROIPooling + ONNXResize11.

* Fixed bugs in the transformation ONNXResize11ToInterpolateV4 and in the infer function of the operation ONNXResize11.

* Small changes.

* Renamed transformation that converts ONNXResize11 into ROIPooling + ONNXResize11 and fixed BOM-file.

* Fixed tests for the transformation InterpolateSequenceToInterpolate.

* Small change.

* Now the transformation InterpolateSequenceToInterpolate preserves output layer name.

* Deleted the transformation ONNXResize11ToTFCropAndResize.
2020-09-09 16:28:52 +03:00
Vitaliy Urusovskij
4bd05c5364
Implement statistics collection: (#2056)
1. Add `-s` CLI key to get statistics file path
2. Implement `StatisticsWriter` singleton to manage handle to this file
2020-09-09 15:30:23 +03:00
Anton Potapov
f86d930e3f
[PP GAPI] - Generic precision conversion kernel; support for U8 (#2076)
- added U8 support
- tests are extended
2020-09-09 15:30:08 +03:00
Bartosz Sochacki
8b87e1a477
[GNA] Fix for concat layer with >2 inputs (#1475)
* Fix for concat layer with more than 2 inputs

Signed-off-by: Bartosz Sochacki <bartosz.sochacki@intel.com>

* Fixed check if affine is used for crop layer

Signed-off-by: Bartosz Sochacki <bartosz.sochacki@intel.com>

* code cleanup for fix affine layer check

Signed-off-by: Bartosz Sochacki <bartosz.sochacki@intel.com>

* added test for concat layer with multiple inputs

* simplified test to use less number of layers

* fixed code style

* fixed coding style

* addressed review comments and one more issue that appeared during testing

* fixed code style errors

* scale factor propagation for concat layer with multiple inputs

* fix for a case when all inputs to concat are activation layers

* fix for linux compilation - C++14 is not enabled and fails on lambda with auto parameters

* corrected current year in headers in concat multi input tests

* fixes for code review issues raised by Denis Orlov

* enabled integer mode computation in GNA concat multi input test

* removed 1 space per review comment

* a fix to fail when not all scale factors are equal

* added GNA_DEVICE_MODE config to concat multi input test

* corrected searching for a next input to concat layer

* changed selection of 2nd candidate for source quant value

* code style fix - else and brackets should be in the same line

* small code improvement

* fix for mixing line endings

* addressed with endless requantization loop and fixed failing tests
2020-09-09 14:55:07 +03:00
Ilya Churaev
135ae12b0d
Fixed AddressSanitizer issue (#2122) 2020-09-09 14:31:12 +03:00
Lukasz Debski
3a1667c35c
[IE CLDNN] fs_b_yx_fsv32 addition in quantize_scale_shift kernel and reorders removal fix (#2124) 2020-09-09 13:35:31 +03:00
Gladilov, Gleb
d43c9cfa0e
[IE][Tests]: Fixes dangling reference access in nGraph function comparator (#2105)
Usage reference to front of the queue after pop is UB

Signed-off-by: Gladilov, Gleb <gleb.gladilov@intel.com>
2020-09-09 13:22:29 +03:00
Irina Efode
685e8f8e7e
[IE TESTS] Remove normilizer tests (#2098) 2020-09-09 13:21:55 +03:00
Michał Karzyński
fe4d720b69
Temporarily disable ONNX Loop operator for the 2021.1 release (#2110) 2020-09-09 12:07:02 +02:00
Tomasz Dołbniak
fd02b384a7
Clang compilation error fix for Linux (#2126) 2020-09-09 13:04:33 +03:00
Alexander Peskov
ad74204402 [TEST] One more ReduceSUM func test
Special test case with input values which cannot be correctly processed via
decomposition with int AVG pool layer.

Signed-off-by: Alexander Peskov <alexander.peskov@intel.com>
2020-09-09 12:41:31 +03:00
Alexander Peskov
3dc27c8be8 [TEST] Fix blob util broadcast filler for non fp32 types
Signed-off-by: Alexander Peskov <alexander.peskov@intel.com>
2020-09-09 12:41:31 +03:00
Alexander Peskov
40923893b6 [NGRAPH] Fix ReduceSum decompose pass
Signed-off-by: Alexander Peskov <alexander.peskov@intel.com>
2020-09-09 12:41:31 +03:00
Ilya Lavrenov
030e0f46fe
Hide itt.hpp to src folders (#2091) 2020-09-09 12:34:16 +03:00
Alexander Perepelkin
14e2b0be20
Use metadata from executable network when fetching results of the infer request; Use user provided output precision when it was supplied (#2111) 2020-09-09 11:47:40 +03:00
Katarzyna Mitrus
ddaceb047d
Use element type instead of F32 for constants (#2121) 2020-09-09 09:50:27 +02:00
Andrey Somsikov
b8a8fe7c0d
Sort memcheck timeline report for failures (#2088) 2020-09-09 10:10:22 +03:00
Vladimir Paramuzov
6062736751
[IE CLDNN] Fix eltwise activation types mismatch (#2090) 2020-09-09 09:57:38 +03:00
Anton Voronov
64bcbe59c7
[CPU] gemm convolution: added post ops JIT implementation (#1817) 2020-09-09 09:17:57 +03:00
Roman Kazantsev
82e15a5a64
Support python 3.8 by the Model Optimizer tool in default configuration (#2078)
* Support python 3.8 by the Model Optimizer tool in default configuration

* Fix after review #1

* Fix after the second round review
2020-09-09 08:34:43 +03:00
Evgeny Latkin
5ad4811793
[VPU][OpenCL] Update custom kernels (#2131)
* [Custom CL] Updated OpenCL kernels and tests

* [Custom CL] Update OpenCL compiler

* Update firmware to 1365

* Disable ExpGenerateProposals tests

* VPU: new firmware no. 1370

* Myriad: re-enable ExpGenerateProposals tests

Co-authored-by: Maxim Kurin <maxim.kurin@intel.com>
2020-09-09 03:50:40 +03:00
Vitaliy Urusovskij
867340e8f1
Add runPipeline wrapper to mandatory track full run (#2100) 2020-09-09 00:13:07 +03:00
Artyom Anokhov
2c6cceeeb6
Added code owners for scripts folder (#2130) 2020-09-08 17:23:27 +03:00
Mateusz Tabaka
6fb9bfac2a
Update tolerance for candy model (#1967) 2020-09-08 16:04:08 +02:00
Jan Iwaszkiewicz
f4cb425396
[nGraph] Enable u1 data type in Constant PyAPI (#2084) 2020-09-08 13:11:05 +02:00
Roman Vyunov (Intel)
8d74accf52
[IE][VPU]: Decompose Swish to Sigmoid + Prod (#2107)
* Workaround to decompose Swish to Sigmoid + Multiply
2020-09-08 11:52:05 +03:00
Mikhail Letavin
671ddeea93
[IE CLDNN] Switch back to old TI unroller to restore correct matching of TensorIterator output names (#2096) 2020-09-08 11:48:11 +03:00
Daria Mityagina
ef3b9e1d1f
[IE][VPU]: myriad_compile doesn't work without device - fix (#2054)
* Revert setting deprecated PLATFORM config option in compile tool
2020-09-08 11:21:18 +03:00
Anna Alberska
6357ce83c5
[GNA] add support for NCHW & NHWC layouts for exporting output (#2031)
* [GNA] add support for NCHW & NHWC ExportScores

* fix cpplint
2020-09-08 10:57:44 +03:00
Andrey Dmitriev
8e6d9470bb
[GNA] Handling input orientation (#1851)
Added test

Add fix
2020-09-08 10:46:10 +03:00
Ivan Tikhonov
063c7ef6b9
GRU/RNN/LSTM sequence ops, reference implementations, single layer tests (#1594)
* gru/rnn sequences

* update gru/rnn sequences ops, add unit tests

* enable sequence transformations for cpu plugin

* ngraph codestyle

* update tensor iterator to rnn/gru/lstm sequence transformations, add unit tests

* ngraph codestyle

* add visitors for ngraph ie ops, fix a bug with incorrect axis, fix ngraph to ngraph ie conversion

* update GRUSequence/GRUSequenceIE according to plugin format

* fix ngraph ie implementations according to plugins restricrictions

* fix naming issue

* adapt unit tests to accordance to new changes

* strict checks, additional unit tests

* add descriptions for transformations, fix unit tests

* enable ti to sequnece and unroll transformations in plugins for testing

* disable tensor iterator ngraph reader tests

* delete unnecessary cmake file

* fix includes

* clean up, resolve review comments

* move ti to sequence transformation to ti folder

* validate_and_infer_types() implementation

* input parameter validation for LSTM, GRU and RNN

* style-check applied

* Add LSTMSequence dynamic shape validation and test props for RNNCell, GRUCell, LSTMCell and LSTMSequence.

* recurrent_sequence.hpp moved to ngraph/core/include/ngraph/op/util/

* style check applied

* removed unused variable from LSTMSequence::validate_and_infer_types

* Add missing newline mark at the end of file.

* Add supression macro for FusedOp deprecation.

* Add element type initialization

* transpose,rnn cell reference implementations

* Apply PR review remarks

* reference implementations for cells op, single layer tests, align lstm cell/sequence according to the spec

* lstm/gru/rnn cell decompostion transformations

* ngraph codestyle

* clean up

* ngraph code style

* change inheritance of Cells, fix build

* fix build

* fix build again

* remove Peepholes from LSTMSeq, fix copy_runtime_info in transformations

* Rewrite tests to use gtest exception assertions.

* resolve tests issues

* ngraph codestyle

* add missed files

* fix typeprop tests

* fix lstm sequence checks

* fix arm build

* fix arm again

* delete unnecessary file

* add convert weghts format function, enable lstm test, resolve review comments

* add ngraph builders

* ngraph codestyle

* fix unit tests

* revert transpose reference implementation

* move ti to sequences transformation to another branch, resolve review comments

* resolve review comments

* revert fix in ie_layer_validators

* revert LSTM Cell v0, add LSTMCell v1, update transformation lstm_cell_to_cell_ie

* v1 version of LSTMCell op

* LSTMSequence v1 operation, exclude LSTMSeq from opset4

* fix python api tests

* resolve review comments, tests for decomposition transformations, switch lstm cell to opset4 in mo

* references impl for RNN/GRU/LSTM Sequences, single layer tests, bidirectional transformation

* fix unit tests

* process dynamic ranks of rnn/gru/lstm ops

* remove sequences specifications from opset4

* resolve review comments

* fix validate_and_infer_types of GRU/RNN sequences

Co-authored-by: Szymon Durawa <szymon.durawa@intel.com>
2020-09-08 10:31:44 +03:00
Vladimir Paramuzov
8cc7eb7a17
[IE CLDNN] Added is_discrete flag into device info and FULL_DEVICE_NAME flag (#2089) 2020-09-08 09:56:54 +03:00
Tomasz Dołbniak
f42921ce47
ONNX Resize fix (#2103) 2020-09-08 09:51:30 +03:00
Andrew Bakalin
928eed9a51
[IE][VPU][GT][IE Transformations]: Fixes for post processing model (#2041)
* Disable StridedSlice to crop convertion in dynamic cases
* NMS: increase shave requirements for some cases
* Update firmware
* Add test cases
2020-09-07 23:23:47 +03:00
Edward Shogulin
dc8bbd930f
[LPT] Multiinput with one parent and FQ with three Constant (#2066)
* [LPT] FakeQuantize with three constants

* [LPT] Dequantization ops on thw inputs with one parent
2020-09-07 20:31:45 +03:00
Dmitrii Denisov
b225ddf414
Refactoring: install_openvino_dependencies.sh script (#2112) 2020-09-07 19:54:56 +03:00
Maksim Kutakov
2c7f06e08f
[IE TESTS] GatherTree single layer test has been created. (#2006)
* [IE TESTS] GatherTree op ref function has been created.

* [IE TESTS] Added GatherTree single layer test

* [IE TESTS] Fixed code styles.

* [IE TESTS] GatherTree test FP32 precion was enabled.

* [IE TESTS] Refactoring of Builder::makeConstatn procedure

The refactoring is aimed at managing the range of random data for the constants initialization procedure.

* [IE TESTS] GatherTree test was extended with constants

* [IE TESTS] GatherTree ref rewritten to non-templated function.

* [IE TESTS] GatherTree test inp shape indx enum removed.

* Revert "[IE TESTS] Refactoring of Builder::makeConstatn procedure"

This reverts commit 2648172e00ccca266d39e8775b890b8a8395f57c.

* [IE TESTS] makeConstant was augmented with random data range parameters.

* [IE TESTS] GatherTree test was rewritten using makeConstant function.

* [IE TESTS] GaterTree test call templated makeConstant

* [IE TESTS] GaterTree test code style fix
2020-09-07 17:17:14 +03:00
Tomasz Dołbniak
52ebe68cc7
v1::AvgPooling type prop unit tests (#2013) 2020-09-07 16:05:19 +02:00
Anton Voronov
7c95e8f8ff
[CPU] fix: supported Tile with more than 5 dims (#2062) 2020-09-07 15:39:19 +03:00