Commit Graph

4914 Commits

Author SHA1 Message Date
Dawid Kożykowski
3081fac758
Unify SLTs classes of Convert and ConvertLike operations (#7129)
* update comparisiofiles to use const ref param

* introduce conversion layer test definitions

* adapt old tests to the new format

* remove old duplicated conversion tests

* fix "convertion" typo to "conversion"

* fix style issues and abandon unnecessary changes

* fix include order

* update remaining conversion tests to use introduced class

* fix gpu class test naming

* bring back convert.hpp and convert_like.hpp files

* bring back convert.hppcppd convert_like.cpp files

* bring back single_layer_tests/convert.hpp file

* add missing copyright info

* fix issue with braces initiator for conversion types

* add missing convert_like tests

* add deprecated code macros

* update deprecated code macro message

* add missing space in deprecated code macro message

* update skip ConvertLike tests ticket

* update deprecated code to  use IE macros

* update remaining ngraph_deprecated macros to use IE macros
2021-09-01 14:19:38 +03:00
Evgenya Stepyreva
8550579b60
Signature dumping while reshaping (#7316) 2021-09-01 12:50:18 +03:00
Gabriele Galiero Casay
70e6565619
Refactor backend test suite of Reduction ops into template plugin tests (#6930)
* Refactor visitor test of reduce operations to include operation name

* Add template plugin tests for reduction operations

* Remove backent unit tests of reduction operations

* Use Tensor utility to instantiate tests

* Use std::for_each instead of raw for loop to produce test case instances

* Cover remaining backend tests in manifest by SLTs cases

* Fix regex to skip cpu test failing in centos build with precision u64
2021-09-01 11:22:46 +03:00
Sergey Lyalin
bfae017cf2
Dynamic plugin reshape blob (#6969)
* Added nGraph as a public dependency

* Fixed Windows warning

* Fixed CMake

* Fixed constant op

* Fixed typo

* Added reshape to PartialShape to CNNNetwork

* Added SetShape to InferRequest

* Enable support of DynamicShape in IE Data

* Add support of dynamic shapes to template plugin

* Fixed build

* Enable support dynamic rank

* Fixed test for dynamic rank

* Fixed some tests

* Fix preprocess tests

* Fixed SetBlob

* Fixed code style

* Add more tests

* Fixed accuracy tests

* Fixed documentation

* Added tests for custom operation

* Added new tests

* WIP: move setShape from infer request to Blob

* Returned isApplicable check back

* Removed obsolete tests for InferRequest::SetShape and add new test for Blob::setShape (a trivial one)

* Fixed artifacts

* Break code style

* Revert "Break code style"

This reverts commit 71ee638cd0.

* Added -j8 for fix_all

* Applied code style fixes

* Adde doxygen items

* Fixed style

* Applied codestyle patch

* Reverted unrelevant commit with template extension

* Fixed cmake file for shared func tests (pick from master)

* Revert all changes in template_extension

* Deleted some old stuff that commented and won't be used

* Fixed wrong exception throwing

* Code style fix

* Fixed preprocessing part

* Fixed incorrect blob reshape in GetBlob

* Deleted incorrect assert in GAPI that prevents passing some tests in Debug

* Fixed issues identified during review

* Removed SetShape, replace getLayoutByDims by getLayoutByRank and removed problematic modification from IE preprocessing

* Fixed comments

* Removed obsolete setShape

* [VPU] Fixed allocating dynamic blobs in myriad_infer_request

* Fixed comments

* Fixed CNNNgraphImpl and comments

Co-authored-by: Ilya Churaev <ilya.churaev@intel.com>
Co-authored-by: Polina <polina.brzezinskaya@intel.com>
2021-09-01 10:59:42 +03:00
Ilya Churaev
26eea3d9b9
Removed template functions from legacy headers (#7280) 2021-09-01 10:58:51 +03:00
Edward Shogulin
b7deb11d6a
[LPT] Legacy restrictions removal: dequantization operations (#6974)
* [LPT] Legacy restrictions removal: dequantization operations

* [LPT] not used tests removal
2021-09-01 09:59:29 +03:00
Ilya Churaev
2b1637f28d
Deprecate nGraph API to don't include it to public API (#7171)
* Deprecate stopwatch

* Deprecate some utils

* Deprecate versions

* Moved slice_plan from the top level

* Fixed build

* Deprecate more old structures

* Fixed linux build
2021-09-01 08:17:11 +03:00
Denis Orlov
e6482037aa
[GNA] Include documentation for GNA3 QoS (#7046) (#7302)
* [GNA] Include documentation for GNA3 QoS

* Fix according to review

* Fix the driver version
2021-08-31 19:50:27 +03:00
Vladimir Paramuzov
781c1aecff
Revert "[GPU] Fixed default device id (#7155)" (#7308)
This reverts commit b235f5e452.
2021-08-31 18:45:56 +03:00
Roman Kazantsev
494aaef6ae
Suppress obsolete MO parameters (#7276)
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
2021-08-31 15:43:38 +03:00
Vladislav Golubev
82442c8324
[LPT] SubMulToMulAdd transformation: naming fix (#7195)
* [LPT] SubMulToMulAddTransformation: naming fix

* [LPT] Refactoring and legacy code removed

* [TESTS] SubMulToMulAdd: added check on unique friendly names
2021-08-31 13:50:54 +03:00
Evgeny Kotov
1eea4a5e0b
Unroll Tensor Iterator using ngraph pass (#7205)
* use ngraph-based unroll-ti as default

* use isNgraphPassesUsed for legacy code

* code review fixes

* code review fixes
2021-08-31 11:03:11 +03:00
Vladimir Paramuzov
b235f5e452
[GPU] Fixed default device id (#7155) 2021-08-30 18:47:57 +03:00
Bartosz Lesniewski
4a9ac22787
Revise ScatterElementsUpdate Op (#7162)
* Use ngraph rtti macros

* Add visitor test

* Add SSLT

* Add hardcoded refs tests for ScatterElementsUpdate

* Add ScatterElementsUpdate to trusted ops list

* Add i16 case to backend tests

* Add typed testcase generation, check for all supported types

* Remove redundant parameters from generateScatterParams
2021-08-30 13:47:30 +03:00
Karol Trzciński
4622f2f15d
IE: Fix Windows compilation on MSVC (#7206)
`Win32` may be undefined when MSVC is used, see:
https://docs.microsoft.com/en-us/cpp/preprocessor/predefined-macros?redirectedfrom=MSDN&view=msvc-160

Signed-off-by: Karol Trzcinski <karolx.trzcinski@intel.com>
2021-08-30 10:26:59 +03:00
Ilya Churaev
6cdd76f7d4
Moved ngraph::Node to ov namespace (#7240)
* Moved ngraph::Node to ov namespace

* Fixed code style

* Fixed VPU

* Fixed GNA

* Fixed tests

* Added aliases for backward compatibility

* Fix clDNN

* Try to fix build

* Fixed comment

* Renamed RTTI macros
2021-08-30 06:20:22 +03:00
Mateusz Bencer
4a07a0baae
Use ONNX FE instead of ONNX Reader leftovers (#7252) 2021-08-28 14:48:54 +03:00
Mikhail Ryzhov
d0f49fe0c8
[GNA] Fixed export/import precisions (#6273) 2021-08-27 14:19:18 +03:00
Dmitry Kurtaev
148bdf638e
[Docs] CPU_BIND_THREADS -> CPU_BIND_THREAD (#7079)
* [Docs] CPU_BIND_THREADS -> CPU_BIND_THREAD

* Update docs/optimization_guide/dldt_optimization_guide.md

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

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>
2021-08-27 11:18:48 +03:00
Jan Iwaszkiewicz
a81164e1cb
Specialized exception if ONNX model is unsupported (#7234)
* Add tests

* Add new error throw
2021-08-27 11:05:51 +03:00
Piotr Szmelczynski
81c8cd711b
Revise logical not (#6942)
* update spec

* remove backend tests and create op_reference test

* add logicalNot to constants

* add NGRAPH CHECK for number of inputs and outputs

* create type_prop tests

* create visitor test

* add type_op and visitor tests to CMakeLists

* remove backend test from CMakeList

* update T to T_BOOL

* update outputs part in spec

* fix type in the spec

* fixed conflicts in CMakeList

* update ReferenceLogicalLayerTest to also work with unary logical operator

* update logical_not op_reference test to use ReferenceLogicalLayerTest

* fix style

* fix style

* resolve conflict

* resolve conflict

* remove typo

* fix style

* Update ReferenceLogicalLayerTest class tto take input as a vector

* Create makeLogical function that takes ParameterVector as parameter

* update op_reference logical tests to take input as a vector

* Replace elem_type with input.type

* update getTestCaseName method
2021-08-27 06:55:19 +03:00
Anton Voronov
4ef700c6e4
[CPU] fixed convolution outputShape in ConvDWConv fusing (#7239) 2021-08-26 13:38:24 +03:00
Elizaveta Lobanova
9ee57fe233
[GNA] Fixed search of the next layer for FQ (#7243) 2021-08-26 12:56:39 +03:00
Mateusz Bencer
0e521a1e22
Use ONNX Frontend instead of ONNX Reader (#7031)
* added get_name

* add support to supported_impl

* remove debug code

* review remarks

* changed name to onnx_experimental

* fixed test

* revert onnx_experimental name

* integrate reader and fe api

* add unit tests

* removed prototxt from model_validator

* reader refactor

* add supress

* Update inference-engine/src/readers/onnx_reader/ie_onnx_reader.cpp

Co-authored-by: Tomasz Dołbniak <tomasz.dolbniak@intel.com>

* fix segfaults

* removed onnx reader

* handle istringstream

* wstring support

* removed saving path

* styles applied

* changed name to onnx experimental

* Apply suggestions from code review

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

* skip onnx_experimental frontend in mo.py

* add support of wstring paths

* fix wstring ctor of InputModelONNX

* added NGRAPH_SUPPRESS

* make one instance of manager

* change onnx_experimental name to onnx

* creation frontend manager refactor

Co-authored-by: Tomasz Dołbniak <tomasz.dolbniak@intel.com>
Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>
2021-08-26 11:50:53 +03:00
Tomasz Jankowski
e1226cc814
[ONNX] Gather 8 (#7185) 2021-08-26 10:08:22 +02:00
Ilya Churaev
0bc991d895
Moved AxisSet, AxisVector, Coordinate, CoordinateDiff to ov (#7237) 2021-08-26 06:45:07 +03:00
Nikita Semaev
4a468acd2c
[IE TESTS] Max ulong (#6389)
* Hiding the problem, Validate() changes 'function'

* Adding code to track changes

* Report result

* Added operation logging

* Cancelled the change of the function variable value that causes the bug in the report

* Removed logging of each operation to a file

* Debugging code removed

* Moved debugging under the macros

* Reports from commit were deleted

* Delete part_report.txt

* Delete report.xml

* Removed debug code

* Correcting the use of unnecessary actions to accomplish these tasks

* The name of the function to compile the debug report has changed to saveDebugReport
2021-08-25 21:48:24 +03:00
Elizaveta Lobanova
d27161703d
[GNA] Fixed calculation of input scale factor for POT-quantized model in the case if the first layer after input is activation (#7223) 2021-08-25 18:50:42 +03:00
Anton Pankratv
6750b8c336
Created Remote context c++ API (#7114) 2021-08-25 18:16:41 +03:00
Anton Pankratv
788fcf2e1b
Changed internal GetExecGraph API (#7189) 2021-08-25 18:13:32 +03:00
Alexander Shchepetov
0926ec4e82
Run layer tests in pre-commit CI validation on Azure (#6537)
* add layer test to azure ci

* Add pythonpath var, change pytest call method

* add mo root to pythonpath

* install mo requirements

* split requirements install cmd

* add --ir_version cmd parameter

* Change Add layer test ro Roll layer test

* resolve conversations

* Reduction in accordance with recent changes

* set environment variables in setupvars.sh

* fix layer tests target dir

* fix PYTHONPATH for layer tests

* .

* set layer tests env variables in setup.sh script

* changes according to layer_tests ci changes

* change layer_tests source to tests_pkg

* Update setupvars.sh

* Update linux.yml

* Add cmake build and install for layer tests

* Update linux.yml

* Update linux.yml

* Update linux.yml

* Update linux.yml

* Update linux.yml

* Update linux.yml

* Update linux.yml

* Update linux.yml

* Update linux.yml

* Update linux.yml

* Update linux.yml

* Update linux.yml

* Remove MO_ROOT from PYTHONPATH
2021-08-25 18:09:58 +03:00
Gleb Kazantaev
dec93bb2f1
IR FrontEnd (#7152)
* IR FronteEnd

* Codestyle fix

* Fix typo

* Fix cmake

* Fix build

* Cleanup includes

* Fix build

* Cleanup

* use ie_option
2021-08-25 18:04:12 +03:00
Ilya Churaev
0a4781f344
Moved ngraph::ngraph_error to ov::Exception (#7235) 2021-08-25 16:54:48 +03:00
Alexey Lebedev
48c7247a91
[IE PYTHON] remove useless variables (#7229)
* Remove ie_core_impl from Executable Network

* remove to_std_string function

* Remove some variables in Blob constructor
2021-08-25 15:03:11 +03:00
Irina Efode
841c3531fb
[IE TESTS] Behavior2.0 -> InferRequest() (#6559)
* Need to remove

* Preprocessing + InferRequest

* infer_request_callback

* tmp commit

* InferRequest

* tst

* tetet

* Fix template

* SetBlobType

* InferRequest Conformance

* Add prc

* Remove prc

* Fix paths

* commit

* Fixes for review

* Dynamic Batch

* fix

* fiz

* Try

* fkf

* Fix azure

* Centos

* skip

* conformance fix

* fix template

* Small fix

* small fix in print

* Fixes
2021-08-25 14:43:19 +03:00
Mateusz Tabaka
8e476c5fed
StridesPropagation - retain original padding when setting Convolution strides (#6943)
When propagating strides to Convolution node, make sure that setting strides
does not change padding in cases when auto_pad is not EXPLICIT.
When padding type is not EXPLICIT, strides make a role in paddings calculation.
Changes in paddings, result in change in an image position that filter is applied,
so we may end up with unwanted results after that.
2021-08-25 12:07:00 +02:00
Mikhail Ryzhov
158b630354
[Samples] Enabled oname for imported models (#7227) 2021-08-25 12:57:44 +03:00
Michał Karzyński
059870a3a0
Update ONNX to version 1.10 (#7186) 2021-08-25 11:37:44 +02:00
Ilya Sharikov
ac6c58f03a
Updated inter_tool due to IE api was updated (#7217) 2021-08-25 11:49:42 +03:00
Piotr Szmelczynski
ac53316f49
Revise greater equal (#7111)
* update spec

* create op_reference test

* add greateEqual to constants.py

* add ngraph_check for number of inputs and outputs

* add include

* fix style

* add information about broadcast in examples in spec

* Remove redundant reegistration of a new test class

* Remove visit_attributes method

* update outputs part in Greater and GreaterEqual spec

* fix typos in spec
2021-08-25 11:35:58 +03:00
Katarzyna Mitrus
622d177c62
FusedOp class removal (#7156)
* Remove fused_op.hpp includes

* Remove fused_op.cpp and .hpp

* Remove support decompose util

* Remove fused_op.in.cpp from tests CMakeLists

* Remove fused_op.in.cpp

* Remove supports_decompose from op_types.hpp
2021-08-25 11:06:32 +03:00
Ilya Churaev
fc32769175
Moved Input/Output/Tensor descriptors to ov (#7219)
* Moved Input/Output/Tensor descriptors to ov

* Fixed build
2021-08-25 10:08:16 +03:00
Sungeun Kim
1829fc5b8b
[GPU] Optimized ocl nms implementation (#5411) 2021-08-25 09:50:21 +03:00
Evgeny Lazarev
0587569369
Enable TensorFlow Min operation (#7144)
* Added extractor for the TF operation Min (reduce min)

* Added unit tests for the TF Reduce ops
2021-08-25 09:42:24 +03:00
Aleksandr Pertovsky
3ff6051f55
[CPU] Disable inplace concat if any parent is constant (#7060) 2021-08-25 08:40:55 +03:00
Ilya Churaev
4297253589
Moved attribute_adapter, attribute_visitor files to ov namespave (#7179)
* Fixed nGraph build

* Fixed nGraph unit tests

* Fixed func tests

* Fix some operators

* Fixed build

* Try to fix specialization in different namespace

* Try to fix build

* Fixed element_type
2021-08-25 07:13:01 +03:00
Gabriele Galiero Casay
4d56803ce7
Revise ReverseSequence reference implementation (#7117)
* ReverseSequence ngraph op shell revision with type_prop tests

* Add attribute count check in visitor test

* Refactor backend tests to template plugin test with reference values

* Rename cpu SLT instances

* Add op to list of trusted operations

* Rewrite validation check for input type due to backward compatibility

* Reference implementation speed up by replacing index function call of CoordinateTransform by precalculated strides
2021-08-25 07:09:41 +03:00
mei, yang
192cb26c5b
remove adaptive pool2d shape check in ngraph paddle frontend (#7074)
* remove adaptive pool2d shape check in ngraph paddle frontend

* add ngraph paddle frontend dynamic pool2d test
2021-08-25 06:39:59 +03:00
Michał Karzyński
9228200ce5
Add support for ONNX RandomUniform and RandomUniformLike ops (#7190) 2021-08-24 16:36:30 +02:00
iliya mironov
80c5f1a325
Add support opset11 for gemm normalizer (#6733)
* Add support opset11 for gemm normolizer

* Add layer test for gemm opset 11

* Fix layer test

* Fix layer test

* Refactoring according to code review

* Fix

* Update biases norm

* Refactoring matmul norm

* Fix accoding to review

* Fix alpha parameter

* Fix variable naming

* Refactoring according to code review
2021-08-24 15:43:19 +03:00