Commit Graph
2636 Commits
Author SHA1 Message Date
Ilya Churaev 334bf9d227 Moved DiscreteTypeInfo to ov namespace (#7127)
* Moved DiscreteTypeInfo to new opset

* Revert old header

* Fixed code style
2021-08-20 06:42:15 +03:00
Gleb Kazantaev 06d212ad83 Enable NormalizeL2Fusion and LeakyReluFusion inside MOC (#7096)
* Enable NormalizeL2Fusion inside MOC

* Fix NormalizewL2 decomposition (KeepDims=True)
2021-08-19 17:24:41 +03:00
Mikhail Ryzhov 0f1fc504b4 [GNA] Set input scale factors for imported model (#7139) 2021-08-19 12:27:02 +03:00
Vladimir Paramuzov b73788d08c [GPU] Fix build for gcc 10 (#7142) 2021-08-19 11:39:39 +03:00
Paul Youngsoo Ahn c32738ae43 [GPU] Fixed 'assigned to self' error in loop_inst.h (#7126) 2021-08-19 10:36:52 +03:00
Ilya Churaev 506148cff6 Moved Dimension, PartialShape, Interval, Rank to ov namespace (#7136) 2021-08-19 05:59:31 +03:00
Elizaveta Lobanova 7104f64a16 [GNA] Fix order of SwapMatMulInput transformations (#7137) 2021-08-19 00:22:26 +03:00
Alexandra Sidorova 983bab8271 [CPU] Added improvements for StridedSlice (#6658) 2021-08-18 20:26:04 +03:00
Vitaliy Urusovskij 42e1a49e3a [CPU] Bump up MKLDNN version to get fix of c26453 warning (#7089) 2021-08-18 13:27:48 +03:00
Yury Gaydaychuk 7372708254 [CPU] Deform. conv. - reference enforced (#6945) 2021-08-18 13:15:32 +03:00
Shoujiang Ma 8968a328d6 First stage of the AUTO-MULTI merge: redirecting AUTO to the MULTI device plugin (#7037)
* Redirect -d AUTO to MULTI device plugin

Signed-off-by: Shoujiang Ma <shoujiang.ma@intel.com>

* Modify AUTO tests with MULTI config

Signed-off-by: Shoujiang Ma <shoujiang.ma@intel.com>

* Fix CI

Signed-off-by: Shoujiang Ma <shoujiang.ma@intel.com>

* Fix bug: CVS-62424

Signed-off-by: Shoujiang Ma <shoujiang.ma@intel.com>

* Add some tests for AUTO

Signed-off-by: Shoujiang Ma <shoujiang.ma@intel.com>

* Add select device logic to MULTI

Signed-off-by: Shoujiang Ma <shoujiang.ma@intel.com>

* Fix extract device name bug

Signed-off-by: Shoujiang Ma <shoujiang.ma@intel.com>

* Address reviewer's comment

Signed-off-by: Shoujiang Ma <shoujiang.ma@intel.com>

* Delete AUTO plugin source code

Signed-off-by: Shoujiang Ma <shoujiang.ma@intel.com>
2021-08-18 13:12:27 +03:00
Sergey Lyubimtsev 96732e3f0e Build openvino wheel package from setup.py (#7091)
* Added ability to build wheel package by executing `setup.py bdist_wheel`

* fix linter issues

* fix formating

* remove blank line
2021-08-18 12:38:54 +03:00
Daria Mityagina ed9b4ada23 Remove deprecated option and enable compilation without device (#6022) 2021-08-18 12:31:19 +03:00
Vladimir Paramuzov 2210f12e03 [GPU] Get rid of memory alloc for input_layout in internal networks (#6897) 2021-08-18 09:31:04 +03:00
Ilya Churaev cbe33f5997 Deprecate ngraph file utils. Need to have common functions (#7105) 2021-08-18 07:35:32 +03:00
Sergey Shlyapnikov 2ffcb2f035 [GPU] Fix ScatterNDUpdate unit tests (#7103) 2021-08-17 18:33:25 +03:00
Vladislav Golubev a41a8896b3 [LPT] LP Transformations refactoring after dynamic shapes support (#6950)
* [LPT] Transformations refactoring after dynamic shapes support

* [LPT] ReshapeTransformation: 2D->2D fix

* [LPT] fixes after review
2021-08-17 16:51:15 +03:00
Ilya Churaev aaf590bd65 Change ngraph public api (#6920)
* Moved nGraph function

* Added legacy nGraph function

* Moved export API

* Moved variant

* Added old header for backward compatibility

* Fixed build

* Introduce define

* Fixed code style

* Fixed comments
2021-08-17 15:27:06 +03:00
Edward ShogulinandVladislav Golubev 4a3626997d [LPT] optimizeMultiplierAfter refactorinig & Reshape fix (#7036)
* [LPT] ReshapeTransformation: 2D->2D fix

* [LPT] optimizeMultiplierAfter refactorinig & Reshape fix

Co-authored-by: Vladislav Golubev <vladislav.golubev@intel.com>
2021-08-17 09:04:51 +03:00
Bartek Szmelczynski 563fd8fa9b Revise greater (#6955)
* add template test, remove backend tests, update spec

* minor spec update

* fix spelling errors in spec

* add not converted types
2021-08-17 07:16:56 +03:00
Elizaveta Lobanova a9f7c8effa [GNA] Fixed Eltwise split and batch size selection during 2d reshape (#7042)
* [GNA] Fixed Eltwise split and batch size selection during 2d reshape

* [GNA] Added exception if memory isn't allocated for concat filter

* Added assert for minZeroDimSize

* [GNA] Added unit test for GetAlignedSplitSizes()
2021-08-16 19:27:48 +03:00
Anton Pankratv e01dc67b6e [CPU] Added tbb executor (#557) 2021-08-16 12:04:33 +03:00
Dawid Kożykowski 8543daf95d Revise LogicalXor operation reference implementation (#6929)
* add tests for logical xor op

* update tests to use introduced libraries

* add empty line at the end of file

* adapt files to new clang-format rules

* fix braces typo
2021-08-16 07:29:31 +03:00
Szymon Durawa f2bb49d2ed Remove class FakeQuantizeLayerTestRevise. (#7057)
* Remove class FakeQuantizeLayerTestRevise.

* Remove fqLayerTestParamsSetRevise.
2021-08-16 07:17:50 +03:00
Vladislav Golubev a4d2e1a9c5 [LPT] PadTransformation (#5316)
* [nGraph] op::Pad: added RTTI macros

* [LPT][TESTS] operator<< for std::vector moved to layer_transformation.hpp

* [LPT] PadTransformation

* [LPT][TESTS] PadTransformation functional tests

* [LPT][TESTS] PadTransformation plugin tests

* [TESTS] Added the ability to add test-cases with dynamic shapes

* merge fixes

* [LPT] PadTransfomation: dynamic shapes support

* [LPT] PadTransformation added to the main LPT pass

* [LPT] MarkupTransformations: added Pad to SupportOps list

* [LPT] PadTransformation: added nonzero padValue support

* [LPT] PadTransformation: plugin tests extending

* compilation error fix

* naming fix
2021-08-14 16:20:46 +03:00
Polina Brzezinskaya c32ecd957b [TEST] Add cache tests (#7024)
* [TEST] Add cache tests

* Fix based on review
2021-08-13 20:07:30 +03:00
Mikhail Ryzhov e03abc343c [GNA] Disabled TransposeReduction (#7011)
* Rebase master

* [gna] Fixed export/import precision

* Revert "[gna] Fixed export/import precision"

This reverts commit d381a2e216.

* Rebase master

* [gna] Fixed export/import precision

* Revert "[gna] Fixed export/import precision"

This reverts commit d381a2e216.

* Fixed transposition error

* [GNA] Added tests for conv wrapped to transpose

* Code review fixes

* Fixed copyright year
2021-08-13 15:57:37 +03:00
Mikhail Ryzhov 12903bf3c3 [GNA] FQ accuracy fixes (#6924) 2021-08-13 15:54:21 +03:00
Mikhail Ryzhov d1e5e848b4 [GNA] Fixed issue for concat connection to memory layer (#6985)
* Fix for concat connection to memory layer
2021-08-13 13:31:42 +03:00
Pavel Esir 4738bbd757 [MO][nG] add Gather-8 to MO, layer tests, nG python api unit-tests and up/down-grading transformations (#6560)
* gather-8 upgrade/downgrade transforms

* bump to opset8

* add Gather-8 to MO

* fix permutation for Gather

* added TF layer tests, ONNX layer tests for negative indices, and nG python api unit-tests for negative indices

* typo fix, disable downgrading transformation

* disable downgrade in clDNN, line width style fix

* all Gathers are converted to 7th version, transformations will be enabled/disabled while op will be added into plugins

* disabled Gather8LayerTest on GPU

* added common function for Op replacement

* concretized meaning of negative indices, fixed some typos

* applied review comments: left only meaningful layer tests

* removed op replacing functions from common utils

* returned back transformations without subroutines

* corrected style, added comments to common_optimizations.cpp
2021-08-13 11:56:49 +03:00
Sergey Shlyapnikov cc15581cd5 [GPU] Fix FP16 to FP32 data types converting (#7003) 2021-08-13 11:43:14 +03:00
Ilya Churaev af8dc644a8 Enabled NCC for enums (#7038)
* Enabled NCC for enums

* Fixed enum values

* Marked lower case enum as deprecated

* Fixed deprecated enums

* Disable deprecation for Windows and GCC < 6

* Try to fix build
2021-08-13 09:16:47 +03:00
Sergey Lyubimtsev c771b1e2e0 Merge benchmark tools dirs (#6960)
* add missed __init__.py files

* Update __init__.py

empty line

* Merge infirence_engine/tools/benchmark_tool with tools/benchmark_tool

* Update MD links

* remove benchmark_tool  from package_BOM.txt

* add tools folder to the list of Doxygen files

* fix relative paths

* Update index.md

remove extra line
2021-08-12 11:38:03 +03:00
Xiping Yan 559ad4733f Xp/revise ngraph atanh (#6596)
* revise ../docs/ops/arithmetic/Atanh_3.md

* revise atanh

* recall atanh input data type description

* Revert "recall atanh input data type description"

This reverts commit 08e38f8c76.

* Migrate atanh to template plugin reference tests

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

* fix build fail.

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

* Remove atanh.in.cpp

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

* Atanh only accept [-1,1].
If input value outside of this range, it will return nan.
But nan is not value, can't compare.
So I update the reference implement.

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

* clang format

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

* Revert submodule mkl-dnn

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

* op::Atanh->op::v3::Atanh

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

* Keep algin with "Tensorflow", revert range input to [-1.0, 1.0];

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

* fix template test issue: if expect and actual both are nan, return true.

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>

* 1: revert add new code to process condition: res and ref both are nan.
2: change || to ^, it looks like better.

Signed-off-by: Yan, Xiping <xiping.yan@intel.com>
2021-08-12 05:25:35 +03:00
Mateusz TabakaandIlya Lavrenov 3186d4ed6e Merge onnx_importer to onnx_ngraph_frontend (#6825)
* Merge onnx_importer to onnx_ngraph_frontend

* address review comments

* use onnx_ngraph_frontend in docs/template_extension

* link onnx_ngraph_frontend instead of onnx_importer

* switch onnxruntime branch to rel-1.8.1_ov_2022.1 in https://github.com/intel/onnxruntime

* Remove pip install cmake since the 1.8.1 release doesnt require it

* add alias

* set IMPORTED_GLOBAL

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
2021-08-11 19:01:27 +03:00
Ilya Churaev 22f29f092c Remove nolint comments (#7020)
* Remove nolint comments

* Fixed comment
2021-08-11 15:32:05 +03:00
Ilya Churaev b1f009d470 Update samples style (#6998)
* Align clang config with IE

* Apply code style

* Update code style for c samples

* Fixed style for c samples
2021-08-11 14:47:29 +03:00
Dmitrii Khurtin c986ce09ce [GNA] Transpose bias (#6759)
* transpose bias

* removed bias transpose; added bias validation predicate to pattern

* fixed after review; added handling of the case bias_output_shape.size() == 1 and bias_output_shape.at(0) > 1

* moved bias shape size check to matcher pattern; replaced loop with algorithm
2021-08-11 14:14:47 +03:00
Bartek Szmelczynski 289df8db27 Revise equal (#6605)
* update spec, init backend file for equal op

* add backend, visitors, serialize SLT tests

* add backend test to manifest cause of mismatch of output type with cpu plugin

* add equal to list of trusted ops and to cmakelist file

* refactor backend tests to the new template

* refactor spec

* remove external link in numpy broadcast and update example

* remove comparison.in.cpp file and related tests from manifest

* fix example

* remove redundant arguments

* refactor backend tests

* add pdpd broadcast to the spec, and different precison to SLT test

* add precisions to SLT cpu

* remove unsupported type from SLT

* revert the deletion of comparison.in.cpp file

* remove visitors test, since it will be added in the other PR

* remove equal from CMakeLists.txt

* refactor links in the spec

* revert unwanted changes

* remove equal from unit test manifest

* revert links modification in spec

* add namespace

* split SSLTs for comaprison ops into seperate files

* fix SSLTs names

* add missing new lines

* udpate output type in spec

* rafactor numeric backend test to template

* merge numeric template tests into equal
2021-08-11 13:04:30 +03:00
Daria Ilina 5292de5338 Reorganize work with openvino/thirdparty (Copied from PR6744) (#6880)
* Copied PR6744

* Added CMakeLists.txt into gflags

* Return gflags into .gitmodules

* Added CMakeLists.txt into gtest

* fix: remove extra gflags and gtests from .gitmodules

* Change syntax in set gtest_targets

* Make gtest/CMakeLists.txt as in PR6744 for pre-commit experiment

* Update gtest/CMakeLists.txt

* Change version of gtest repo

* Return gtest info into .gitmodules

* Update gflags version to currently used
2021-08-11 11:33:52 +03:00
Vladislav Golubev 9d9a24c914 [LPT] Some LP Transformations improvements (#6434)
* [LPT] LayerTransformation::canBeTransformed: replaced legacy code

* [LPT] NetworkHelper::moveDequantizationAfter refactoring

* [LPT] ReshapeTransformation improvement

* [LPT] Squeeze/UnsqueezeTransformation improvement
2021-08-11 10:10:56 +03:00
Elizaveta Lobanova 0834ae2e6d [GNA] Support bias and FQ in SwapInputMatMul transformation (#6996)
* [GNA] Support bias and FQ in SwapInputMatMul transformation

* Updated opset for transformation and removed debug info
2021-08-11 10:10:33 +03:00
Ilya Churaev 8a200d60f3 Align python style with IE (#7007) 2021-08-11 09:21:37 +03:00
Szymon Durawa 04ff7a6ede Move back to ConvolutionBackpropDataLayerTest name. (#6944) 2021-08-11 06:25:02 +03:00
e6a4803b74 doc: fix Docker install guide (#7004)
* doc: fix 58710 issue (#6911)

* doc: refactor docker install guide (#6988)

* doc: refactor docker install guide

* doc: refactor docker install guide windows

* Update installing-openvino-docker-linux.md

* Update installing-openvino-docker-windows.md

Co-authored-by: Andrey Zaytsev <andrey.zaytsev@intel.com>

* doc fixes (#6438)

* doc fixes

* doc fix

* doc fix

Co-authored-by: Andrey Zaytsev <andrey.zaytsev@intel.com>
Co-authored-by: Nikolay Tyukaev <nikolay.tyukaev@intel.com>
2021-08-10 23:03:26 +03:00
Andrew Kwangwoong ParkandTaylor Lee 28f708c991 [GPU] Add optimized cldnn detection output GPU implementation (#6634)
Co-authored-by: Taylor Lee <taylor.lee@intel.com>
2021-08-10 14:53:09 +03:00
Dmitrii KhurtinandElizaveta Lobanova 4835896582 Convolution to matmul (#6803)
* [GNA] Remove transposes around MatMul

* Added tests for transformation HandleTransposesAroundMatMul

* Move IsTransposeSupported function to GNA limitations file

* Correct transpose insertion tests

* added TransposeAfterMatmul tests and moved InsertTransposeBeforeMatmul tests to handle_transposes_around_matmul.cpp

* added inifitiry loop checker and memory concat test

* fixed build errors

* changed the conditions for selecting an input of Concat for ScaleFactor calculation when entering an infinite loop

* fixed after review

Co-authored-by: Elizaveta Lobanova <elizaveta.lobanova@intel.com>
2021-08-10 14:08:17 +03:00
Evgeny Kotov cc76d38920 remove InsertIdentityToLSTMCellPass and fix InsertIdentity (#6962)
* check is node final non-functional for grouping; remove InsertIdentityToLSTMCellPass

* code style fix
2021-08-10 13:39:16 +03:00
Maksim Kutakov 7c82ad78ee [CPU] Add reorder if the constant memory is not aligned, and isa is SSE (#6912) 2021-08-10 11:58:57 +03:00
Ilya Churaev e3fa6544f2 Enable IE clang format (#6938)
* Add clang-format config files for IE and include files

* Fixed IE core clang-format

* Added clang-format for plugin API

* Fixed style for plugin API

* Fixed code style

* Fixed build

* Added proposed values

* Fixed code style

* Updated config

* Fixed # for define

* Fixed comment and build

* Removed clang-config for include, fixed include for library headers

* Set column limit to 120 and space before CtorInitializedColon=true

* Fixed headers

* Added support of FOREACH_CHILD

* Fixed parameter print style

* Fixed code style

* Fixed target name

* Restore comments style for public API

* Fixed plugin API

* Applied code style

* Fixed CI
2021-08-10 11:15:08 +03:00