Commit Graph

4788 Commits

Author SHA1 Message Date
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
Andrew Kwangwoong Park
5a564197a7
[GPU] Fix clBuildProgram failure with ssd_mobilnet_v1_coco and batch=256 (#7121) 2021-08-23 10:08:03 +03:00
Maksim Shabunin
5da224abc4
Fixed ngraph_onnx_importer compatibility target creation for older cmake (3.10) (#7176) 2021-08-23 09:46:11 +03:00
Vladislav Golubev
55bf88473a
[CPU][TESTS][LPT] MatMulTransformations test-cases removed from skip config (#7181) 2021-08-23 08:59:54 +03:00
Pavel Esir
f77d838e6c
[MO] turn on MarkSubGraphsWithCorrectLayout for TF NCHW (#7150)
* turned on MarkingSubgraphsWithCorrectLayout for TF NCHW

* restricted MarkSubgraphsWithCorrectLayout.py only to TF

* added comments why need to MarkSubgraphsWithCorrectLayout even for TF NCHW models
2021-08-20 18:47:45 +03:00
Anastasia Popova
ef84c90367
Updated list of supported operations. (#6981)
* Updated list of supported layers.

* Removed Crop, softsign from Kaldi list.

* Updated limitations.

* Corrected limitations.

* Updated limitations.

* Added Einsum, corrected Where.

* Apply suggestions from code review

Co-authored-by: Anastasiya Ageeva <anastasiya.ageeva@intel.com>

Co-authored-by: Anastasiya Ageeva <anastasiya.ageeva@intel.com>
2021-08-20 17:03:36 +03:00
Rafal Blaczkowski
600eef24bc
parametrize proxy (#7174) 2021-08-20 12:27:02 +03:00
Olesya Martinyuk
a052b07fe6
MemCheck add INT8 models to pre-commit (#7166)
* updated desktop configs with int8 models

* updated desktop reference configs with actual values

* added commit comments
2021-08-20 12:25:59 +03:00
Gabriele Galiero Casay
211ea3c63c
ReverseSequence specification refactored (#7112)
* ReverseSequence specification refactored

* Change attribute description to avoid confusion

* Allow seq_lenghts input to be of floating-point precision
2021-08-20 11:58:16 +03:00
Alexander Shchepetov
afd49e662a
Install layer tests with CMake (#6892)
* add CMakeLists.txt

* add copyright docstring

* add newline after copyright

* set target name

* change TARGET to DIRECTORY

* Rename layer tests dir to avoid name conflict

* cmakelists.txt final version

* Change destination to tests\layer_tests_openvino

* Add cmake_minimum_required to CMakeLists.txt

* Update CMakeLists.txt
2021-08-20 11:09:42 +03:00