Commit Graph

4552 Commits

Author SHA1 Message Date
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
Steve Yoo
18476fe1b9 Merge remote-tracking branch 'upstream/master' 2021-08-23 09:48:34 +09: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
Anastasiia Urlapova
e1201e8bfe
CVS-56144 Enable all OMZ scope (#7084) 2021-08-20 11:00:03 +03:00
Vladislav Golubev
78dea9a7d6
[LPT] MarkupCanBeQuantized: handled unsupported concat (#7045)
* [LPT] MarkupCanBeQuantized: added check on unsupported concat

* [LPT] ConcatTransformation: added test-case with unsupported concat and convolution

* [LPT] added test on rtInfo check for unsupported concat

* [LPT] ConcatTransformation: added test-case with unsupported axis to plugin tests
2021-08-20 09:58:56 +03:00
Katarzyna Mitrus
551b17db81
CumSum reference implementation revision (#6915)
* New CumSum implementation init

* Unified ndim approach

* Move transpose to separate function

* Move transpose to original to separate function

* Move slice_count calculation to function

* Negative axes support

* Refactor redundant copy

* Changed copy to move

* Temp more backend tests

* Add const to shape arg

* Use span for slices calculation

* Remove unused headers

* CumSum new ref tests

* Add more ref tests

* Add all cumsum modes ref tests

* new optimized cum_sum reference

* Add reverse mode

* Optimized cumsum ref

* Remove deprecated cumsum backend tests

* Add more CumSum reference tests

* Simplify CumSum shared layer tests SetUp

* Replace auto to size_t in loop

* Change static_cast to T{}
2021-08-20 09:50:09 +03:00
Steve Yoo
e92f5928dc Merge remote-tracking branch 'upstream/master' 2021-08-20 14:40:00 +09:00
Steve Yoo
ef937a5a52 Merge remote-tracking branch 'upstream/master' 2021-08-20 13:32:53 +09:00
Anton Pankratv
2fefe1164d
Added common.hpp file with aliases (#7158) 2021-08-20 07:17:56 +03:00
Katarzyna Mitrus
7aeec6ffe4
CumSum spec revision (#6966)
* Update detailed description

* Update exclusive attribute description

* Update Inputs/Outpu description

* Update types

* Update descriptions

* Update data input rank info
2021-08-20 06:55:13 +03:00
Bartosz Lesniewski
df17cba68f
Enable PriorBoxClustered tests (#7078) 2021-08-20 06:54:12 +03:00
Bartosz Lesniewski
9c5e7654d9
Revise CTCLoss OP (#6953)
* Add visitor test to CTCLoss

* Add CTC Loss SSLT

* Add CTC Loss template tests

* Use ngraph rtti macros

* Code style fix
2021-08-20 06:53:37 +03:00
Ilya Churaev
334bf9d227
Moved DiscreteTypeInfo to ov namespace (#7127)
* Moved DiscreteTypeInfo to new opset

* Revert old header

* Fixed code style
2021-08-20 06:42:15 +03:00
Nikita Semaev
184b3cbe42
Review/update spec for NotEqual operation (#6797)
* Hiding the problem, Validate() changes 'function'

* Review/update spec for NotEqual operation

* Remove unnecessary edits not related to the ticket

* Removing the extra word binary for the short description

* Re-writing detailed description

* Correcting punctuation docs/ops/comparison/NotEqual_1.md

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

* Specifying auto_broadcast in the short description is similar to Equal spec

* The range of values for auto_brodcast is similar to Equal spec and includes the missing pdpd

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>
2021-08-19 21:54:18 +03:00
Michał Karzyński
b8445401bc
Add support for ONNX Crop operator (#6956) 2021-08-19 15:51:03 +00:00
Gleb Kazantaev
06d212ad83
Enable NormalizeL2Fusion and LeakyReluFusion inside MOC (#7096)
* Enable NormalizeL2Fusion inside MOC

* Fix NormalizewL2 decomposition (KeepDims=True)
2021-08-19 17:24:41 +03:00
Ilya Churaev
e46f6ce573
Moved DEPRECATION macro and ITT domains to ov namespace (#7153)
* Moved DEPRECATION macro and ITT domains to ov namespace

* Fixed code style
2021-08-19 13:28:45 +03:00
Olesya Martinyuk
133b3b6468
Remove local configs and it's copying to bin/ for stress tests (#7131) 2021-08-19 12:57:47 +03:00
Liu Bo
26c96a44cc
add doc:'Paddle_Support.md' (#7122)
* add doc:'Paddle_Support.md'

* Apply suggestions from code review

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

* Apply suggestions from code review

* Update docs/IE_DG/Paddle_Support.md

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

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>
2021-08-19 12:55:27 +03:00