platform/upstream/dldt.git
3 years agoEnable NonMaxSuppression-5 operation and various transformations (#2450)
Vladimir Gavrilov [Fri, 6 Nov 2020 16:11:04 +0000 (19:11 +0300)]
Enable NonMaxSuppression-5 operation and various transformations  (#2450)

* Some code style fixes.

* Started to write the method v5::NonMaxSuppression::evaluate().

* Started to write nGraph reference implementation of NMS-5.

* Some additions.

* Written preprocessing of boxes data.

* Started to write the function non_max_suppression() that calculates NonMaxSuppression-5 operation.

* Written postprocessing of the evaluate().

* Small fixes.

* Small fix.

* Added include for ngraph/shape.hpp.

* Written the function intersectionOverUnion.

* Some additions.

* Small fix.

* Continued to write the function non_max_suppression().

* Small fixes.

* Small fixes.

* Some changes.

* Some additions.

* Some replacements size_t by int64_t.

* Added casts to float in the construction of selected_score variable.

* Code style fixes.

* Written draft of NMS-5 nGraph reference implementation.

* Code style fixes.

* Started to write tests for void op::v5::NonMaxSuppression::validate_and_infer_types().

* Added tests for scalars/nonscalars.

* Fixes in the test type_prop.nms_v5_output_shape.

* Fixes in tests nms_v5_output_shape_2 and nms_v5_output_shape.

* Written tests for validate_and_infer_types() of NMS-5.

* Code style fixes.

* Now NMS-5 evaluate() can have outputs with calculated shapes.

* Small fixes.

* Corrected tests for NMS-5 validate_and_infer_type().

* Code style fixes.

* Started to write inner version of NMS-5 with static output shapes.

* Written draft of the inner operation NonMaxSuppressionIE3.

* Started to write conversion of op::v5::NonMaxSuppression into NonMaxSuppressionIE3.

* Small changes.

* Some additions.

* Small fixes.

* Fixed typo.

* Fixed typos.

* Written draft of the transformation ConvertNMS5ToLegacyMatcher that converts ngraph::opset5::NonMaxSuppression into op::NonMaxSuppressionIE3.

* Written header file for the transformations from NMS-1, NMS-3, NMS-4 to NMS-5.

* Started to write conversion of NMS-4 to NMS-5.

* Added include for ngraph/opsets/opset4.hpp.

* Started to write conversion of NMS-3 to NMS-5.

* Small fixes.

* Written draft of the conversion of NMS-3 into NMS-5.

* Fixed typo.

* Started to write conversion of NMS-1 to NMS-5.

* Written draft of the conversion NMS-1 to NMS-5.

* Started to write tests for the conversion nGraph NMS-5 to inner NMS.

* Started to write the test ConvertNMS5ToNMSIEStatic.

* Written tests for conversion of nGraph NMS-5 to inner NMSIE3.

* Started to write tests for conversion of previous NMS to nGraph NMS-5.

* Written tests for conversion of old nGraph NMS to NMS-5.

* Started to write tests for opset5::NonMaxSuppression::evaluate().

* Some additions.

* Small fix.

* Written tests for op::v5::NonMaxSuppression::evaluate().

* Used NGRAPH_RTTI_DECLARATION for NonMaxSuppressionIE3.

* Used NGRAPH_RTTI_DECLARATION for NMS-5.

* All static local constants and functions for NMS-5 were moved into non-named namespace.

* Some code style fixes.

* Moved some file.

* Small fix.

* Code style fix.

* Now NMS-5 supports all floating types in inputs 0 and 1.

* Moved some files.

* Fixed include directive in the file convert_nms_5_to_legacy.cpp with transformations NMS-1, 3, 4 -> NMS-5.

* Small changes.

* Deleted conversion NMS-3 -> legacy.

* Small changes.

* Fix in op::v5::NonMaxSuppression::evaluate: output shape [1] instead of [] in the output port 2.

* Code style fixes.

* Deleted conversion of NMS-4 into legacy NMS.

* Deleted redundant ifs.

* Added NMS-5 to Python API.

* Code style fix.

* Small change.

* Fixed element type for constants in the conversion of NMS-5 to NMSIE3.

* Deleted support of f64 in NMS-5.

* Added checks for input element types for inputs #0, #1, #3, #4, #5.

* Small change.

* Now get_floats throws an exception for unsupported types.

* Now nGraph NMS-5 supports 0D and 1D tensors in inputs #2, #3, #4, #5.

* Small fix in test_non_max_suppression.

* Deleted using namespace std

* Fixes in test_non_max_suppression().

* Small fixes.

* Added 'import PartialShape' in test_reduction.py.

* Deleted creating fake inputs in the ctor of op::v5::NonMaxSuppression.

* Deleted creating fake inputs in op::v5::NonMaxSuppression::clone_with_new_inputs.

* Corrections in int64_t op::v5::NonMaxSuppression::max_boxes_output_from_input() const.

* Corrected functions float op::v5::NonMaxSuppression::soft_nms_sigma_from_input() const, float op::v5::NonMaxSuppression::score_threshold_from_input() const,  float op::v5::NonMaxSuppression::iou_threshold_from_input() const.

* Small fixes.

* Deleted commented code.

* Fixes in nms_v5_scalar_inputs_check.

* Some changes.

* Small fixes.

* Code style fixes.

* Small changes.

* Small changes.

* Small fix.

* Deleted commented code.

* Some refactoring in ConvertNMS4ToNMS5 ctor.

* Small fix.

* Common part of conversions NMS-1 -> NMS-5, NMS-3 -> NMS-5, NMS-4 -> NMS-5 was moved into the separate function.

* Now conversions NMS-1 -> NMS-5, NMS-3 -> NMS-5, NMS-4 -> NMS-5 support both 2 inputs, and 5 inputs.

* Now transformations NMS-1 -> NMS-5, NMS-3 -> NMS-5, NMS-4 -> NMS-5 are called from 'umbrella' transformation.

* Now the transformation ConvertNMS5ToLegacyMatcher supports NMS-5 with 2, 3, 4, 5, or 6 inputs.

* The transformation ConvertNMS5ToLegacyMatcher was rewritten using Reshape instead of Unsqueeze.

* Started to rewrite tests for the transformation ConvertNMS5ToLegacyMatcher.

* Some fixes.

* Small fixes.

* Corrected tests for the transformation NMS-5 -> NMSIE3.

* Small formatting fix.

* Now methods max_boxes_output_from_input(), iou_threshold_from_input(), score_threshold_from_input(), soft_nms_sigma_from_input() of op::v5::NunMaxSuppression are public.

* Started to move op::v5::NonMaxSuppression::evaluate() into ngraph/test/runtime/interpreter.

* Added NMS-5 to ngraph/test/runtime/interpreter/int_executable.

* Small fixes.

* Code style fixes.

* Written draft test nonmaxsuppression_center_point_box_format_backend in ngraph/test/backend.

* Small fix.

* Written draft tests of NonMaxSuppression in ngraph/test/runtime.

* Some changes.

* Small changes.

* Disabled IE_CPU tests for NMS-5.

* Deleted op_eval tests for NMS-5.

* Deleted evaluate() method of NMS-5.

* Now all nGraph functions in tests of the transformation NMS-5 -> NMSIE3 have one output.

* Now preprocessing and postprocessing of the calculation of NMS-5 in reference implementation.

* Code style fixes.

* Some fixes in tests for the transformation NMS-5 -> NMSIE3.

* Replaced precision i64 -> i32 for some constants in tests for the transformation NMS-5 -> NMSIE3.

* Written creating CNNLayer for NMS-5.

* Added creating CNNLayer for NonMaxSuppressionIE3.

* some changes.

* Now conversions NMS-1, NMS-3, NMS-4 -> NMS-5  and NMS-5 -> NMSIE3 generate NMS nodes with 5 inputs.

* Fixed ctor in MKLDNN NonMaxSuppressionImpl: validation of number of output edges.

* Added conversion of output_type for NMS-5.

* Fixes in the transformation NMS5 -> NMSIE3.

* Fixes in the conversion of NMS-5 to NMSIE3.

* Fixes in MKLDNN NMS ctor.

* Small fix.

* Fixed tests for the transformation NMS5 -> NMSIE3.

* Fixed tests for conversions NMS-1, NMS-3, NMS-4 -> NMS-5.

* Small fixes in MKLDNN NMS ctor.

* Rewritten create_layer() functions for NMS-5 and NMSIE3 as addSpecificCreator() functions.

* Disabled tests for IE IR reader for NMS-4.

* Deleted debug code.

* Added comment about disabling tests IE_CPU.nonmaxsuppression.

* Written IE IR Reader test for NMS-4.

* Deleted function float_from_constant_node.

* Small fixes.

* Deleted functions function_from_model and construct_weights.

* Small fix.

* Replaced push_back with emplace_back in the conversion of NMS-5 to legacy.

* Small changes.

* Some fixes.

* Refactored reference implementation of NMS-5.

* Moved structure NMSAttributes to unnamed namespace.

* Code style fixes.

* Small fix.

3 years agoFix the NHWC->NCHW transformation for dynamic weights (#2848)
Maxim Vafin [Fri, 6 Nov 2020 16:04:46 +0000 (19:04 +0300)]
Fix the NHWC->NCHW transformation for dynamic weights (#2848)

* Fix the NHWC->NCHW transformation when weights and data comes from same input

* Simplify code

3 years agoMatMul spec update (#2765)
Katarzyna Mitrus [Fri, 6 Nov 2020 15:41:36 +0000 (16:41 +0100)]
MatMul spec update (#2765)

Aligned specification with nGraph MatMul shape inference operation. Affects description of the behavior for 1D tensors.

3 years ago[LPT] integration branch: Reshape fix, Concat generalization, runtime info usage...
Edward Shogulin [Fri, 6 Nov 2020 13:15:27 +0000 (16:15 +0300)]
[LPT] integration branch: Reshape fix, Concat generalization, runtime info usage extending (#2930)

* [LPT] Concat transformation generalization

* [LPT] Reshape transformation fix

* [LPT] Legacy callback fix

* [LPT] * added rt_info propagation
      * functional tests: added rt_info
      * functional tests: added MoveDequatnizationAfter tests

Co-authored-by: Vladislav Golubev <vladislav.golubev@intel.com>
3 years agoLow Latency transformation (#2869)
Ivan Tikhonov [Fri, 6 Nov 2020 11:11:11 +0000 (14:11 +0300)]
Low Latency transformation (#2869)

* initial draft of adding sinks to ngraph::Function

* style fixes

* code style fixes

* code style fixes

* code style fix

* review fix+build fix

* code style fix

* fix build

* API changed according to latest discussion

* review fixes

* review fixes + tests

* initial draft of adding sinks to ngraph::Function

* style fixes

* code style fixes

* code style fixes

* code style fix

* review fix+build fix

* code style fix

* fix build

* API changed according to latest discussion

* review fixes

* review fixes + tests

* added 1 more ctor

* style fixes

* used new api in ir parser

* fixed build

* update low latency transformation, fix unroll transformation, add unit tests, modify subgraph tests

* fix low latency transformation

* Update low latency transformation, unit and sub-graph tests

* update LowLatency transformation and tests

* ngraph codestyle

* fix build, update description

* resolve review remarks

Co-authored-by: Svetlana Dolinina <svetlana.a.dolinina@intel.com>
3 years ago[OpenCL] movi-cltools-20.09.2 (#2912)
Maxim Kurin [Fri, 6 Nov 2020 10:45:45 +0000 (13:45 +0300)]
[OpenCL] movi-cltools-20.09.2 (#2912)

3 years ago[CPU] Added LogSoftmax-5 support (#2743)
Alexandra Sidorova [Fri, 6 Nov 2020 10:22:02 +0000 (13:22 +0300)]
[CPU] Added LogSoftmax-5 support (#2743)

3 years agoRemove deprecated v0::TopK (#2947)
Mateusz Tabaka [Fri, 6 Nov 2020 08:36:33 +0000 (09:36 +0100)]
Remove deprecated v0::TopK (#2947)

* Remove deprecated v0::TopK

* Remove using SortType and using Mode from TopK

* apply code format

* Revert "Remove using SortType and using Mode from TopK"

This reverts commit ee2f99ea89583f0cc5c34fe633dfbe900f4d1741.

3 years agoRemove deprecated v0::Softmax (#2917)
Mateusz Tabaka [Fri, 6 Nov 2020 08:34:23 +0000 (09:34 +0100)]
Remove deprecated v0::Softmax (#2917)

3 years agoFeature/azaytsev/layout updates (#2985)
Andrey Zaytsev [Fri, 6 Nov 2020 08:07:53 +0000 (11:07 +0300)]
Feature/azaytsev/layout updates (#2985)

* Reconfigured the layouts with importing the dedicated POT layout and Accuracy Checker and Model Downloader items from the OMZ layout

* updated

* test

* test

* Moved the Model Downloader from ie_docs.xml to openvino_docs.xml

* Renamed optimization_docs.xml --> pot_docs.xml

* Added Model Server to the layout

* Minor fixes

3 years ago[IE CLDNN] Removed unused conv kernels (#2995)
Vladimir Paramuzov [Fri, 6 Nov 2020 07:24:48 +0000 (10:24 +0300)]
[IE CLDNN] Removed unused conv kernels (#2995)

3 years ago[CPU] Added support NMS-5 (#2768)
Maxim Andronov [Fri, 6 Nov 2020 05:59:23 +0000 (08:59 +0300)]
[CPU] Added support NMS-5 (#2768)

3 years ago[IE CLDNN] Plugin-side kernels caching (#2871)
Vladimir Paramuzov [Thu, 5 Nov 2020 20:44:45 +0000 (23:44 +0300)]
[IE CLDNN] Plugin-side kernels caching (#2871)

3 years agoovms doc fix (#2988)
Trawinski, Dariusz [Thu, 5 Nov 2020 18:19:54 +0000 (19:19 +0100)]
ovms doc fix (#2988)

* added OpenVINO Model Server

* ovms doc fixes

3 years agoAdded support for the Loop operation in the MO IR Reader (#2971)
Evgeny Lazarev [Thu, 5 Nov 2020 17:53:44 +0000 (20:53 +0300)]
Added support for the Loop operation in the MO IR Reader (#2971)

* Added support for the Loop operation in the MO IR Reader

3 years ago[GNA] support for 3D [1,1,X] import/output (#2893)
Anna Alberska [Thu, 5 Nov 2020 16:31:55 +0000 (17:31 +0100)]
[GNA] support for 3D [1,1,X] import/output (#2893)

* [GNA] support for 3D [1,1,X] import/output

* [GNA] add check for C == 1 and H == 1

* [GNA] fix input dimensions restrictions for 3d

3 years ago[IE][VPU] Proposal stage: fixed check for optional 2nd output (#2980)
Alexey Ershov [Thu, 5 Nov 2020 16:05:37 +0000 (19:05 +0300)]
[IE][VPU] Proposal stage: fixed check for optional 2nd output (#2980)

Fixed check for omitted 2nd optional output

3 years agoFixed disable/enable logic in PassConfig (#2940)
Gleb Kazantaev [Thu, 5 Nov 2020 14:34:32 +0000 (17:34 +0300)]
Fixed disable/enable logic in PassConfig (#2940)

* Fixed disable/enable logic in PassConfig

* Removed set_pass_config method for Manager; added comments

3 years agosetupvars.bat: Fixed names for major and minor python version vars (#2986)
Artyom Anokhov [Thu, 5 Nov 2020 11:48:09 +0000 (14:48 +0300)]
setupvars.bat: Fixed names for major and minor python version vars (#2986)

3 years ago[install_prerequisites.sh] remove libgfortran5, add framework to venv folder name...
Alexey Suhov [Thu, 5 Nov 2020 11:19:47 +0000 (14:19 +0300)]
[install_prerequisites.sh] remove libgfortran5, add framework to venv folder name (#2969)

3 years agoFix ngraph core opset createinsensitive (#2961)
Emmanuel Attia [Thu, 5 Nov 2020 10:42:09 +0000 (11:42 +0100)]
Fix ngraph core opset createinsensitive (#2961)

* Fix: ITT_INCLUDE_DIR was not correctly detected

* Map find result not compared with the right iterator.

* Force recheck

3 years ago[IE][VPU] Fix NMS DTS (#2880)
Andrew Bakalin [Thu, 5 Nov 2020 10:33:16 +0000 (13:33 +0300)]
[IE][VPU] Fix NMS DTS (#2880)

Add a new constructor to fix absent NMS-5 inputs that will be introduced after #2450 will be merged.

3 years agoUpdate ONNX models preprocessing script (#2936)
Rafal Blaczkowski [Thu, 5 Nov 2020 09:40:48 +0000 (10:40 +0100)]
Update ONNX models preprocessing script (#2936)

* Update onnx zoo models

* Update xfail list

* Update xfails

3 years agoMoved find_package(TBB) inside set_ie_threading_interface_for (#2966)
Ilya Lavrenov [Thu, 5 Nov 2020 08:32:46 +0000 (11:32 +0300)]
Moved find_package(TBB) inside set_ie_threading_interface_for (#2966)

3 years agoEnable LTO only for Release (#2968)
Ilya Lavrenov [Thu, 5 Nov 2020 08:31:32 +0000 (11:31 +0300)]
Enable LTO only for Release (#2968)

3 years agoMulti process build for MSVC (#2974)
Ilya Lavrenov [Thu, 5 Nov 2020 08:31:02 +0000 (11:31 +0300)]
Multi process build for MSVC (#2974)

3 years agoUpdate xfails (#2979)
Rafal Blaczkowski [Thu, 5 Nov 2020 07:12:51 +0000 (08:12 +0100)]
Update xfails (#2979)

3 years agoRemove obsoleted v0::Sum op (#2938)
Mateusz Tabaka [Thu, 5 Nov 2020 06:13:12 +0000 (07:13 +0100)]
Remove obsoleted v0::Sum op (#2938)

3 years agoRemove obsoleted v0::Slice and v0::Split ops (#2908)
Mateusz Tabaka [Thu, 5 Nov 2020 06:11:45 +0000 (07:11 +0100)]
Remove obsoleted v0::Slice and v0::Split ops (#2908)

* Remove obsoleted v0::Slice op

* Remove deprecated v0::Split op

* Fix build_graph tests

3 years agoRemove obsoleted v0::QuantizedConvolution op (#2958)
Mateusz Tabaka [Thu, 5 Nov 2020 06:10:51 +0000 (07:10 +0100)]
Remove obsoleted v0::QuantizedConvolution op (#2958)

3 years agoFix testcase CheckExecGraphInfoSerialization (#2973)
Jozef Daniecki [Thu, 5 Nov 2020 04:16:24 +0000 (05:16 +0100)]
Fix testcase CheckExecGraphInfoSerialization (#2973)

* Generate unique output file names in CheckExecGraphInfoSerialization testcase.

When multiple instances of this test were executed in parallel the same
file was accessed by multiple threads which was the cause of flakiness.

* Enable ExecGraphTests.CheckExecGraphInfoSerialization on GPU

3 years agoUpdate Custom_Layers_Guide.md (#2964)
Zoe Cayetano [Thu, 5 Nov 2020 04:01:21 +0000 (20:01 -0800)]
Update Custom_Layers_Guide.md (#2964)

Update misspelling on ONNX

3 years agoFix serialization of execution graph. (#2901)
Jozef Daniecki [Thu, 5 Nov 2020 03:52:08 +0000 (04:52 +0100)]
Fix serialization of execution graph. (#2901)

* Fix serialization of execution graph.

* Add exec graph comparison.

* Align execution graph serialization to old aproach.

* Revise error massages.

* Fixed execution graph comparison.

Now only attribute names are compared since values can differ on
different devices.

* Readability refactoring.

* Refactoring regarding readability.

3 years ago[IE CLDNN] Added inference precision into execution graph (#2913)
Vladimir Paramuzov [Wed, 4 Nov 2020 21:13:49 +0000 (00:13 +0300)]
[IE CLDNN] Added inference precision into execution graph (#2913)

3 years ago[CPU] CTCLoss sporadic issue. (#2934)
Nikolay Shchegolev [Wed, 4 Nov 2020 18:16:53 +0000 (21:16 +0300)]
[CPU] CTCLoss sporadic issue. (#2934)

* [CPU] CTCLoss sporadic issue.

* [Tests] Enable CTCLoss tests.

3 years ago[IE CLDNN] Add asymmetric quantization support to fsv16 imad general convolution...
Jedrzej Hajduczenia [Wed, 4 Nov 2020 14:31:40 +0000 (15:31 +0100)]
[IE CLDNN] Add asymmetric quantization support to fsv16 imad general convolution kernel (#2778)

3 years ago[IE CLDNN] Convolutition optimizations for small channels count (#2849)
Sergey Shlyapnikov [Wed, 4 Nov 2020 11:41:12 +0000 (14:41 +0300)]
[IE CLDNN] Convolutition optimizations for small channels count (#2849)

3 years ago[ONNX][PyTests] Fix result datatype missmatch (#2596)
Tomasz Socha [Wed, 4 Nov 2020 11:19:40 +0000 (12:19 +0100)]
[ONNX][PyTests] Fix result datatype missmatch (#2596)

3 years agoExpand ONNX functions to sub-graphs before import (#2733)
Michał Karzyński [Wed, 4 Nov 2020 09:48:34 +0000 (10:48 +0100)]
Expand ONNX functions to sub-graphs before import (#2733)

Co-authored-by: Bartosz Sledz <bartosz.sledz@intel.com>
3 years agoAzure CL: Improve yaml (#2951)
Alexander Zhogov [Tue, 3 Nov 2020 18:20:53 +0000 (21:20 +0300)]
Azure CL: Improve yaml (#2951)

* Azure CL: Improve yaml

* Fix installing requirements

* Add run onnxImporterUnitTests

3 years ago[IE] Add batched blob support (#2203)
Rafik Saliev [Tue, 3 Nov 2020 18:19:26 +0000 (19:19 +0100)]
[IE] Add batched blob support (#2203)

* [IE] Add batched blob support

New `class BatchedBlob : public CompoundBlob` defined to allow to pass multiple blobs as 1 InferRequest input.

Motivation: There is the special user case when a number of plain images (e.g. `NV12Blob`) should be passed as one input for network which batch size > 1.

`class CompoundBlob` is not applicable for such cases due to:
1. `NV12Blob` is `CompoundBlob` which prevents to combine multiple NV12 images to a CompoundBlob
2. The default behavior in most of plugins - do not accept generic CompoundBlob as `SetBlob()` argument

Adding `SetBlob(name, vector<Blob::Ptr>...)` to `class IInferRequest`, `class InferRequest`, `class IInferRequestInternal`, ...  - is not effective solution due to limited and specific use cases for `batched inputs`.

+ Apply rule-of-zero to CompoundBlob and inherited classes.

* Add "BATCHED_BLOB" optimization capability metric

* Add BatchedBlob usage to hello_nv12_input_classification

* Apply offline code review outcome:

1. Revert CompoundBlob public .ctors signatures
2. Remove 'workaround' .ctor for `BatchedBlob`
3. Revert tensor descriptors of `I420Blob` `NV12Blob` back to the 'fake' value.

* Code review fix

* Add functional tests for CPU, GPU, MULTI, HETERO

* update doc comment

* Apply code review change requests.

3 years agoUpdated requirements dependency (#2950)
Evgeny Lazarev [Tue, 3 Nov 2020 15:26:11 +0000 (18:26 +0300)]
Updated requirements dependency (#2950)

3 years agoSigmoid revise (#2942)
Piotr Szmelczynski [Tue, 3 Nov 2020 15:16:16 +0000 (16:16 +0100)]
Sigmoid revise (#2942)

* remove sigmoid_backprop

* Update Sigmoid spec

* Update Sigmoid spec

3 years ago[IE TESTS] Fix reg exp for issue 42029 (#2957)
Irina Efode [Tue, 3 Nov 2020 15:12:24 +0000 (18:12 +0300)]
[IE TESTS] Fix reg exp for issue 42029 (#2957)

3 years agoAligned python read_network() with C/C++ behaviour (#2916)
Mikhail Ryzhov [Tue, 3 Nov 2020 13:18:43 +0000 (16:18 +0300)]
Aligned python read_network() with C/C++ behaviour (#2916)

Aligned python read_network() with C/C++ behaviour

Excluded mandatory check of weights file, it is redundant

* Added unit tests

3 years agoAdded info on DockerHub CI Framework (#2918)
Andrey Zaytsev [Tue, 3 Nov 2020 13:14:27 +0000 (16:14 +0300)]
Added info on DockerHub CI Framework (#2918)

3 years ago[GNA] Set default compact_mode (#2895)
Andrey Dmitriev [Tue, 3 Nov 2020 13:10:54 +0000 (16:10 +0300)]
[GNA] Set default compact_mode (#2895)

3 years agoAdd IR reader test for hsigmoid op (#2825)
iliya mironov [Tue, 3 Nov 2020 11:13:08 +0000 (14:13 +0300)]
Add IR reader test for hsigmoid op (#2825)

* Add IR reader test for hsigmoid op

* update ir

* Fix decomposition

* Update hsigmoid ir reader test

* Update unit test

* fix test

3 years ago[IE CLDNN] Fix X/Y swap in NV12 shared surface input layout (#2949)
Mikhail Letavin [Tue, 3 Nov 2020 10:29:36 +0000 (13:29 +0300)]
[IE CLDNN] Fix X/Y swap in NV12 shared surface input layout (#2949)

3 years agoAbort previous builds on PR update (#2877)
Rafal Blaczkowski [Tue, 3 Nov 2020 09:54:31 +0000 (10:54 +0100)]
Abort previous builds on PR update (#2877)

3 years ago[IE][VPU]: Support for Bidirectional mode in Broadcast DTS (#2873)
Andrew Bakalin [Tue, 3 Nov 2020 08:59:06 +0000 (11:59 +0300)]
[IE][VPU]: Support for Bidirectional mode in Broadcast DTS (#2873)

* [VPU][DTS] Update broadcast DTS to support BIDIRECTIONAL mode
* [VPU][Tests] Update tests with inference
* [VPU][Tests] Extend DTS tests

3 years ago[IE][VPU]: Interpolate - reuse "interp", "resample" layers (#2932)
Andrey Sokolov [Tue, 3 Nov 2020 08:56:55 +0000 (11:56 +0300)]
[IE][VPU]: Interpolate - reuse "interp", "resample" layers (#2932)

Reuse existing "interp", "resample" layers
task: #-29955

3 years agoFixed README (#2948)
Ilya Churaev [Tue, 3 Nov 2020 07:56:28 +0000 (10:56 +0300)]
Fixed README (#2948)

3 years agoFix cases when identities inserted identites are separated by nonFunctional layers...
Kamil Magierski [Tue, 3 Nov 2020 07:49:58 +0000 (08:49 +0100)]
Fix cases when identities inserted identites are separated by nonFunctional layers (#2771)

3 years agoHandle multiple GNA devices and modes HW/SW (#2720)
Krzysztof Bruniecki [Tue, 3 Nov 2020 07:49:09 +0000 (08:49 +0100)]
Handle multiple GNA devices and modes HW/SW (#2720)

* Introduce Gna2DeviceGetCount

* Check for the number of GNA devices

* Add Gna2DeviceGetCount() mock

3 years ago[GNA] Added export input/output names (#2601)
Andrey Dmitriev [Tue, 3 Nov 2020 07:45:08 +0000 (10:45 +0300)]
[GNA] Added export input/output names (#2601)

* [GNA] Added export input/output names

* fix comment

* Change version

3 years agoRemove obsoleted v0::Reshape operator (#2878)
Mateusz Tabaka [Tue, 3 Nov 2020 04:01:34 +0000 (05:01 +0100)]
Remove obsoleted v0::Reshape operator (#2878)

* Remove obsoleted v0::Reshape operator

* Fix handling negative dims on 32 bit platforms

Change-Id: Ia18e20df9a79fd0b7b38c434bee7140599833952

* apply code format

Change-Id: I4ddfb9e7033cbc97e167922f6ee5873d5487e551

3 years agoAdded check in hello sample (#2896)
Anton Romanov [Tue, 3 Nov 2020 03:34:06 +0000 (19:34 -0800)]
Added check in hello sample (#2896)

* Added check in hello sample

* move check before inference

3 years agoCompilation with MSVC for ARM (#2928)
Ilya Lavrenov [Mon, 2 Nov 2020 21:55:49 +0000 (00:55 +0300)]
Compilation with MSVC for ARM (#2928)

* Enable compilation with MSVC for ARM / ARM64

* Condition fix

3 years agoAdded transformation config to support automl efficientdet models (#2894)
Evgeny Lazarev [Mon, 2 Nov 2020 16:21:05 +0000 (19:21 +0300)]
Added transformation config to support automl efficientdet models (#2894)

* Added transformation config to support automl efficientdet-4 model

* Added configuration file to convert Automl EfficientDet model

* Updated unit test for Pack

* Added instruction on how to convert EfficientDet Tensorflow model

* Updated documentation on how to convert EfficientDet model

* Updated a documentation with instruction on how to convert Automl EfficientDet.

3 years ago[CPU] Added eltwise Round-5 (#2347)
Alexandra Sidorova [Mon, 2 Nov 2020 15:44:50 +0000 (18:44 +0300)]
[CPU] Added eltwise Round-5 (#2347)

3 years agoFixed FAST build mode (#2926)
Ilya Lavrenov [Mon, 2 Nov 2020 14:58:52 +0000 (17:58 +0300)]
Fixed FAST build mode (#2926)

3 years ago[IE TESTS] Split Layer Test refactoring (#2915)
Aleksandr Korolev [Mon, 2 Nov 2020 13:29:59 +0000 (16:29 +0300)]
[IE TESTS] Split Layer Test refactoring (#2915)

Co-authored-by: kora6 <kora6@github.com>
3 years agoRemove remaining Myriad-2 references (#2853)
Andrey Kamaev [Mon, 2 Nov 2020 12:10:50 +0000 (15:10 +0300)]
Remove remaining Myriad-2 references (#2853)

* Fix Myriad firmware copying command for multi-target cmake generators

* Remove remaining Myriad-2 references

* Remove remaining Myriad-2 compute stick from documentation

3 years agoChange pip install documentation (#2884)
Anton Romanov [Mon, 2 Nov 2020 11:09:54 +0000 (03:09 -0800)]
Change pip install documentation (#2884)

3 years agoVisitor API deserialization - create models for ops (#2889)
Bartek Szmelczynski [Mon, 2 Nov 2020 10:48:53 +0000 (11:48 +0100)]
Visitor API deserialization - create models for ops (#2889)

* add tests for 11 operators, which compare V7 and V10 version of the model optimizer

* add test for space_to_depth model

3 years ago[IE CLDNN] Fixed unitialized parameters in resample primitive which led to kernels...
Vladimir Paramuzov [Mon, 2 Nov 2020 10:31:07 +0000 (13:31 +0300)]
[IE CLDNN] Fixed unitialized parameters in resample primitive which led to kernels recompilation (#2923)

3 years agoUnmark passed ONNX test
Alexander Peskov [Thu, 29 Oct 2020 15:14:39 +0000 (18:14 +0300)]
Unmark passed ONNX test

Signed-off-by: Alexander Peskov <alexander.peskov@intel.com>
3 years ago[TEST] One more trivival loop test
Alexander Peskov [Wed, 28 Oct 2020 22:34:18 +0000 (01:34 +0300)]
[TEST] One more trivival loop test

Signed-off-by: Alexander Peskov <alexander.peskov@intel.com>
3 years ago[CPU] Fix case with unused port in Loop body
Alexander Peskov [Wed, 28 Oct 2020 21:15:53 +0000 (00:15 +0300)]
[CPU] Fix case with unused port in Loop body

Signed-off-by: Alexander Peskov <alexander.peskov@intel.com>
3 years ago[TEST] One more trivial test case on Loop
Alexander Peskov [Tue, 27 Oct 2020 22:42:52 +0000 (01:42 +0300)]
[TEST] One more trivial test case on Loop

Also fixed compilation with gcc4.8

Signed-off-by: Alexander Peskov <alexander.peskov@intel.com>
3 years ago[CPU] Improve replication of passthrough Loop body
Alexander Peskov [Tue, 27 Oct 2020 22:36:33 +0000 (01:36 +0300)]
[CPU] Improve replication of passthrough Loop body

There was some problem with replicatioon of simple loop body where
input was used as output as is.

Also was voided usage of special prefixes like "in_" for Loop body inputs.

Signed-off-by: Alexander Peskov <alexander.peskov@intel.com>
3 years agoMin. Additional assert in copyTIBoody
Alexander Peskov [Tue, 27 Oct 2020 22:34:16 +0000 (01:34 +0300)]
Min. Additional assert in copyTIBoody

Signed-off-by: Alexander Peskov <alexander.peskov@intel.com>
3 years ago[TEST] Several more Loop test with static shapes
Alexander Peskov [Wed, 21 Oct 2020 23:49:51 +0000 (02:49 +0300)]
[TEST] Several more Loop test with static shapes

Signed-off-by: Alexander Peskov <alexander.peskov@intel.com>
3 years ago[CPU] implement Loop specification of TI node
Alexander Peskov [Wed, 21 Oct 2020 23:48:48 +0000 (02:48 +0300)]
[CPU] implement Loop specification of TI node

Signed-off-by: Alexander Peskov <alexander.peskov@intel.com>
3 years ago[NG] Keep special purposes port info in Loop after conversion to legacy
Alexander Peskov [Wed, 21 Oct 2020 23:37:20 +0000 (02:37 +0300)]
[NG] Keep special purposes port info in Loop after conversion to legacy

Also:
Simplified logic of data object name restoring. Avoid duplicatin of input ports
in case of multiple consumers. Provided code has WA comment in corresponding
naming restore section. Also added WA section with restore U8 precision for ouputs.
Avoid to eliminate limitation of CNNNetwork converter.

Signed-off-by: Alexander Peskov <alexander.peskov@intel.com>
3 years ago[TEST] improve data utils
Alexander Peskov [Wed, 21 Oct 2020 23:30:42 +0000 (02:30 +0300)]
[TEST] improve data utils

Signed-off-by: Alexander Peskov <alexander.peskov@intel.com>
3 years agoAvoid '-' symbol for test name
Alexander Peskov [Tue, 20 Oct 2020 09:37:43 +0000 (12:37 +0300)]
Avoid '-' symbol for test name

Signed-off-by: Alexander Peskov <alexander.peskov@intel.com>
3 years agoLoop tests enabled back
Alexander Peskov [Mon, 19 Oct 2020 17:17:50 +0000 (20:17 +0300)]
Loop tests enabled back

Signed-off-by: Alexander Peskov <alexander.peskov@intel.com>
3 years ago[IE] Improve Network topological sort in case of disconnected graph
Alexander Peskov [Wed, 28 Oct 2020 22:37:20 +0000 (01:37 +0300)]
[IE] Improve Network topological sort in case of disconnected graph

Signed-off-by: Alexander Peskov <alexander.peskov@intel.com>
3 years agoImprove CopyTIBody util to cover disconnected graphs
Alexander Peskov [Mon, 19 Oct 2020 17:16:34 +0000 (20:16 +0300)]
Improve CopyTIBody util to cover disconnected graphs

Signed-off-by: Alexander Peskov <alexander.peskov@intel.com>
3 years agoRemove obsoleted v0::StopGradient op (#2935)
Mateusz Tabaka [Mon, 2 Nov 2020 09:22:01 +0000 (10:22 +0100)]
Remove obsoleted v0::StopGradient op (#2935)

3 years agorefactor one-hot nGraph backend test (#2578)
Tomasz Jankowski [Mon, 2 Nov 2020 09:12:39 +0000 (10:12 +0100)]
refactor one-hot nGraph backend test (#2578)

3 years agoAvoid verbose return-type warnings (#2420)
Tomasz Jankowski [Mon, 2 Nov 2020 09:11:35 +0000 (10:11 +0100)]
Avoid verbose return-type warnings (#2420)

3 years agonGraph backend tests refactor: gather, numeric (#2367)
Tomasz Jankowski [Mon, 2 Nov 2020 09:10:25 +0000 (10:10 +0100)]
nGraph backend tests refactor: gather, numeric (#2367)

3 years agoFixed compilation errors / warnings with clang (#2929)
Ilya Lavrenov [Mon, 2 Nov 2020 08:56:38 +0000 (11:56 +0300)]
Fixed compilation errors / warnings with clang (#2929)

3 years agoRemove obsoleted v0::Or operator (#2857)
Mateusz Tabaka [Mon, 2 Nov 2020 03:49:03 +0000 (04:49 +0100)]
Remove obsoleted v0::Or operator (#2857)

* Remove obsoleted v0::Or operator

* apply style format

3 years agoRemove deprecated v0::Round op (#2905)
Mateusz Tabaka [Mon, 2 Nov 2020 03:47:35 +0000 (04:47 +0100)]
Remove deprecated v0::Round op (#2905)

3 years agoRemove deprecated v0::Reverse op (#2899)
Mateusz Tabaka [Mon, 2 Nov 2020 03:46:30 +0000 (04:46 +0100)]
Remove deprecated v0::Reverse op (#2899)

* Remove deprecated v0::Reverse op

* fix unit tests

* add include for std::inserter

3 years agoTemporarily skip ExecGraphTests.CheckExecGraphInfoSerialization on GPU (#2921)
Andrey Babushkin [Sun, 1 Nov 2020 09:55:50 +0000 (12:55 +0300)]
Temporarily skip ExecGraphTests.CheckExecGraphInfoSerialization on GPU (#2921)

* Skip ExecGraphTests.CheckExecGraphInfoSerialization on GPU

* [execution_graph_tests] Add test skipping macro

* Add missing import

3 years agoAdding sinks to ngraph::Function (#2741)
Svetlana Dolinina [Sat, 31 Oct 2020 16:41:05 +0000 (19:41 +0300)]
Adding sinks to ngraph::Function (#2741)

* initial draft of adding sinks to ngraph::Function

* style fixes

* code style fixes

* code style fixes

* code style fix

* review fix+build fix

* code style fix

* fix build

* API changed according to latest discussion

* review fixes

* review fixes + tests

* added 1 more ctor

* style fixes

* used new api in ir parser

* fixed build

* review fixes

* remove validate_nodes_and_infer_types from remove_sink/remove_result

* removed validate_.. after discussion

* style fix

3 years ago[IE][VPU]: GatherND layer & tests (#2710)
Maxim Kurin [Fri, 30 Oct 2020 23:02:23 +0000 (02:02 +0300)]
[IE][VPU]: GatherND layer & tests (#2710)

* GatherND layer & test
* Update vpu firmware 1452

3 years ago[LPT] nGraph nodes naming fix (#2822)
Edward Shogulin [Fri, 30 Oct 2020 20:23:35 +0000 (23:23 +0300)]
[LPT] nGraph nodes naming fix (#2822)

* [LPT] functional tests: FakeQuantize with dynamic intervals

* [LPT] decomposeFakeQuantize: removed debug info

* [LPT] Add NetworkHelper::mark_as_dequantization_op function

[ngraph] Fix compare runtime info function

[LPT] Fix test cases with no DEQUANTIZATION runtime attribute

[LPT] Change include path for dequantization op

* [LPT] Remove Subtract functional test, enable and rename legacy tests

Co-authored-by: Vladislav Golubev <vladislav.golubev@intel.com>
Co-authored-by: Aleksandr Pertovsky <aleksandr.pertovsky@intel.com>
3 years agoAdded support for Visual Studio VERSIONINFO (#2900)
Ilya Lavrenov [Fri, 30 Oct 2020 18:38:34 +0000 (21:38 +0300)]
Added support for Visual Studio VERSIONINFO (#2900)

* Generate vs_version file

* Fixed comments

* Fixed comments

3 years agoFixed cmake stage with BUILD_SHARED_LIBS=ON (#2914)
Ilya Lavrenov [Fri, 30 Oct 2020 18:37:51 +0000 (21:37 +0300)]
Fixed cmake stage with BUILD_SHARED_LIBS=ON (#2914)

3 years agoFixed compilation with ENABLE_V7_SERIALIZE=ON (#2898)
Ilya Lavrenov [Fri, 30 Oct 2020 18:19:12 +0000 (21:19 +0300)]
Fixed compilation with ENABLE_V7_SERIALIZE=ON (#2898)

* Fixed compilation with ENABLE_V7_SERIALIZE=ON

* Removed legacy code

3 years agoadded OpenVINO Model Server to docs (#2541)
Trawinski, Dariusz [Fri, 30 Oct 2020 16:57:01 +0000 (17:57 +0100)]
added OpenVINO Model Server to docs (#2541)

* added OpenVINO Model Server

* updated documentation to include valid links

* minor fixes

* Fixed links and style

* Update README.md

fixed links to model_server

* more corrections

* dropped reference in ie_docs and minor fixes

* Update README.md

Fixed links to Inference Engine pages

Co-authored-by: Alina Alborova <alina.alborova@intel.com>
Co-authored-by: Andrey Zaytsev <andrey.zaytsev@intel.com>
3 years ago[IE CLDNN] Added int8 output suppirt into bfyx_to_fsv16 fp kernel (#2906)
Vladimir Paramuzov [Fri, 30 Oct 2020 12:19:02 +0000 (15:19 +0300)]
[IE CLDNN] Added int8 output suppirt into bfyx_to_fsv16 fp kernel (#2906)

3 years ago[IE CLDNN] Fix for some unwanted behaviour in layout optimizer (#2669)
Mikołaj Życzyński [Fri, 30 Oct 2020 12:18:14 +0000 (13:18 +0100)]
[IE CLDNN] Fix for some unwanted behaviour in layout optimizer (#2669)

3 years ago[MO] Add CMake install for Model Optimizer (28291) (#2831)
Sergey Lyubimtsev [Fri, 30 Oct 2020 11:37:06 +0000 (14:37 +0300)]
[MO] Add CMake install for Model Optimizer (28291) (#2831)

* [MO] Add CMake install for Model Optimizer

* [MO] Update test for version.py

* [MO] Add CMake install for Model Optimizer

* [MO] Update test for version.py

* [MO] Add CMake install for Model Optimizer

* [MO] Update test for version.py

* [MO] fix file permissions for install location