Commit Graph

2508 Commits

Author SHA1 Message Date
Vladimir Paramuzov
a161ac35a0
[IE CLDNN] Disabled eltwise fusion to const node when second input is in data flow (#3993) 2021-01-25 10:34:18 +03:00
Vladimir Paramuzov
32ee3b9ac5
[IE CLDNN] Disabled v3 -> v1 conversion for Broadcast (#3991) 2021-01-25 10:24:53 +03:00
Bartek Szmelczynski
cdb9edddfc
Missing attr seriazliation (#3920)
* add override method for int since attribute keep_top_k from detection_output requires it

* remove if statement to prevent gtest tests duplicate names for avg_pool

* add single layer tests for seriazliation for AvgPool, PriorBoxClustered and DetectionOutput operators

* add apropiate styling of the code
2021-01-25 08:42:22 +03:00
iliya mironov
c083e7fb63
Imironov/ref ngraph ctc gready decoder (#3867)
* Add ctc gready decoder sec len op to ngraph

* Remove some comments

* Add second constructor

* Fix code style

* Fix code style

* Add unit tests

* Add tests to cmake

* Fix according to review

* Fix code style

* fix

* Change input layoyt

* Fix code style

* Add unit tests

* Add 3 input tensor check

* Update shell impl

* Fix code style

* Fix code style

* Add doxy gen

* Fix code style

* Update doxigen

* Update constructor description

* Fix code style

* Refactoring code

* fix code style

* Optimize op constructor

* Add macros. Optimize code for validate_and_infer_types

* Refactoring code

* Fix code style

* Fix code style

* Fix check blanck_index shape

* Fix code style

* Add ref impl

* Fix unit test for dynemic case

* Fix code style

* Fix copyryting

* reverse changes

* Update copyrite

* Add ref implemintation

* rollback

* Fix code style

* Fix code style

* Fix

* Add unit tests

* Refactoring ref impl

* Refactoring code style

* Fix code style

* Fix code style

* fix unit tests

* Refactoring code

* Refactoring code

* Fix code style

* Refactoring unit tests

* Fix style

* Fix style
2021-01-25 08:19:03 +03:00
Gleb Kazantaev
94b2cc1dad
Python API For compare_functions (#3938)
* Added python API for compare_functions

* Fixed compare_funcion constant comparision, graph traversal

* Add tests for python API functions

* Move CompareNetworks to separate python module

* Update python API tests

* Added dev package support

* ENABLE_TESTS

* Update constant comparator

* Fix merge conflict
2021-01-22 23:37:50 +03:00
Vladislav Golubev
2d39555191
ConcatTransformation naming fix (#3965)
* concat naming fix

* [LPT] concat with child and output plugin tests
2021-01-22 23:02:16 +03:00
Nikolay Tyukaev
c3347e1788
delete unwanted doc script (#3960) 2021-01-22 22:17:17 +03:00
Ilya Lavrenov
9cfe909e1e
Unused variables (#3963)
* Added -Wused-variable flag

* Fixes for clang compiler

* Removed wrong -Wno-error from protobuf compilation

* More fixes
2021-01-22 17:41:15 +03:00
Jozef Daniecki
86bf2c2bba
Add missing types in convertIE2nGraphPrc() test util function. (#3957) 2021-01-22 16:29:09 +03:00
Szymon Durawa
49cd55a5cc
Visitor api loop deserialization (#3894)
* Add on_adpater() implementation for special body parts.

* Remove NodeConverter and LayerCreator for Loop. Add WA for different number of inputs during Loop init by constructor and visit_attributes().

* Format files.

* Implement use case external_port_id=-1 for output port_map,change API for map_type_in_function.

* Replace GetStrAttr() with GetInt64Attr().

* Correct WA for input_offset when using visitorAPI. It shall search all input descriptions for duplicated indexes.

* Apply proper file format.

* Throw exception when input_offset < 0.

* Add more detailed description for input_offset WA.
2021-01-22 14:39:38 +03:00
Piotr Szmelczynski
d2ef8bf2f9
Revise reduce mean (#3786)
* Update spec

* create type_prop tests

* add reduce_mean type_prop tests to CMakeList

* Update spec

* fix typo

* Add dynamic type_prop tests

* style fix
2021-01-22 14:21:39 +03:00
Piotr Szmelczynski
e346bdde14
Maxpool fix bug (#3718)
* style-apply

* Update spec

* Remove maxpool back_prop method

* style-apply
2021-01-22 14:19:34 +03:00
Ilya Lavrenov
1044ed4352
Added export / import for Template and Hetero plugins (#3940)
* Added export / import for Template and Hetero plugins

* Added WA for Apple RTTI
2021-01-22 14:17:44 +03:00
Patryk Elszkowski
cce0328947
Cleanup in ngraph_test_utils.hpp/cpp (#3959)
Co-authored-by: Patryk Elszkowski <patryk.elszkowki@intel.com>
2021-01-22 13:02:33 +03:00
Patryk Elszkowski
5993383e31
[BUG] Serialize loses runtime info (#3903)
* rt_info serialization for ngraph::Node

* add test for it info serialization

* try to fix centos build

Co-authored-by: Patryk Elszkowski <patryk.elszkowki@intel.com>
2021-01-22 10:58:51 +03:00
Bartosz Lesniewski
9a5267f47b
Remove ops from Layer Creator/ Node Converter - part 7 (#3961)
* remove result op from layer creator

* remove squareddifference op from layer creator

* remove regionyolo op from layer creator

* fix indentation
2021-01-22 06:15:33 +03:00
Maxim Vafin
71253153ac
Add MVN-6 reference implementation and tests (#3896)
* Add MVN-6 reference implementation and tests

* Return old version reference

* Apply feedback

* Fix build
2021-01-21 21:08:32 +03:00
Ilya Lavrenov
4f932ade9d
Fixed CVS-47220 (#3958) 2021-01-21 20:44:12 +03:00
Piotr Szmelczynski
9857f6368d
Revise abs (#3931)
* remove type_prop test file for abs operator

* add abs operator to unary_ops

* remove abs type_prop from CMakeList
2021-01-21 18:58:21 +03:00
Vladimir Gavrilov
31dec9addf
Implement ExperimentalDetectronTopKROIs and ExperimentalDetectronGenerateProposalsSingleImage operations as nGraph operations (#3680)
* Commit.

* Written the header file for the nGraph operation ExperimentalDetectronTopKROIs.

* Written an implementation file of the nGraph operation ExperimentalDetectronTopKROIs.

* Small fix.

* Added the nGraph operation ExperimentalDetectronTopKROIs into the table of ops of opset6.

* Written the header file for the nGraph operation ExperimentalDetectronGenerateProposalsSingleImage.

* Code style fix.

* Written cpp-file of the nGraph operation ExperimentalDetectronGenerateProposalsSingleImage.

* Now the operation ExperimentalDetectronGenerateProposalsSingleImage is read as nGraph operation.

* Code style fix.

* Fix in ngraph/ops.hpp

* Added NGRAPH_OP_SCOPE to the nGraph class ExperimentalDetectronGenerateProposalsSingleImage.

* Added NGRAPH_OP_SCOPE to the nGraph class ExperimentalDetectronTopKROIs.

* Code style fix.

* Small fix.

* Added NGraphReshapeTests of ExperimentalDetectronGenerateProposalsSingleImage when ExperimentalDetectronGenerateProposalsSingleImage is considered as opset6 operation.

* Changed copyright year to 2021.

* Deleted the method ExperimentalDetectronTopKROIs::set_max_rois.

* Deleted redundant virtual.

* Now ExperimentalDetectronTopKROIs::validate_and_infer_types() handles all cases when input 0 and input 1 have static/dynamic rank independently.

* Code style fix.

* Small fix.

* Started to write shape infer tests for the nGraph operation ExperimentalDetectronTopKROIs.

* Written shape infer tests for the nGraph operation ExperimentalDetectronTopKROIs.

* Code style fix.

* Added checks of input shapes into ExperimentalDetectronGenerateProposalsSingleImage::validate_and_infer_types(). Started to write tests for ExperimentalDetectronGenerateProposalsSingleImage::validate_and_infer_types().

* Small fix.

* Fixes in ExperimentalDetectronGenerateProposalsSingleImage::validate_and_infer_types(). Written draft tests for ExperimentalDetectronGenerateProposalsSingleImage::validate_and_infer_types().

* Code style fix.

* Fixes in reshape tests for ExperimentalDetectronGenerateProposalsSingleImage.

* Added Doxygen documentation to the nGraph operation class ExperimentalDetectronGenerateProposalsSingleImage.

* Deleted methods validate_scores_shape and validate_deltas_shape of op::v6::ExperimentalDetectronGenerateProposalsSingleImage.

* Deleted methods validate_input_rois_shape and validate_rois_probs_shape of op::v6::ExperimentalDetectronTopKROIs.

* Added class descriftion for nGraph operations ExperimentalDetectronTopKROIs and ExperimentalDetectronGenerateProposalsSingleImage.
2021-01-21 18:55:29 +03:00
Roman Kazantsev
bacb8420f0
[MO] Implement TensorFlow 2 While and Keras RNN support in MO (#3573)
* [MO] Implement TensorFlow 2 While support in MO

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Add extractors for both While and StatelessWhile and do minor changes

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Improve update_body_graph function and manage graph names properly

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Fix a map for original name of parameters from body and cond

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Implement draft version of support of TF2 Keras RNN

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Implement Keras LSTM and GRU support in MO

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Improve code for Keras RNN support

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Finalize implementation of TF2 Keras RNN support in MO

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Apply the first part of the comments after review #1

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Avoid use of explicit values of port indices in the transformation

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Finalize code after the first-round review

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Apply comments after the second-round review

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
2021-01-21 17:39:57 +03:00
Ilya Lavrenov
61ccde700f
Refactored VPU tests not to use old interfaces (#3888)
* Refactored VPU tests not to use old interfaces

* Added except of exceptions

* Commented failing part of HDDL tests
2021-01-21 15:05:12 +03:00
Svetlana Dolinina
05d97fa24a
Fixed issue with run stateful network with several infer requests on MKLDNNPlugin (#3711) 2021-01-21 15:01:03 +03:00
Ilya Churaev
88b200ea5b
Don't add a new Result operation if output port is already connected to Result (#3934) 2021-01-21 13:42:32 +03:00
Patryk Elszkowski
187813a3f6
[BUG]Add extra op clone to have default inputs/outputs set. (#3855)
* Add extra op clone to have default inputs/outputs set.

* Call `validate_and_infer_types` after clone for TensorIterator and Loop

* Add gtest to check if default values works with dynamic shapes

* Apply suggestions from PR.

Co-authored-by: Patryk Elszkowski <patryk.elszkowki@intel.com>
2021-01-21 13:02:21 +03:00
Anastasia Kazantaeva
afb32262c1
Update OV telemetry message for 2021.3 (#3926)
* Update OV telemetry message for 2021.3

* Fixed missprint
2021-01-21 12:48:33 +03:00
Victor Kuznetsov
1217d26f2f
rename time test config (#3923) 2021-01-21 12:32:15 +03:00
Gleb Kazantaev
08eea31f45
Remove deprecated classes/methods usage from Legacy/Tests/VPUPlugin (#3907)
* Fix legacy converter for Mul/Add/Sub ops

* Updated VPU plugin to use pass_config;Updated tests to avoid legacy classes/methods

* Updated VPU pipeline
2021-01-21 12:06:07 +03:00
Mateusz Tabaka
c6c1503ba1
Add PadFusion transformation (#3785)
* Add PadFusion transformation

Ticket: 46482

* set pad explicit

* fuse ifs

* address review comments

* fix signed to unsigned comparison warning

* add MATCHER_SCOPE
2021-01-21 11:58:00 +03:00
Gleb Kazantaev
8d345a78de
Added SubGraphOp support in compare_function (#3943) 2021-01-21 11:23:09 +03:00
Ilya Znamenskiy
72c3e0e4a6
[IE CLDNN] Convolution fsv16 improvements several fixes after code review (#3637) 2021-01-21 11:06:43 +03:00
Mateusz Bencer
d4f774f3c7
update manifest (#3939) 2021-01-21 09:06:11 +01:00
Irina Efode
a3234593db
[IE TESTS] Fix passrate in report (#3904)
* [IE TESTS] Fix passrate in report

* add skip
2021-01-21 11:05:10 +03:00
Sergey Shlyapnikov
573a13b252
[IE CLDNN] Kernel Selector improvements (#2998) 2021-01-21 11:04:00 +03:00
Gabriele Galiero Casay
e026d54ed2
Develop ConvertLike Reference Implementation (#3857)
* ConvertLike: Develop reference implementation

* ConvertLike: Enable single layer tests for GPU plugin

* ConvertLike: Enable bf16 precision for evaluate method

* ConvertLike: Add unit tests

* ConvertLike: Add dynamic shape test case

* ConvertLike: Remove unnecessary ngraph namespace and using declaration for v1::ConvertLike

* ConvertLike: Simplified reference::convert by using std::enable_if
2021-01-21 08:31:10 +03:00
Vladislav Golubev
ef72e21213
[LPT] StridedSlice Transformation (#3817)
* [nGraph] evaluate_strided_slice: replace read_vec to host_tensor_2_vec

* [LPT] StridedSliceTransformation
2021-01-21 00:15:37 +03:00
Vladislav Vinogradov
bad4e97d9b
Extend and fix input/output precisions support in functional tests (#3933)
* Use actual blobs type to get nGraph element type,
  when generating inputs and calculating reference results.
  It will allow to run tests with `undefined` preset and
  use real type, returned from the device to generate and process input.
  It also fixes the case with several inputs with different type.
* Extend `convertOutputPrecision` function to fully support
  conversions from/to fp16/bf16 types.
  The device might return blobs in that formats, so they need to be
  supported by the testing framework.
2021-01-20 20:08:33 +03:00
Mateusz Tabaka
d4488b9dfc
Add ReluFakeQuantize transformation (#3811)
* Add ReluFakeQuantize transformation

* address review comments

* replace constant with any_input

* use MATCHER_SCOPE macro
2021-01-20 18:50:19 +03:00
Ilya Znamenskiy
33005b7741
[IE CLDNN] Convolution b_fs_zyx_fsv16_imad tuning improvements (#3011) 2021-01-20 18:36:46 +03:00
Vladimir Gavrilov
318db6eccc
Implement ExperimentalDetectronROIFeatureExtractor operation as nGraph op (#3739)
* Commit.

* Written the header file of the nGraph operation ExperimentalDetectronROIFeatureExtractor.

* Started to write cpp-file for the nGraph operation ExperimentalDetectronROIFeatureExtractor.

* Deleted in_ports_count attribute for the MO operation ExperimentalDetectronROIFeatureExtractor.

* Written validate_and_infer_type() method of ngraph::op::v6::ExperimentalDetectronROIFeatureExtractor.

* Code style fixes.

* Code style fixes.

* Small fixes.

* Code style fixes.

* Now operation ExperimentalDetectronROIFeatureExtractor is read as nGraph operation ExperimentalDetectronROIFeatureExtractor.

* Implemented op::v6::ExperimentalDetectronROIFeatureExtractor::clone_with_new_inputs().

* Added macro NGRAPH_OP_SCOPE to the cpp-file of the nGraph operation ExperimentalDetectronROIFeatureExtractor.

* Fixes in some tests.

* Code style fix.

* Fixed yet another test for ExperimentalDetectronROIFeatureExtractor.

* Added tests for reading ExperimentalDetectronROIFeatureExtractor as operation from opset6.

* Added more test for reading ExperimentalDetectronROIFeatureExtractor as operation from opset6.

* Started to write shape infer tests for the nGraph operation ExperimentalDetectronROIFeatureExtractor.

* Corrected ngraph/test/CMakeLists.txt.

* Small changes.

* Code style fix.

* Small fixes.

* Added ctor of ExperimentalDetectronROIFeatureExtractor with NodeVector as argument.

* Added setting the attribute in_ports_count when the MO operation ExperimentalDetectronROIFeatureExtractor is creating in the MO transformation ONNXMaskRCNNTransformation.

* Added shape infer for the second output of the nGraph operation ExperimentalDetectronROIFeatureExtractor.

* Written shape infer tests for nGraph operation ExperimentalDetectronROIFeatureExtractor (case when input shapes are partially dynamic).

* Small fixes.

* Code style fix.

* Deleted redundant &expected_channels.

* Code style fix.

* Small refactoring.

* Small fixes.

* Small changes.

* Small fixes.

* Deleted attribute distribute_rois_between_levels of ExperimentalDetectronROIFeatureExtractoe.

* Deleted attribute preserve_rois_order of ExperimentalDetectronROIFeatureExtractoe.

* Deleted attribute image_id of ExperimentalDetectronROIFeatureExtractoe.

* Now MO generates attribute 'aligned' of ExperimentalDetectronROIFeatureExtractor only with values 'true' or 'false'.

* Small fix.

* Fix in the conversion of the attribute 'aligned' of MO operation ExperimentalDetectronROIFeatureExtractor to string.

* Tabs were replaced by spaces in some XMLs.

* Tabs were replaced by spaces in ngraph_reshape_tests.cpp.

* Fixed copyrights.

* Applied small patch to IREngine from PR https://github.com/openvinotoolkit/openvino/pull/3814.

* Tabs were replaced by spaces in cnn_ngraph_impl_tests.cpp.

* op::v6::ExperimentalDetectronROIFeatureExtractor::validate_and_infer_types() was rewritten using operator & for channels.

* Added tests for input shapes of op::v6::ExperimentalDetectronROIFeatureExtractor in the case when inputs shapes consist of intervals.

* Fixes in test type_prop.detectron_roi_feature_extractor_intervals.
2021-01-20 16:20:54 +03:00
Alexander Perepelkin
562e01843f
Fix virtual inheritance for class PadLayerTest (#3912) 2021-01-20 15:17:25 +03:00
Alexander Zhogov
cbc77f7b7d
Azure CI: Add install (#3876)
* Azure CI: Add install
2021-01-20 14:28:51 +03:00
Andrey Sokolov
db5cd6751d
[IE][VPU][Tests]: Fix ROIPooling test (#3705)
* fix initialization bug of spatial_scale in tests (affected input generating)
* fix input generating for bilinear ROI Pooling
* correct parameters for myriad tests:
    * myriad plugin does not support batch for this layer;
    * decrease threshold since myriad uses fp16 calculations
2021-01-20 14:17:19 +03:00
Gleb Kazantaev
278773945c
Added PythonAPI For LowLatency Transformation (#3910) 2021-01-20 13:29:02 +03:00
Andrew Bakalin
7c4f435335
[IE][VPU][Tests]: Support DTS for GatherElements (#3688)
* Support DTS for GatherElements
* Extract GatherBase to a common part
* Introduce tests on inference
* Introduce tests on function comparing
* Disable failing tests
2021-01-20 12:16:46 +03:00
Andrey Sokolov
e08ad2989e
[IE][VPU]: Fix buffer size calculation bug (#3825) 2021-01-20 12:07:06 +03:00
Yury Gaydaychuk
1aeb7fb089
[CPU] ROIAlign: fixed misprint in input width value (#3853) 2021-01-20 11:16:02 +03:00
Mateusz Bencer
4e33dac7fa
Set output blobs precision for IE tests (#3905)
* Calling SetPrecission on cnn network outputs

* added tests

* get_output_name refactor

* add missing test file

* run tests on all backends (or disable if backend is not available)

* fixed tests

* fixed TestEngine
2021-01-20 10:26:41 +03:00
Gleb Kazantaev
a5c6ed8e03
Fixed import module name (#3906) 2021-01-19 19:36:07 +03:00
Vitaliy Urusovskij
1e858830e2
Change json.loads to json.load for --db_metadata (#3871) 2021-01-19 18:33:00 +03:00