Commit Graph

4497 Commits

Author SHA1 Message Date
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
Anton Chetverikov
f8e90f0c56
[MO] Add transformation for single CTCGreedyDecoder operation (#7023)
* Add transformation for single CTCGreedyDecoder operation

* Fix style in op specification

* Update transformation logic

* refactor old tests and add tests for new transformation

* Move tf specific front transformations to tf folder

* Update transformation logic and comments

* Add run_after function and update comments

* Add output_sparse_format attribute to extractor

* Update transformation conditions and tests

* Fix incorrect comment

* Move sparse_to_dense_replacer to front/tf folder to fix problems with class registration

* Update import

* Update output ports handling in transformation

* Update test

* Fix BOM file

* Update pattern for ctcloss transformation

* Fix and refactor tests for ctcloss transform

* Update transformation conditions
2021-08-24 15:42:27 +03:00
Polina Brzezinskaya
83e1359c9e
[VPU] Added ConvertGather7ToGather1 pass to frontend (#7183)
This pr adds ConvertGather7ToGather1 pass to frontend before MergeGatherGatherElements pass, to make it so that when MergeGatherGatherElements is ran, any v7::Gather will be replaced with v1::Gather
2021-08-24 13:43:08 +03:00
Yegor Kruglov
14dcd43c32
[MO] Replacing StridedSlice with Squeeze/Unsqueeze (#6693)
* added reinterp_shape parameter to tf ss extractor

* removed reinterp_shape

* added transformation to replace ss

* updated bom

* fix for e2e tests

* updated a case when shrink_axis_mask and new_axis_mask are both initialized

* unittests

* added comments

* updated graph_condition

* comments resolving

* updated the case, when shrink_axis_mask and new_axis_mask are both initialized

* added layer tests for squeeze/unsqueeze cases

* remove case when shrink and new axis masks are both set
2021-08-24 13:19:40 +03:00
Nikolay Shchegolev
de46168e98
[CPU] Avoid inserting additional transpose + reorder after RNN node. (#5921) 2021-08-24 12:28:23 +03:00
Aleksandr Pertovsky
c69425a96a
[CPU] Fix not expected No-Preprocess Exception with RGB to BGR conversion (#6954) 2021-08-24 10:58:10 +03:00
Ivan Novoselov
48460d3efb
[CPU] Enable direct copy implementation for u8->u8 reorder. (#7043) 2021-08-24 10:50:07 +03:00
Dmitrii Khurtin
194ae3495e
[GNA] For similar records, the pattern length was increased to 4 in the algorithm for determining infinite cycles. (#7165)
* for similar records, the pattern length was increased to 4

* Added comments
2021-08-24 10:30:47 +03:00
Alexandra Sidorova
e697d85afb
[CPU] Removed eltwise overhead on execution stage (#6760) 2021-08-24 09:44:25 +03:00
Anton Pankratv
ed6624c489
Added openvino infer request API (#7151) 2021-08-24 07:14:11 +03:00
Victor Kuznetsov
1f4664162a
install necessary dirs for tests (#7044)
* install necessary dirs to tests

* rem RUNTIME from install step

* fix paths

* fix install paths

* fix install paths: add destination dirs

* add pandas

* fix requirements conflict - change pytest version to ~5

* remove comment from requirements.txt

* upd numpy version
2021-08-24 00:39:12 +03:00
Svetlana Dolinina
70e0b7817f
Nested loop (#6710)
* initial changes to support nested loop

* fixed issues

* fixed nested loop extraction

* added comments

* removed unneeded comments

* review fix

* added tests

* turned off loop tests on GPU

* set xfail for TF tests

* removed TF test to move it in another repo

* fix typo in comment

* move duplicated code to separate functions;
added asserts

* add function for onnx constant creation;
add function to create body of loop
add comments to test

* move main change for nested loop to separate function
2021-08-23 23:11:39 +03:00
Pavel Esir
2d75c7a894
[nG] [IE] use GatherBase in negative indices resolver (#7145)
* updated pattern matcher into GatherBase in negative indices resolver, so that it is triggered in all versions of operation

* copy_runtime_info fix

* added constant folding
2021-08-23 18:39:00 +03:00
Pavel Esir
29193982d4
[IE] Convert to unsigned NMS:0 ->Gather path (#6474)
* inserted Convert to unsigned

* moved declarations from hpp into cpp, specification corrected

* added static const modifier

* updated convert specification

* minor corrections

* split into 3 passes(Init, Propogate, Update), renamed final pass to ConvertNmsGatherPathToUnsigned

* added description why transformation is needed

* added matcher for several NMS versions, removed TRANSFORMATIONS_API macros from cpp

* applied comments:
- used GraphRewrite instead of FunctionPass
- simplified some expressions
- corrected case when Converts output goes to multiple nodes
- added to MOC transformations
- other minor corrections

* removed redundant namespace prefixes

* fixed #include <ngraph/pass/graph_rewrite.hpp>

* removed matcher_scope, debug code, and redundant dynamic_cast
2021-08-23 18:35:37 +03:00
Evgeny Kotov
b18d0105a1
add ngraph::pass::LSTMCellDecomposition as mandatory (#7028)
* add ngraph::pass::LSTMCellDecomposition as mandatory

* move LSTMCellDecomposition just after CommonOptimizations before all convert opset transformations

* code review fixes: add flag that prevents some legacy transformations if their ngraph-based analogues were executed

* remove isNgraphPassesUsed from  ModelQuantizer

* cleanups
2021-08-23 17:07:04 +03:00
Gabriele Galiero Casay
8d4e850356
Fix op category section in operations spec (#7130) 2021-08-23 13:12:46 +03:00
Mikhail Letavin
f00a1f3141
[GPU] Fixes for correct MultiDevice plugin and inference request behavior (#7161) 2021-08-23 11:44:51 +03:00
Katarzyna Mitrus
745c8933bc
Fix v0::MVN default constructor (#7175) 2021-08-23 11:00:35 +03:00