Commit Graph
2285 Commits
Author SHA1 Message Date
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 ElszkowskiandPatryk 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
Maksim Kutakov 21e17dad4f [IE TESTS][CPU] I8 and U8 precisions was enabled in the reverse sequence single layer test. (#3722) 2021-01-19 17:04:12 +03:00
Tomasz Jankowski 35384a63a6 [nGraph][ONNX] Extend ONNX Importer for operation "GatherElements-6" (#3822) 2021-01-19 14:42:24 +01:00
Ilya Lavrenov 7e54cdba15 Fixed cmake 'message' for multiple arguments (#3901) 2021-01-19 15:35:31 +03:00
Szymon Durawa 4f5230bb03 Visitor api ti serialization (#3777)
* Add on_adapter(Function) for serialization.

* Add port_map and back_edges serialization.

* Add 2  unit tests for TI serialization.

* Convert lambda expression into function pointer.

* Add single layer test for tensor iterator.

* Add limitation for file name length during serialization.

* Add file name length limitation for Serialize().

* Add WA for LSTMCell v0 in serialize class, new test class for TI serialization with dynamic weights, add bin path to SerializationParams, replace call to ngfunction_2_irv10 with visitor.on_attribute().

* Remove hacks for TI from ngfunction_2_irv10(), validate buffers in port_map.

* Changed year in new added test files.

* Add check for version of LSTMv0 WA, add assert for model read from file.

* Remove append_copy for xml Function, changed comparison for LSTMvo WA.

* Update second WA for LSTMCell v0 with version check.

* Remove find_child when searching for port_map and back_edges.
2021-01-19 15:26:29 +03:00
Sergey Shlyapnikov f7e0d90292 [IE CLDNN] Eltwise b_fs_yx_fsv16 mixed presicion support (#3734) 2021-01-19 15:17:03 +03:00
Sergey Shlyapnikov 559b509b15 [IE CLDNN] Change memory reset rules (#2909) 2021-01-19 15:15:24 +03:00
Vladimir Paramuzov e9775c1023 [IE CLDNN] Added missing pointer type case for blocked read (#3866) 2021-01-19 14:17:50 +03:00
Ilya Churaev 94b98c484c Fix nGraph doxygen for master (#3899)
* Changed style of some headers

* Fixed shared buffer

* Remove chrome_trace

* Fixed comment
2021-01-19 13:39:32 +03:00
Vladimir Paramuzov 9cc58fc66a [IE CLDNN] Changed weights layout used in the plugin (#3858)
Before this patch constant with weights could be not detected if
it wasn't directly connected to Conv/Deconv layer.
Now weights always uses common data format (bfzyx) in the plugin which is
converted into weights format later (goiyx, oiyx, etc), so weights sub-graph
can now contain anything
2021-01-19 13:06:20 +03:00
Vladislav Vinogradov e88de8f822 Fix signed/unsigned comparison warnings (#3900)
They are treated as error, which leads to build failure.
Tested on Ubuntu 20.04, gcc 9.3.0.
2021-01-19 12:55:15 +03:00
Maksim Kutakov c20c3a9e3d [IE TESTS][CPU] Fusing tests added to the CPU specific single layer tests. (#3015) 2021-01-19 11:51:08 +03:00
Nikita Kudriavtsev ab66eab652 [IE][VPU][DTS]: shrink mask support for StridedSlice and test (#3835) 2021-01-19 11:46:59 +03:00
Gorokhov Dmitriy 2bfc941cf1 [CPU] Runtime precision for execution graph (#3886) 2021-01-19 11:25:28 +03:00
Ilya Churaev e82018221c Added CC macro to transformations (#3795)
* Added CC macro to transformations

* Fixed typo

* Added MATCHER_SCOPE

* Fixed review comments

* Try to remove MATCHER_CALLBACK_SCOPE

* Fixed matcher name

* Fixed MATCHER_SCOPE

* Added documentation

* Fixed typo

* Fixed CC for linux

* Fixed names

* Fixed docs

* Fixed typo

* FIxed comments

* Add more CC macros
2021-01-19 10:19:25 +03:00
Vladislav Volkov 3baa305e0a Improvements for subnormal floats zeroing in CPU plugin (#3797) 2021-01-19 09:58:30 +03:00
Ilya Lavrenov f3f1b7002d Deprecated IVariableState interface (#3884) 2021-01-18 16:58:35 +03:00
Mateusz Bencer 4d98d7ceee ONNX tests mismatch error (#3836) 2021-01-18 12:39:32 +01:00
Ilya Lavrenov cc1e8b9146 Fixed -Wall warnings on ARM build (#3885) 2021-01-18 13:59:28 +03:00
Bartosz Sledz 928201bee4 Add support for ONNX Operator ReduceSum v13 and revise other Reduce operators (#3605) 2021-01-18 10:47:40 +01:00
Vladimir Gavrilov e20a58d770 Implement ExperimentalDetectronDetectionOutput and ExperimentalDetectronPriorGridGenerator operations as nGraph ops (#3374)
* Commit.

* Started to write nGraph operation ExperimentalDetectronDetectionOutput. Written draft of the header file.

* Written draft of the cpp-file for nGraph operation ExperimentalDetectronDetectionOutput.

* Small fix.

* Added reading of ExperimentalDetectronDetectionOutput as nGraph operation.

* Some fix.

* Unregistered old shape infer function of the operation ExperimentalDetectronDetectionOutput.

* Written the header file for the operation ExperimentalDetectronPriorGridGenerator.

* Small refactoring.

* Small fix.

* Added set_output_size(3) into op::ExperimentalDetectronDetectionOutput::validate_and_infer_types().

* Added check for number of inputs of ExperimentalDetectronDetectionOutput.

* Reverted some changes.

* Changed IR for ExperimentalDetectronDetectionOutput serialization test.

* Written cpp-file of nGraph operation ExperimentalDetectronPriorGridGenerator.

* Small fix.

* Some fixes.

* Fixes in type and shape infer functions of the MO operation ExperimentalDetectronDetectionOutput.

* Now ExperimentalDetectronPriorGridGenerator is readed as nGraph operation.

* Fixed the infer function of the nGraph operation ExperimentalDetectronPriorGridGenerator.

* Started to write tests for the shape infer function of the nGraph operation ExperimentalDetectronDetectionOutput.

* Written the draft of the test for the shape infer function of the nGraph operation ExperimentalDetectronDetectionOutput.

* Small fix.

* Fixed ngraph/test/CMakeLists.txt.

* Started to write tests for the shape infer function of the nGraph operation ExperimentalDetectronPriorGridGenerator.

* Now the shape infer function of the nGraph operation ExperimentalDetectronPriorGridGenerator performs correctly case dynamic input shapes with static ranks.

* Continued to write test for the nGraph operation ExperimentalDetectronPriorGridGenerator.

* Small fixes.

* Written tests for the shape infer function of the nGraph operation ExperimentalDetectronPriorGridGenerator (case when input shapes are partially dynamic).

* Added test for reading ExperimentalDetectronDetectionOutput as an operation from opset6.

* Some fixes.

* Added some debug outputs.

* Deleted inserted debug output.

* Small fixes.

* Small fix.

* Small fix.

* Small change.

* Added comments to attributes of ExperimentalDetectronDetectionOutput.

* Reverted changes.

* Deleted shape infer for output port 3.

* Small fixes.

* Deleted redundant keyword 'virtual'.

* Deleted redundant usings in header files of nGraph operations ExperimentalDetectronDetectionOutput and ExperimentalDetectronPriorGridGenerator.

* Some fixes.

* Small change.

* Now GridGenerator::validate takes three args (input partial shapes).

* Small fix.

* Deleted some usings.

* Small code style fix.

* Reverted changes in validate_and_infer_types() and validate() of op::v6::ExperimentalDetectronPriorGridGenerator.

* Added description of the class ExperimentalDetectronDetectionOutput.

* Added some comments into the header file of the nGraph operation ExperimentalDetectronPriorGridGenerator.

* Some fixes.

* Added some comments to the class of the nGraph operation ExperimentalDetectronPriorGridGenerator.

* Now the MO operation ExperimentalDetectronDetectionOutput has the attribute 'version' as 'opset6'.

* Now the MO operation ExperimentalDetectronPriorGridGenerator has the attribute 'version' as 'opset6'.

* Some fixes in the MO class ExperimentalDetectronDetectionOutput.

* Fixes in the shape infer function of the nGraph operation ExperimentalDetectronPriorGridGenerator.

* Renamed test XML model for ExperimentalDetectronDetectionOutput serialization tests.

* Added validation of input shapes for the nGraph operation ExperimentalDetectronDetectionOutput.

* Small fixes in the XML models for serialization testing of ExperimentalDetectronDetectionOutput.

* Added tests of shape infer function of the nGraph operation ExperimentalDetectronDetectionOutput for the case when input shapes are partially dynamic.

* Added tests of shape infer function of the nGraph operation ExperimentalDetectronDetectionOutput for the case when some input shapes have dynamic ranks.

* Small fixes.

* Small fix in the MO operation ExperimentalDetectronDetectionOutput shape infer function.

* Fixes in op::v6::ExperimentalDetectronDetectionOutput::validate_and_infer_types().

* Code style fix.

* Small refactoring.

* Added NGRAPH_OP_SCOPE into ExperimentalDetectronDetectionOutput nGraph class.

* Added NGRAPH_OP_SCOPE to the nGraph class ExperimentalDetectronPriorGridGenerator.

* Small fixes.

* Some refactoring.

* Small fix.

* Small fixes.

* Reverted some changes in ExperimentalDetectronDetectionOutput::validate_and_infer_type().

* Now VPU reads the attribute class_agnostic_box_regression of ExperimentalDetectronDetectionOutput as Bool.

* Now MO generates attribute  'class_agnostic_box_regression' of ExperimentalDetectronDetectionOutput only with values false or true.

* Small fix.

* Tabs were replaced by spaces in some XMLs.

* Fixed copyrights.

* Refactoring in op::v6::ExperimentalDetectronDetectionOutput::validate_and_infer_types().

* Refactoring in op::v6::ExperimentalDetectronPriorGridGenerator::validate_and_infer_types().

* Small fixes.

* Started to write ExperimentalDetectronPriorGridGenerator shape infer tests for the case when dynamic input dimensions are intervals.

* Deleted redundant 'return'.

* Written tests for interval values of input shapes of op::v6::ExperimentalDetectronPriorGridGenerator.

* Code style fix.

* Code style fix.
2021-01-18 12:16:40 +03:00
Alexander Perepelkin f5085d3216 Enable calculation of reference data without prior run of infer request (#3856) 2021-01-18 12:12:07 +03:00
Ilya Lavrenov fa599b25bb Proper cpplint target for object libraries (#3883) 2021-01-18 11:56:35 +03:00
Maxim Vafin af5eccc6ae Add MVN-6 related transformations (#3710)
* Add MVN decomposition transformation

* Add MVN-1 to MVN-6 transformation

* Apply review feedback

* Apply review feedback

* Fix build

* Fix if statement and add 5D tests

* Apply review feedback

* Apply review feedback

* Apply feedback

* Revert "Apply feedback"

This reverts commit 039fefbff9.

* Apply review feedback

* Apply review feedback

* Fix build issue

* Apply review feedback

* Apply review feedback

* Apply feedback
2021-01-18 10:34:01 +03:00