Commit Graph

1199 Commits

Author SHA1 Message Date
Ilya Churaev
a4dc5c89f3
some nGraph KW fixes (#2176)
* Removed redundant methods

* Fixed KW for linux
2020-09-15 13:59:42 +03:00
Ilya Churaev
fef1803a86
Extend error message (#2174) 2020-09-15 13:59:15 +03:00
Tomasz Dołbniak
e94393df10
FakeQuantize + Mul fusion (#2133)
* FQ+Mul fusion transform skeleton

* FQ+Mul fusion transform tests prep

* Basic UT for the transform

* Basic implementation of the transform

* Parametrized UTs for FQMul transform

* Parametrization of FQ+Mul UTs

* Make sure that the shapes of constants match

* Check if the mul constant matches FQ data

* CentOs compilation error fix

* PR feedback and adjusted tests

* NHWC layout of the mul constant

* UT: FQ output limits 4D

* Redundant CF pass removed

* Rewrite the graph in a different way

* Shape checking infrastructure skeleton

* Handle some negative cases

* Check the rt info in the fusion test

* Fuse all Mul nodes detected after FQ node

* Dont cast the original FQ node

* Dont throw if CF fails in new output range calculation

* More UTs

* Accept any type of input to FQ in the transformation

* Test the fusion when all FQ inputs are non-const

* Fusion test when only one output limit is const
2020-09-15 11:33:35 +03:00
Artyom Anokhov
2e4f46e1fd
[Scripts] Fixing issue with exporting path-like env when it undef (#2164)
* setupvars.sh: Added logic for exporting path env in case if it not defined

* setupvars: Removed duplicated colon

* Kept quotes where they were

* setupvars: updated copyrights
2020-09-14 19:49:42 +03:00
Edward Shogulin
177906b99a
[LPT] Copy constant with several outputs before blob update (#2197)
* [LPT] Copy constant implementation

* [LPT] the same Constant ops as FQ interval boundaries
2020-09-14 18:32:37 +03:00
Anna Alberska
6d38488462
[GNA] fix scale factor calculation for unfused bias after fc (2021.1) (#2195)
* [GNA] fix scale factor calculation for unfused bias after fc

* change check

* add test

* apply requested changes

* cpplint fix

* apply test changes

* modify model for test to match ::op::
2020-09-14 17:30:12 +03:00
Kamil Magierski
db5aa551af
LSTMCell test [GNA] LSTMCell fix for GNA (#2216) 2020-09-14 17:29:45 +03:00
Denis Orlov
6d90eedbd2
[GNA] Safety fixes (#2193) 2020-09-14 12:10:25 +03:00
Sergey Shlyapnikov
a91e256d27
[IE CLDNN] Memory allocation optimizations (#2178) 2020-09-11 15:55:46 +03:00
Sergey Shlyapnikov
bdd0247362
[IE CLDNN] Fix stack-use-after-scope issue (#2150) 2020-09-10 18:59:15 +03:00
Gleb Kazantaev
18abd6cfd7
Updated ConvertPrecision pass not to make extra copy of Constant data (#2108) 2020-09-10 17:11:10 +03:00
Kate Generalova
6c3f7fd654
[samples] remove unused ngraph (#2156) 2020-09-10 16:04:13 +03:00
Nikita Kudriavtsev
62c7ca9698
[IE Myriad][#38489] Reduce test scope for Swish layer (#2163) 2020-09-10 15:47:20 +03:00
Alexey Fadeev
5c4f918db2
Fixed differences between glib versions (#2153) 2020-09-10 15:11:08 +03:00
Anton Dudchenko
c7633e7016
[IE][VPU]: Support ngraph::Function in VPU QueryNetwork (#1929)
* Support ngraph::Function in VPU QueryNetwork
2020-09-10 14:49:19 +03:00
Nikita Kudriavtsev
ef2581d5c6
[IE Myriad][IE Tests] Activation layer's constants parametrization. (#2071)
CI passed: https://gitlab-icv.inn.intel.com/inference-engine/product-configs/merge_requests/870
2020-09-10 12:56:21 +03:00
Kate Generalova
d4d460101d
fix #38545 remove CPU network layer check for py samples (#2145) 2020-09-10 12:44:13 +03:00
Mateusz Tabaka
926be83568
Add support for custom onnx operators: DetectionOutput, Normalize and… (#2064) 2020-09-10 11:27:12 +02:00
Maxim Kurin
362080b5be
[IE][VPU][Custom CL]: Fix binary convolution3x3 3d transaction (#2144)
* Fix binary_convolution3x3.cl kernel & test
2020-09-10 11:55:32 +03:00
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