Commit Graph

2566 Commits

Author SHA1 Message Date
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
Mikhail Kozlov
6390d32c4c
Fix write output blob for Windows (#4126) 2021-02-02 12:56:25 +03:00
Evgenya Stepyreva
f1ffe4f9fd
nGraph value propagation (#3368)
* partial value and shape propagation

* TopK k propagation

* stylish commit

* style again

* Precalc Folding and broadcasting fix

* style

* Self review

* forgetting the unused values

* deleting unused variables

* Review

* self review

* disaster mistake fixed

* tests corrected

* mod to be inferred while creation

* LPT test fix

* tests fixes

* fix

* tests

* dynamic backend fix

* comments

* disable propagation
2021-02-02 12:03:56 +03:00
Bartosz Lesniewski
b97a986048
Remove ops from Layer Creator/ Node Converter - part 9 (#4019)
* remove variadicsplit op from layer creator

* remove reorgyolo op from layer creator

* remove psroipooling op from layer creator

* remove empty layer creator list and not used creator

* missing endline

* add reorgyolo case to ops missing in opset1

* remove trivial creators
2021-02-02 11:55:26 +03:00
Mateusz Tabaka
4e601eb315
Move Extension tests from ieFuncTests to cpuFuncTests (#3927)
* Move Extension tests from ieFuncTests to cpuFuncTests

* Move extension directory up
2021-02-02 11:55:14 +03:00
Maxim Andronov
c56f3cd170
[CPU] Fix NormalizeL2 + Multiply (#4047) 2021-02-02 11:43:35 +03:00
Andrey Zaytsev
235cd56e54
Feature/azaytsev/cherry picks from 2021 2 (#4069)
* Added info on DockerHub CI Framework

* Feature/azaytsev/change layout (#3295)

* Changes according to feedback comments

* Replaced @ref's with html links

* Fixed links, added a title page for installing from repos and images, fixed formatting issues

* Added links

* minor fix

* Added DL Streamer to the list of components installed by default

* Link fixes

* Link fixes

* ovms doc fix (#2988)

* added OpenVINO Model Server

* ovms doc fixes

Co-authored-by: Trawinski, Dariusz <dariusz.trawinski@intel.com>

* Updated openvino_docs.xml

* Added Intel® Iris® Xe Dedicated Graphics, naming convention info (#3523)

* Added Intel® Iris® Xe Dedicated Graphics, naming convention info

* Added GPU.0 GPU.1

* added info about Intel® Iris® Xe MAX Graphics drivers

* Feature/azaytsev/transition s3 bucket (#3609)

* Replaced https://download.01.org/ links with https://storage.openvinotoolkit.org/

* Fixed links
# Conflicts:
#	inference-engine/ie_bridges/java/samples/README.md

* Benchmarks 2021 2 (#3590)

* Initial changes

* Updates

* Updates

* Updates

* Fixed graph names

* minor fix

* Fixed link

* Implemented changes according to the review changes

* fixed links

* Updated Legal_Information.md according to review feedback

* Replaced  Uzel* UI-AR8 with Mustang-V100-MX8

* Feature/azaytsev/ovsa docs (#3627)

* Added ovsa_get_started.md

* Fixed formatting issues

* Fixed formatting issues

* Fixed formatting issues

* Fixed formatting issues

* Fixed formatting issues

* Fixed formatting issues

* Fixed formatting issues

* Updated the GSG topic, added a new image

* Formatting issues fixes

* Formatting issues fixes

* Formatting issues fixes

* Formatting issues fixes

* Formatting issues fixes

* Formatting issues fixes

* Formatting issues fixes

* Formatting issues fixes

* Formatting issues fixes

* Formatting issues fixes

* Formatting issues fixes

* Formatting issues fixes

* Formatting issues fixes

* Revert "Formatting issues fixes"

This reverts commit c6e6207431.

* Replaced to Security section

* doc fixes (#3626)

Co-authored-by: Nikolay Tyukaev <ntyukaev_lo@jenkins.inn.intel.com>
# Conflicts:
#	docs/IE_DG/network_state_intro.md

* fix latex formula (#3630)

Co-authored-by: Nikolay Tyukaev <ntyukaev_lo@jenkins.inn.intel.com>

* fix comments ngraph api 2021.2 (#3520)

* fix comments ngraph api

* remove whitespace

* fixes

Co-authored-by: Nikolay Tyukaev <ntyukaev_lo@jenkins.inn.intel.com>

* Feature/azaytsev/g api docs (#3731)

* Initial commit

* Added content

* Added new content for g-api documentation. Removed obsolete links through all docs

* Fixed layout

* Fixed layout

* Added new topics

* Added new info

* added a note

* Removed redundant .svg
# Conflicts:
#	docs/get_started/get_started_dl_workbench.md

* [Cherry-pick] DL Workbench cross-linking (#3488)

* Added links to MO and Benchmark App

* Changed wording

* Fixes a link

* fixed a link

* Changed the wording

* Links to WB

* Changed wording

* Changed wording

* Fixes

* Changes the wording

* Minor corrections

* Removed an extra point

* cherry-pick

* Added the doc

* More instructions and images

* Added slide

* Borders for screenshots

* fixes

* Fixes

* Added link to Benchmark app

* Replaced the image

* tiny fix

* tiny fix

* Fixed a typo

* Feature/azaytsev/g api docs (#3731)

* Initial commit

* Added content

* Added new content for g-api documentation. Removed obsolete links through all docs

* Fixed layout

* Fixed layout

* Added new topics

* Added new info

* added a note

* Removed redundant .svg

* Doc updates 2021 2 (#3749)

* Change the name of parameter tensorflow_use_custom_operations_config to transformations_config

* Fixed formatting

* Corrected MYRIAD plugin name

* Installation Guides formatting fixes

* Installation Guides formatting fixes

* Installation Guides formatting fixes

* Installation Guides formatting fixes

* Installation Guides formatting fixes

* Installation Guides formatting fixes

* Installation Guides formatting fixes

* Installation Guides formatting fixes

* Installation Guides formatting fixes

* Fixed link to Model Optimizer Extensibility

* Fixed link to Model Optimizer Extensibility

* Fixed link to Model Optimizer Extensibility

* Fixed link to Model Optimizer Extensibility

* Fixed link to Model Optimizer Extensibility

* Fixed formatting

* Fixed formatting

* Fixed formatting

* Fixed formatting

* Fixed formatting

* Fixed formatting

* Fixed formatting

* Fixed formatting

* Fixed formatting

* Fixed formatting

* Fixed formatting

* Updated IGS, added links to Get Started Guides

* Fixed links

* Fixed formatting issues

* Fixed formatting issues

* Fixed formatting issues

* Fixed formatting issues

* Move the Note to the proper place

* Removed optimization notice
# Conflicts:
#	docs/ops/detection/DetectionOutput_1.md

* minor fix

* Benchmark updates (#4041)

* Link fixes for 2021.2 benchmark page  (#4086)

* Benchmark updates

* Fixed links

Co-authored-by: Trawinski, Dariusz <dariusz.trawinski@intel.com>
Co-authored-by: Nikolay Tyukaev <nikolay.tyukaev@intel.com>
Co-authored-by: Nikolay Tyukaev <ntyukaev_lo@jenkins.inn.intel.com>
Co-authored-by: Alina Alborova <alina.alborova@intel.com>
2021-02-02 11:29:12 +03:00
Mateusz Tabaka
ecb6d8604e
Add Add->Clamp->Div->Mul to HSwish fusion (#4027)
* Add Add->Clamp->Div->Mul to HSwish fusion

* use opset4 NS instead of op::v0, don't copy constants RT info

* use opset4 in tests
2021-02-02 11:12:21 +03:00
Jozef Daniecki
c1b0b03750
Convolution (#3922)
* Move Convolution and ConvolutionBackpropData ref impls into separate files.

* Add convolution unit tests.

* New convolution reference implementation.

* Remove unused convolution ref impl argument.

* Fix style.

* Revert "Remove unused convolution ref impl argument."

This reverts commit 739065d0d0.

* WA for arm-plugin: additional include with ConvolutionBackpropData.

* Style format in Convolution SLT CPU instantiation.

* Add 1D Convolution SLT CPU tests.

* Add Convolution Serialization SLT.

* Update source banners with 2021 date.

* Specification review.

* Readability improvement in padding detection.

* Refactoring regarding Tensor usage.

* Iteration over tensor slices made more readable.

* Code refactored to use only one convolution implementation.

3D convolution is used to compute also in 1D & 2D case (parameters,
inputs and filters shapes are adjusted accordingly).

* Removed Tensor abstraction.

* Name unnamed namespace as convolution_details.

* Refactoring: replaced std::next + negative index with std::prev.

* Specification refactoring.

* Revert "Name unnamed namespace as convolution_details."

This reverts commit cea526ec49.

* Added new convolution() overload.

* Fix legacy convolution() overload (needed for kmb-plugin).

* Reduced number of template type arguments in convolution ref impl.

* Added 'output' section in Convolution spec.

* Remove floating round type configuration.
2021-02-02 11:05:39 +03:00
Aleksandr Pertovsky
d754e9b311
[CPU] CumSum tensors with rank >= 6 support. (#3859) 2021-02-02 10:45:52 +03:00
Maxim Andronov
537179b235
[CPU] FakeQuantize decomposition (#3741) 2021-02-02 09:37:02 +03:00
Gleb Kazantaev
cca0d568e0
WrapType Improvements (#4040)
* Extended WrapType to consume multiple types; Added variadic wrap_type support

* Updated transformations to use wrap_type

* Fix BatchNormDecomposition

* Added tests
2021-02-02 09:27:05 +03:00
Michał Karzyński
3a86b3a17e
Update ONNX dependency to v 1.8.1 (#4114) 2021-02-02 07:05:26 +03:00
Nikolay Tyukaev
0ecc360664
fix comments ngraph api - master (#3519)
* fix comments ngraph api

* remove whitespace

* fixes

Co-authored-by: Nikolay Tyukaev <ntyukaev_lo@jenkins.inn.intel.com>
2021-02-02 07:01:58 +03:00
Evgenya Stepyreva
a6ea479688
[DOC] ShapeInference.md update. slyalin comments (#3355) (#4104)
* [DOC] ShapeInference.md update. slyalin comments

* Apply suggestions from code review

Co-authored-by: Alina Alborova <alina.alborova@intel.com>

* Apply suggestions from code review

Co-authored-by: Alina Alborova <alina.alborova@intel.com>

* Update docs/IE_DG/ShapeInference.md

Co-authored-by: Alina Alborova <alina.alborova@intel.com>

Co-authored-by: Alina Alborova <alina.alborova@intel.com>
2021-02-01 23:52:54 +03:00
Alexander Zhogov
2457225e08
Azure CI: Disable nGraph Mac tests IE_CPU/GRUSequenceOp.onnx_model_gru* 2021-02-01 19:53:20 +03:00
Chenhu Wang
4570550636
[CPU] Interpolate node: 5d support for onnx_linear mode (#3471) 2021-02-01 19:25:57 +03:00