Commit Graph
2617 Commits
Author SHA1 Message Date
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
Vladislav Volkov cc5dba95d4 [CPU] Memory leaks in gemm module (#6989) 2021-08-10 11:03:57 +03:00
Yury Gaydaychuk bf6c34d7b8 [CPU] Interpolate handles inplace child layout (#6250) 2021-08-10 09:46:36 +03:00
Dawid Kożykowski 2a5584791c Revise LogicalOr operation reference implementation (#6867)
* add tests for logical or op

* remove redundant overrides

* add inputs/outputs tensor check

* create type_prop typed test for logical ops

* add new line in logical_or.cpp file

* refactor logical_and type_prop test

* update test labels

* beautify or.hpp file

* fix formatting to match clang-format

* beautifyfunctional test files

* move validate_and_infer_elementwise_logical() implementation to validate_and_infer_types()

* refactor logial or functional test to

* refactor logial aA functional test t

* update constants file

* add file to instantiate TEST_P and avoid test execution duplication

* add missing  empty lies at the end of files

* remove unused variable
2021-08-10 08:38:11 +03:00
Ilya Churaev 565627a416 Add ov::runtime::Core (#6946) 2021-08-10 07:49:37 +03:00
Polina Brzezinskaya 0c8a5d5279 [VPU] Removes MYRIAD specific tools (#6908) 2021-08-09 20:35:03 +03:00
Min, Byungil 9899264d61 Resolve python build issue on Windows (#6517)
Signed-off-by: Min, Byungil <byungil.min@intel.com>
2021-08-09 12:53:29 +03:00
Gleb Kazantaev b11a2220b0 Enable ConstantFolding inside MO Backend (#6916) 2021-08-07 12:40:46 +03:00
Aleksandr Voron 74ac48a297 Update CMakeLists.txt (#6965) 2021-08-06 21:14:44 +03:00
Szymon Irzabek 862176d1d4 [GNA] Add support for strides with dilations and POT fake quantize layers (#6900) 2021-08-06 14:45:11 +03:00
Gabriele Galiero Casay 371fc7aee4 Enable low precision types in ConvertLike operation reference implementation (#6890)
* Enable low precision types for ConvertLike operation

* Migrate backend unit test suite to template plugin reference tests

* Fix typo in naming convention

* Avoid duplication of template plugin tests execution

* Add file to instantiate TEST_P and avoid test execution duplication
2021-08-06 11:19:16 +03:00
Edward Shogulin 43f18da413 [LPT] Legacy compliance restrictions removal all: Reshape (#6870)
* [LPT] Reshape: legacy compliance restrictions removal

* [LPT] comment fixes
2021-08-06 10:27:34 +03:00
Ilya Churaev fc39303677 Moved IE public headers to IE library (#6941)
* Moved IE public headers to IE library

* Fixed documentation

* Fixed fast build

* Fixed doc
2021-08-06 10:05:51 +03:00
Sergey Shlyapnikov f231fbd551 [GPU] Fix invalid memory access in replace_all_usage fucntion (#6906) 2021-08-06 08:40:34 +03:00
Mikhail Ryzhov 89fba123bb [GNA] Added support of FQ layers for outputs (#6905)
* [GNA] Fixed FQ pass for several outputs

* Added tests

* Used the latest opeset8
2021-08-05 22:12:52 +03:00
Edward Shogulin c08bc75766 [LPT] Optimize quantization scheme for SPR/ATS (#6808)
* [LPT] Optimize quantization scheme for SPR/ATS

* [LPT] updatePrecisions = false support
2021-08-05 21:03:03 +03:00
Sergey Shlyapnikov 79e9190838 [GPU] Fix incorrect fusions indexes for eltwise ref kernel (#6936) 2021-08-05 13:40:52 +03:00
Egor Duplensky f584cf9727 [CPU] Update batch limit right after setting it (#6513)
Seem to be more convenient than checking and updating batch limit
in scope of Infer request call.
2021-08-05 08:21:16 +03:00
Yuan Hu a913950039 revise tan op (#6567)
* revise tan op

Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com>

* update doc

add examples in desciption
add the unit of measure
clear input type

Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com>

* add template plugin test case for int type

Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com>

* add template plugin test case for uint and float

remove the float test in backend

Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com>

* modify document

change type to any supported numeric type

Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com>

* fix compile error in openvino-lin

Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com>
2021-08-05 07:48:58 +03:00
Ilya Churaev 031381dc07 Small api changes (#6923)
* Deprecate specialize_function

* Changed RTMap

* Fixed python build
2021-08-04 21:34:11 +03:00