Commit Graph
2345 Commits
Author SHA1 Message Date
Andrey Somsikov 81da815dd8 Add conditional compilation tests (#3996) 2021-01-28 13:27:07 +03:00
Ilya Lavrenov 78585c2fe8 Updated readme.md (#4052) 2021-01-28 12:05:19 +03:00
Yury Gaydaychuk a1422a49d7 [CPU] PSROIPooling node enhancements (#3851)
- bf support for PSROIPooling
- nhwc, blocking formats support
- code refactor & performance improvements
- cpu specific tests
2021-01-28 11:55:54 +03:00
Edward ShogulinandAleksandr Pertovsky 46f0775c09 [LPT] Add NormalizeDequantization function in NetworkHelper (#3458)
* [LPT] Add NormalizeDequantization function in NetworkHelper.

* [LPT] Handling subtract constant index in makeDequantization

* [LPT] Extend Add and Multiply transformations with normalizeDequantization.

* [LPT] Add/Subtract simplify normalizeDequantization call

* [LPT] normalizeDequantization: usage replace_node instead of copy assignment

* [LPT] Update lpt paths

* [LPT] normalizeDequantization completion + refactoring

Co-authored-by: Aleksandr Pertovsky <aleksandr.pertovsky@intel.com>
2021-01-28 11:30:52 +03:00
Aleksandr Pertovsky 885a493336 [LPT] Handle empty dequantization in MultiplyToGroupConvolution (#3818)
Add const
2021-01-28 11:23:30 +03:00
Ilya Lavrenov f88840d500 Fixed compilation with ENABLE_V7_SERIALIZE (#4037) 2021-01-27 18:40:31 +03:00
Elizaveta Lobanova 65053df07c [GNA] Convolution without --disable_nhwc_to_nchw option for TF models. (#3918) 2021-01-27 17:15:34 +03:00
Andrey Dmitriev 1902e14ba0 [GNA] Fix import model with header version 2.1 (#4023)
[GNA] Fix import model with header version 2.1

Added fix version import

Added template test

Added test for backword compatibility

added test
2021-01-27 15:06:29 +03:00
Artyom Anokhov 344494a935 [Scripts] setupvars.bat: Added logic for passing '-pyver' option (#4026)
* setupvars.bat: Added logic for passing '-pyver' option as we already have in Linux* setupvars

* setupvars.bat: Fixed python_version name in echo
2021-01-27 12:51:55 +03:00
Mateusz Bencer b90f908c58 Enable Bersquad-10 in ONNX CI (#3889) 2021-01-27 10:22:16 +01:00
Gleb Kazantaev b6d9dba444 Generic LoadTime Optimizations (#4011)
* Updated container passes to return false to avoid excess function validation

* Added support for nested GraphRewrite registration

* Updated passes to use MatcherPass; Reorganized CommonOptimizations pipeline

* Disable node validation when graph is not modified
2021-01-27 11:53:11 +03:00
Alexey Suhov 68f2507811 [dependencies.cmake] Add license to tbb archive (#4018) 2021-01-27 00:33:27 +03:00
Vladislav Golubev 9371393311 [IE CLDNN] StridedSliceTransformation removed from GPU plugin (#4016) 2021-01-26 18:44:29 +03:00
Bartosz Sledz 247606baf6 Add support for nonconstant optional NMS-5 inputs (#3640) 2021-01-26 14:41:28 +01:00
Gorokhov Dmitriy d58b4c65c8 [CPU] Plugin migration on oneDNN (v1.6) (#3725) 2021-01-26 16:31:10 +03:00
Mikhail Treskin 0284cd69a8 Remove Fake Quantize OP decomposition (#3506)
* Remove Fake Quantize OP decomposition

* Fix FQ OP inheritance
2021-01-26 14:53:31 +03:00
Andrey Dmitriev 9817b22295 [GNA] Fix ParseBlobName and message for output layer names (#3527) 2021-01-26 14:23:36 +03:00
Ilya Churaev 2931cabf44 Add a target to fetch and build Intel SEAPI (#3915) 2021-01-26 13:16:51 +03:00
Andrew Bakalin 0772bbd302 [IE COMMON] Fixes for EliminateUnsqueezeGather transformation (#4013) 2021-01-26 12:42:36 +03:00
Michał Karzyński f76e1d9d56 Update ONNX build dependency to v 1.8 (#3716) 2021-01-26 10:37:06 +01:00
dependabot[bot] c203e7e95f Bump tox from 3.20.1 to 3.21.2 in /ngraph/python (#4003) 2021-01-26 10:25:35 +01:00
Szymon Durawa 0791987491 Add Loop serialization, SLT and regular test. (#3980)
* Add Loop serialization, SLT and regular test.

* Remove loop test from SerializationTensorIteratorTest, add bin for test loop xml.

* Remove metadata section from loop xml file.

* Remove m_num_iterations initialization, it is done during validate_and_infer_types().
2021-01-26 12:25:06 +03:00
Nikolay Shchegolev 245bc33e8a [CPU] GatherElements implementation. (#3860) 2021-01-26 09:53:20 +03:00
Mateusz Tabaka d5aa6d4fa1 Move ClampFusion before HSwishFusion and HSigmoidFusion (#3994)
HSwishFusion and HSigmoidFusion use Clamp in their patterns,
so that change allows for even more fusions.
2021-01-25 22:36:47 +03:00
Andrew Bakalin 09e2231720 [IE Common][VPU]: Fix small input size inference for dynamic model (#3847)
* eliminate Unsqueeze+Gather pair, when Gather gathers data by 1 dimension which was previously added by Unsqueeze which is actually doing nothing.
* calculate K only once in StaticShapeTopK. The problem happens when we have ShapeOf->Concat->ReduceMin subgraph for K evaluation. If we have a pretty small input size, the value that we received from ShapeOf may be less than one that it is concatenated with (e.g. ShapeOf 283 vs const 300), so ReduceMin returns 283. After ShapeOf elimination we don't have a chance to propagate 283 so we get 300 as a result and shape inference fail then. There are no problems with bigger input sizes just because ShapeOf always propagates value >300 and there are no such mismatch.
2021-01-25 19:17:32 +03:00
Sergey Lyubimtsev ce0537bd1f [CMake] Fixes for TBB tmp location (#3997)
* fixes for TBB tmp location:

- DL_SDK_TEMP path is not normalized, that leads to paths check mismatch in CMake conditions
- TBB is not downloaded again in a case tmp location is cleaned up and build restarted (TBB_DIR and TBBROOT are cache variables)

* use reset_deps_cache & update_deps_cache for TBB_DIR var.

* single  reset_deps_cache call
2021-01-25 19:06:12 +03:00
Edward Shogulin cb266db570 [LPT] Disabling failed on GPU LPT StridedSlice plugin tests (#4001) 2021-01-25 18:13:42 +03:00
Szymon Durawa 0157800887 Remove layerCreator for logical ops. (#3970)
* Remove layerCreator for logical ops.

* Remove visit_attributes() for LogicalOr op.
2021-01-25 15:17:56 +03:00
Pavel Esir efa5b6063a [nGraph] Fix bound check for reference GatherElements (#3981)
* fix bound check for reference GatherElements

* apply review comments
2021-01-25 15:10:52 +03:00
Jan Iwaszkiewicz 647104f602 [nGraph][ONNX] WA for currently unsupported precisions (#3964) 2021-01-25 13:08:15 +01:00
Irina Efode aa775cc0a1 [IE TESTS] Remove TEST_P(Range... from lib with shared_classes (#3999) 2021-01-25 14:45:05 +03:00
Anton Chetverikov a4f28ffe3e Fix restoring constant ops with old numbering (#3951)
* Add check to correct restoring constant ops with old numbering

* Resolve comments

* Update comment
2021-01-25 14:41:30 +03:00
Piotr Szmelczynski 96b2ffa9ab Revise topk (#3819)
* Add visit_attribute and node validation check

* add type_prop test for default values

* style-apply

* Update node validation check for index_element_type

* Update type_prop test for default index_element_type

* Add index_element_type attribute to TopK_1 spec
2021-01-25 14:19:59 +03:00
Irina Efode d3f0242f58 [IE TESTS] Remove random weights generation of blobs (#3998) 2021-01-25 14:09:45 +03:00
Ilya Lavrenov 8311b98222 Pre-deprecation of ICNNNetwork (#3887)
* Deprecated ICNNNetwork

* MKLDNN plugin: partially

* MYRIAD plugin: partially

* Fixed Myriad Plugin

* Improved GNA; fixed MKLDNN

* Fixed tests

* Fixed GNA

* Fixed unit tests linkage

* Removed ICNNNetwork from tests

* Removed obsolete tests
2021-01-25 14:09:03 +03:00
Sergey Lyubimtsev 298506fb14 Demo scripts improvements. (#3954)
* Demo script improvements.

 - Detect Visual Studio version installed into not-default location
 - Fix change directory for a case VS and OpenVINO resideds on different disks
 - Align indents

* fix indents
2021-01-25 12:23:07 +03:00
Bartosz Lesniewski a7de2e7214 Remove ops from Layer Creator/ Node Converter - part 8 (#3979)
* remove equal op from layer creator

* remove greaterequal op from layer creator

* remove lstmcell op from layer creator

* remove psroipooling op from layer creator

* add missing newline

* alignment
2021-01-25 11:55:47 +03:00
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