Commit Graph

4404 Commits

Author SHA1 Message Date
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
Mateusz Bencer
9be53225f0
Add support for is_equal_data, get_source_tensor, get_target_tensor methods in ONNX FE API (#6991) 2021-08-17 13:14:11 +02:00
mei, yang
74dd61b3b3
add document Convert_Model_From_Paddle.md (#6976)
* add document Convert_Model_From_Paddle.md

* To fix syntax error in Convert_Model_From_Paddle.md

* Apply suggestions from code review

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>
2021-08-17 09:29:27 +03:00
Edward Shogulin
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
Ilya Sharikov
85b85cf259
Added install for sea_itt_lib (#7039)
* Added install for sea_itt_lib

* Updated install
2021-08-17 06:42:01 +03:00
Kate Generalova
56bb84f0b2
fix mo module version check (#7041)
* fix mo module version check

* add one more version check
2021-08-16 21:22:40 +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
Ilya Churaev
05c632e072
Deprecated graph utils (#7077) 2021-08-16 18:36:48 +03:00
Alexander Zhogov
e0ba6e0e6d
Azure CI: Remove IB on Windows CC (#7094) 2021-08-16 17:32:59 +03:00
Alexander Zhogov
1aca3019ec
Azure CI: Remove IncrediBuild on Windows (#7085)
* Azure CI: Remove IncrediBuild on Windows

* Fix ninja path
2021-08-16 16:40:55 +03:00
Dawid Kożykowski
751f6c304a
Update spec for LogicalXor operation (#6913)
* update markdown file for logical xor operator

* update information on broadcasting

* update xor spec to match other logical ops specs
2021-08-16 14:59:49 +03:00
Anton Pankratv
e01dc67b6e
[CPU] Added tbb executor (#557) 2021-08-16 12:04:33 +03:00
Ilya Lavrenov
b7f29a467c
Removed Protobuf_lite CI (#7066) 2021-08-16 07:45:03 +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
Eugeny Volosenkov
e13ac4d9ac
If. nGraph implementation + reference (#6777)
* Add If implementation with reference

* fix test

* fix comments

* Fix validate_and_INFER_TYPES

* rewrite tests for dynamic cases

* Fix ci failed

* add comentaries for validate_and_infer_types

* fix api

* Added ngraph checks and delete copied op from opset8

* code style fix

* fix code style

* add checkers to reference

* add has_evaluate

* fix eval

* Fix code style

* fix code style
2021-08-13 20:28:04 +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
Ilya Churaev
33b4c69215
Try to enable deprecation warnings for Windows (#7051)
* Try to enable deprecation warnings for Windows

* Changed macro

* Fixed build
2021-08-13 16:42:03 +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
Katarzyna Mitrus
30914f76ca
CumSum ng op shell revision (#6990)
* Validate and infer types cleanup

* Fix clone with new inputs for default

* Add initial values for bool attrs

* Remove old style spec from the cum_sum.hpp

* Add expected attr count to cum_sum visitor tests

* Add visitor test with no axis input

* Remove redundant headers form visitor tests

* Add CumSum type prop tests

* Add input size check to type prop tests

* Update code style
2021-08-13 15:50:07 +03:00
Xie Zhengtian
79290a7dc0
[Doc] Add doc for Auto-Device Plugin 2021.4 (#5982)
* [Doc] Add doc for Auto-Device Plugin 2021.4 (#6190)

* Add doc for Auto-Device Plugin

Signed-off-by: Zhengtian Xie <zhengtian.xie@intel.com>

* Update doc for auto-device plugin

Signed-off-by: Zhengtian Xie <zhengtian.xie@intel.com>

* Update auto-device plugin doc

* Add openvino_docs_IE_DG_supported_plugins_AUTO into web page

Signed-off-by: Zhengtian Xie <zhengtian.xie@intel.com>

* Update AUTO.md

Co-authored-by: Maxim Shevtsov <maxim.y.shevtsov@intel.com>
2021-08-13 14:23:44 +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
Kate Generalova
f324ca7fcd
update configuration mgmt owner files (#7052) 2021-08-13 11:48:28 +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
Ilya Churaev
39131968c9
Changed nGraph code style to Google (#6926)
* Changed clang-format

* Fixed code style for tests

* Fixed build

* Fixed code style
2021-08-13 05:28:28 +03:00
Dawid Kożykowski
273c7188a4
Beautify operator specifications (#6958)
* beautify operator specifications

* further update ops specs

* update FloorMod spec

* update adaptive pool spec

* update HSwish spec

* bringg back old erf version
2021-08-12 13:11:30 +03:00
Anastasia Popova
f26ecdd53f
Corrected formulas rendering. (#6986) 2021-08-12 13:08:43 +03:00
Ilya Lavrenov
7f0b8698c6
Enabled NCC check for frontends (#7033)
* Try to enable NCC for onnx_ngraph_frontend

* naming style for PDPD

* Enabled PDPD ncc
2021-08-12 12:25:30 +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
Andrey Zaytsev
26936d1fbb
Feature/azaytsev/docs fix layout (#7034)
* 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

* Updated the link to software license agreements

* Revert "Updated the link to software license agreements"

This reverts commit 706dac500e.

* Fixed layout

Co-authored-by: Trawinski, Dariusz <dariusz.trawinski@intel.com>
2021-08-11 22:07:55 +03:00
Mateusz Tabaka
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
99f9a90ca5
Fix code style artifacts (#6997)
* Fixed artifacts

* Break code style

* Revert "Break code style"

This reverts commit 71ee638cd0.

* Added -j8 for fix_all
2021-08-11 16:15:53 +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
Patryk Elszkowski
51d511c8ac
remove v0 namespace from reference implementation of fake quantize. (#6977)
* remove `v0` namespace from reference implementation of fake quantize.

* fix ngraph check message
2021-08-11 13:06:25 +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
ff500b0bed
Fixed documentation code style (#7008) 2021-08-11 09:38:43 +03:00