Commit Graph

2532 Commits

Author SHA1 Message Date
Mingyu Kim
04760cb59a
[IE CLDNN] Added ScatterElementsUpdate op support (#4105) 2021-02-04 11:16:27 +03:00
Ilya Churaev
939ddeac41
Moved ittapi to thirdparty (#4164) 2021-02-04 11:13:44 +03:00
Ilya Lavrenov
956c6dd35f
Extracted toolchain to build with static runtime from OneCore toolchain (#3045)
* Static runtime

* Fixed cldnn compilation with static runtime

* Added separate toolchain for static runtime

* Added toolchain itself
2021-02-04 11:08:30 +03:00
Gladilov, Gleb
47b1244b25
[IE][VPU]: Enables WA for Loop creation (#4153)
Loop operation constructor call is not sufficient to
create Loop operation, such methods as set_special_body_ports,
set_sliced_input and other may need to be called as well.
set_special_body_ports must always be called since it specifies
required attribute body_condition_output_idx. If it has not been
done before validate_and_infer_types call - exception will be thrown
that this required attribute is not set.

Recently, validate_and_infer_types call has been added to
set_sliced_input implementation. As a result, if Loop has sliced
inputs, they must be specified not earlier set_special_body_ports,
otherwise program will fail.

Signed-off-by: Gladilov, Gleb <gleb.gladilov@intel.com>
2021-02-04 10:46:42 +03:00
Andrey Somsikov
9b5b2bb002
Add collector path for cond. comp. tests (#4159) 2021-02-04 10:35:24 +03:00
Chenhu Wang
db84033aa8
[CPU] Introduced Load/Store emitters (#3567)
- Created emitters for jitted load and store and apply to MVN node
- MVN template function removed
- Optimized tiles processing in MVN node implementation
2021-02-04 10:21:26 +03:00
Ilya Lavrenov
69e3ca5ec7
Re-used XML utils (#4170) 2021-02-04 08:42:16 +03:00
Bartek Szmelczynski
18a65b5330
Serialization dynamic layer bug (#3982)
* remove if statement which checks if there is no dynamic shape

* remove reshaping for genericIE operation

* back to the previous version with reshape

* remove blank space

* add plugin_api to cmake in order to use generic_ie.hpp in serialize file

* add SLT for serialization for NonMaxSupperesion operator

* revert the removal of if check for dynamism

* remove the left over from CMakeLists

* fix CmakeLists removal fail

* remove redundant parenthesis

* add test which failed in the first place and fixes to it

* fix wrong spaces
2021-02-04 07:21:37 +03:00
Svetlana Dolinina
dc1b605b7f
Ngraph: add methods for removing parameters from Function (#3854)
* added methods for parameters

* added tests

* remove parameter from low latency

* Revert "remove parameter from low latency"

This reverts commit 86a91ddcb0.

* comment added

* fix style

* review fix

* extended comments

* style fixes

* review fixes

* test fix

* added full pipeline test
2021-02-04 06:59:06 +03:00
Tomasz Socha
4563101c5a
[ONNX Importer] Onnx importer support for brocker names (#4087)
* ONNX Importer changes

* Unit tests

* Style

* Don't set tensor names for result output tensor

* Review fx I

* fix

* Style

Co-authored-by: Vladislav Volkov <vladislav.volkov@intel.com>
2021-02-04 06:53:27 +03:00
Georgiy Manuilov
ff4227cf53
Add missing header for std::tolower (#4156)
* Add missing header for std::tolower

Missing header causes syntax error when compiling for Windows using Visual studio 2017. Closes #4155

* Reordered STL header includes in order to pass style check
2021-02-04 06:52:29 +03:00
Ilya Churaev
22543c4e3f
Fixed cc compilation (#4161) 2021-02-04 06:38:16 +03:00
Ilya Churaev
748780e392
Supports tensor names with delimiter (#4085)
* Supports tensor names with delimiter

* Fixed comments

* Allow to use different delimiters
2021-02-04 06:38:05 +03:00
Artyom Anokhov
da9d42f63b
setupvars.bat: Removed "setlocal enableDelayedExpansion", updated checking python_version (#4162) 2021-02-03 21:16:54 +03:00
Anton Pankratv
0a63b9214a
Used std::string as API paramters (#4050) 2021-02-03 19:21:39 +03:00
Polina Brzezinskaya
64312bc067
[IE][VPU]: Fix SEGFAULT when calling GetExecGraphInfo() from imported network (#3769) 2021-02-03 18:03:56 +03:00
Ilya Lavrenov
75ed35836f
Properly enabled ia32 build (#4145)
* Properly enabled ia32 build

* Fixed OpenCV_DIR env check
2021-02-03 17:26:50 +03:00
Edward Shogulin
f57f1fafc7
[LPT] Q/DQ support integration (#3575)
* [ MO ] New INT weights form

	Ticket #34096

	FQ = Quantize -> Dequantize =
	= FQ` -> Convert(int8) -> Convert(src_dtype) -> FQ =
	= Constant(int8) -> Convert(src_dtype) -> FQ =
	= Constant(int8) -> Convert(src_dtype) -> Subtract(zero_point) -> Multiply(scale)

* [LPT] Q/DQ representation support

Co-authored-by: Evgenya Stepyreva <evgenya.stepyreva@intel.com>
2021-02-03 17:05:34 +03:00
Nikolay Shchegolev
8d7c9de090
[CPU] Enable MVN-6 operation. (#3400) 2021-02-03 16:49:37 +03:00
Jozef Daniecki
4b1efeb858
Group convolution (#3995)
* GroupConvolution SLT style refactoring.

* Add GroupConvolution 1D SLT.

* Add GroupConvolution Serialization SLT.

* Add GroupConvolution ref impl to evaluates_map.

* Add GroupConvolution ref impl.

* Fix compilation on master.

* GroupConvolution specification update.

* Readability refactoring.

* Specification refactoring.

* Added 'output' section in GropuConvolution spec.
2021-02-03 16:07:01 +03:00
Kate Generalova
8b800cc539
add cl_compiler, dl_streamer and opencv deps to install dependencies script for Ubuntu (#4136)
* add cl_compiler, dl_streamer and opencv deps to install dependencies script for Ubuntu

libgl1 - for opencv package from PyPi
vainfo - for gstreamer-vaapi plugin
libtinfo5 - for cl_compiler tool

* remove old DL Streamer deps script

internal fix #40514

* add gstreamer tools as DL Streamer, opencv optional install dependency
2021-02-03 15:51:53 +03:00
Patryk Elszkowski
3ad1360f5f
Compare function - compare attributes - unit test (#4092)
* Enable node attributes comparing in SLT

* Add values of compared values to error message

* Switch from op version to set

* Test for Constant node

* Compare clamp min max attribute tests

* try to fix CentOS build

* use HasSubstr matcher from gMock

* add more tests

* Add DummyConstan op to check if validation handle different types

* use new Function comparison API

* Add test for unsupported type

Co-authored-by: Patryk Elszkowski <patryk.elszkowki@intel.com>
2021-02-03 15:24:25 +03:00
iliya mironov
1419e05032
Add python api for CTCGreedyDecoder (#3947)
* Add python api for CTCGreedyDecoder

* Fix code style

* Fix unit test

* Fix code style

* Fix unit tests

* Fix python tests

* Fix python tests

* Fix python tests

* Fix according to code review

* fix

* Fix api

* fix unit tests

* Fix unit test

* Fix python api
2021-02-03 14:53:53 +03:00
Anton Chetverikov
1b8930c4cb
Remove redundant attributes in back_edges for TI and Loop layers (#4133)
* Remove redundant edge attrs for loop layer

* Update copyright year
2021-02-03 14:50:47 +03:00
Ilya Lavrenov
e71aae9d29
Fixed CVS-47120 (#3919) 2021-02-03 14:27:02 +03:00
Ilya Lavrenov
be772c58bb
Fixed "Reverse input channels" case for common Plugin API (#4142)
* Added preprocessing for GetBlob

* Fixed preprocessing tests

* Added more test cases

* Skipped tests on GPU
2021-02-03 14:21:33 +03:00
Vladimir Paramuzov
a54d9780c5
[IE CLDNN] FP16 fused eltwise fix (#4028) 2021-02-03 13:46:58 +03:00
Kamil Magierski
9ff8e262ee
Dynamic Batch Test (#3936)
* Dynamic Batch Test

Whitespace fixes

style fixes

Include path fix

whiteline fix

Review comments implementation

* MacOS build fix

* Move dynamic batch test to configuration_tests

* change test namespace
2021-02-03 13:16:48 +03:00
Vladimir Gavrilov
6cf8a9f935
Network reading failure in IE for operations ExperimentalDetectronPriorGridGenerator and ExperimentalDetectronROIFeatureExtractor (#4014)
* Commit.

* Small fix in validation of the nGraph operation ExperimentalDetectronPriorGridGenerator.

* Fixes in the validation of the nGraph operation ExperimentalDetectronROIFeatureExtractor.

* Added more tests for shape infer function of the nGraph operation ExperimentalDetectronPriorGridGenerator.

* Code style fix.

* Added more tests for shape infer function of the nGraph operation ExperimentalDetectronROIFeatureExtractor.

* Fixes in the test type_prop.detectron_roi_feature_extractor_intervals_1.

* Some code style fixes.

* Started to rewrite the test type_prop.detectron_roi_feature_extractor_intervals_1 as a parametrized test.

* Added some tests to parametrized test of ExperimentalDetectronROIFeatureExtractor.

* Some code style fixes.

* Small code style fix.

* The test type_prop.detectron_roi_feature_extractor_intervals_1 was rewritten as a parametrized test.

* Deleted the method run_roi_feature_test().

* All type_prop tests for ExperimentalDetectronROIFeatureExtractor are parametrized.

* Added parametrized variant of the test detectron_grid_generator_dynamic_shapes_intervals_1.

* Small fix.

* Some changes.

* Some fixes.

* Now we have two parametrized tests of ExperimentalDetectronROIFeatureExtractor shape infer, not one.

* Code style fix.

* Deleted duplicate of tests.

* Yet another test is parametrized.

* Small fix.

* Deleted some duplicates of tests.
2021-02-03 13:15:21 +03:00
Ilya Churaev
b6c289ece4
Add sea to OpenVINO (#4042)
* Add IntelSEAPI

* Fixed Windows build

* Fixed Windows

* Removed ETLRelogger

* Fixed linux compilation

* Fixed macOS build

* Small fixes

* Enabled OV codestyle

* Removed Android support

* Update license

* Fixed compilation for Windows

* Removed parse_jit function

* Fixed script for header generation

* Remove bandit hints

* Moved itt collector to thirdparty

* Try to fix hits for Windows

* Removed more hits
2021-02-03 13:13:56 +03:00
Nikolay Shchegolev
4d9a030ff2
[CPU] Enable CTCGreedyDecoderSeqLen. (#3890) 2021-02-03 12:36:41 +03:00
Vladislav Golubev
d681582251
[LPT] MatMul: 3D quantization support (#3391)
* [LPT] MatMul: supported 3D quantization
[LPT] MatMul with constant: propagate subtract
[LPT] LayerTransformation:added canBeTransformedSpecialDimension for transformations that support not only per-channel/per-tensor quantization
[LPT] plugin tests: added 3D test-cases

* reshape_fully_connected naming fix

* [LPT] NetworkHelper: replaced onWeights with isConstantPath
[LPT] MatMulTransformation cpuFuncTests tests: rtPrecision check

* [LPT] constant folding FQ on weights if child operations aren't supported
[LPT] convolution with incorrect weights tests refactoring
[LPT] fq on weights with unsupported operations tests
2021-02-03 09:11:06 +03:00
Patryk Elszkowski
461a71b641
ngraph Constant operator - add const for c-tor input parameters (#4091)
Co-authored-by: Patryk Elszkowski <patryk.elszkowki@intel.com>
2021-02-03 07:50:50 +03:00
Andrey Somsikov
359c2ca018
Upgrade pyyaml to the latest (#4134) 2021-02-03 07:07:01 +03:00
Maxim Kurin
9ad6513f76
[Hetero] Update layout in inputs info (#4131) 2021-02-03 01:39:34 +03:00
Mateusz Tabaka
da4c50f4ff
Fuse x * HSigmoid(x) to HSwish(x) (#4121)
* Fuse x * HSigmoid(x) to HSwish(x)

* use pattern_value_map

* switch to opset6

* get rid of dynamic_pointer_cast
2021-02-02 22:23:44 +03:00
Ilya Lavrenov
685bf830d5
Fixed cldnn compilation with static runtime (#4070) 2021-02-02 20:11:40 +03:00
Alexander Zhogov
804010bb1b
Azure CI: Disable 3 failed IE UT old 2021-02-02 18:00:11 +03:00
Maxim Vafin
75763b8e67
Extend GELU merger patterns (#4130) 2021-02-02 17:59:12 +03:00
Dmitry Kurtaev
5c08312ade
[Docs] Add a note about --hparams for EfficientDet (#4079) 2021-02-02 17:51:07 +03:00
Maxim Vafin
0b3ff5edc2
Add MO support for MVN-6 (#3772)
* Add MO support for MVN-6

* Apply review feedback

* Apply review feedback

* Enable MVN-6 decomposition

* Fix shape_infer issue

* Fix MVN6 decomposition

* Fix build

* Fix tests

* Small fix

* Add MVN-6 reader test

* Apply feedback

* Apply review feedback

* Fix onnx test failure
2021-02-02 17:45:56 +03:00
Ilya Churaev
6a0bc80137
Fixed CNNNetwork iterator for some corner cases with Memory (#4084)
* Fixed CNNNetwork iterator for some corner cases with Memory

* Fixed tests
2021-02-02 16:58:51 +03:00
Mikhail Letavin
ac7c847187
[IE CLDNN] Fix most of clDNN LSTM unit tests (#3810) 2021-02-02 16:42:45 +03:00
Roman Kazantsev
5ab628d776
Fix TF2 Keras RNN support (#4116)
It adds support for Bidirectional RNNs and avoids use of ONNX primitives from MO-TF.

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
2021-02-02 16:00:11 +03:00
Patryk Elszkowski
fe4c48e432
Compare function: change API to a class (#4077)
Co-authored-by: Patryk Elszkowski <patryk.elszkowki@intel.com>
2021-02-02 15:43:55 +03:00
Maksim Kutakov
f0398212f8
[CPU] Split layer nspc -> ncsp special case put back. (#3839) 2021-02-02 15:40:50 +03:00
Tomasz Jankowski
cc000e57e0
Enable GatherElements tests on IE_CPU (#4044) 2021-02-02 12:59:44 +01:00
Taylor Yeonbok Lee
38fab0265d
[IE CLDNN] Fixed scatter update op & reshape kernel (#4106) 2021-02-02 14:57:32 +03:00
Andrey Somsikov
9c1651b5ad
Fix SELECTIVE_BUILD=COLLECT build under sh (#4108)
SEAPI build fails with `pushd: not found`
2021-02-02 14:50:06 +03:00
Gladilov, Gleb
1f707610d6
[IE][nGraph][VPU]: Enables DTS for Loop (#3838)
* [IE][nGraph]: Enables const overload for SubGraphOp::get_function
* [IE][nGraph]: Deletes SubGraphOp copy constructor

SubGraphOp has clone_with_new_inputs function for
deep coping, while default copy constructor does
some kind of shallow one. In order to avoid
confusion, copy constructor is deleted since it's
unused anyway.

* [IE][nGraph]: Enables protected Loop copy constructor

Additional clone method is introduced in order to reuse
Loop::clone_with_new_inputs implementation.
Loop::clone_with_new_inputs implementation at the same
time is refactored, since there were extra job that
does not needed to be done there.

* [IE][VPU][nGraph]: Introduces StaticShapeLoop

StaticShapeLoop is a class derived from Loop
to override validate_and_infer_types method
in order to propagate upper-bounds through the
function instead of dynamic tensors.

It uses maximum_value estimation to get
upper-bound for iterations count in case if
it is dynamic.

* [IE][VPU][nGraph]: Refactors function validators in DTS

The same approach (nGraph operation to functor map) as
for DTS shape functors is used since validation is
operation type specific.

* [IE][VPU][nGraph]: Enables DTS for Loop

Only loops with inputs dynamic in batch
(iterations count) and static body are supported.
2021-02-02 13:06:34 +03:00