Commit Graph

2566 Commits

Author SHA1 Message Date
Gladilov, Gleb
79fa676e35
[IE][VPU]: Fixes Extract Dynamic Batch (#3978)
LCA (Least Common Ancestor) search procedure must
take sub-graph without external connections to be able
to count depths of nodes. Previously, just 2 steps of
removing external connections were executed (1 time for
top sub-graph and 1 time for bottom one). In case if
originally top sub-graph had no external connections,
but bottom one had, after removing external nodes from
bottom sub-graph, some of the nodes from top sub-graph
could became external. In order to prevent that, removing
external connections must always be a loop until no
external connections found in both top and bottom sub-graphs.

Signed-off-by: Gladilov, Gleb <gleb.gladilov@intel.com>
2021-02-01 16:43:04 +03:00
Nikolay Tyukaev
4aa6f6a168
docs copy code button (#4017)
* copy code button

* copy code button updates
2021-02-01 14:57:55 +03:00
Ewa Tusień
80781ff359
Add MVN-6 op to ONNX importer (#4012) 2021-02-01 12:39:39 +01:00
Eugeny Volosenkov
1a787cb3ba
Re-implement caffe old-style extractors with extractor extensions (#3675)
* move crop extractor

* Add concat_ext.py

* Add roipooling_ext.py

* Add roipooling_ext

* Add scale extractor

* Add scale extractor

* Add bn_ext.py and dropout_ext.py

* Add bn_ext.py and dropout_ext.py

* Add bn_ext.py and dropout_ext.py

* Fix bn.ext.py

* Sort fix

* Fix bn_test.py

* rename to batchnorm_ext

* Add bn_ext

* Fix batchnorm_ext.py

* small fix

* Small fix
2021-02-01 13:17:17 +03:00
Anna Likholat
a6a5635a59
added log extractor for tf (#4090) 2021-02-01 11:26:03 +03:00
Anastasia Kuporosova
8cb25fdb98
[Python API] Support of FP16 blobs (#3893)
* [Python API] Support of FP16 blobs

* test_Blob refactoring

* support fp16 for exec_net.infer method

* add precisions

Co-authored-by: anastasia.kuporosova <akuporos@akuporos.inn.intel.com>
2021-02-01 09:12:32 +03:00
Sergey Lyubimtsev
abaf155b42
Prevent targets installation for 3rd party libs (mkl-dnn) (#4096) 2021-01-31 12:54:50 +03:00
Vitaliy Urusovskij
8abbfbc855
Design test config and integrate in CC tests (#4051) 2021-01-29 16:54:19 +03:00
Evgeny Lazarev
3669205a44
Added support for the MxNet op take (#4071) 2021-01-29 15:48:33 +03:00
Yury Gaydaychuk
7500bbd3b1
[CPU] ROIPooling with 1x1 pooled shape in bilinear mode fixed (#4020) 2021-01-29 15:09:39 +03:00
Vladislav Volkov
4b64c64c62
Suppressing warning about unused variables for selective build of MKLDNN plugin. (#4039) 2021-01-29 13:11:50 +03:00
Patryk Elszkowski
450f01280a
[compare_function] compare ops attributes (#3966)
* [compare_function] compare ops attributes value by value

* Storage cleanup

* Add comparison for:
- SubGraphOpInputDescription
- SubGraphOpOutputDescription
- SpecialBodyPorts

* cleanup

* Report error on unhandled types

* Change comparison of floating-point to general approach

Co-authored-by: Patryk Elszkowski <patryk.elszkowki@intel.com>
2021-01-29 12:30:57 +03:00
Anton Chetverikov
6b54e738d7
Update operation attributes (#3814)
* Allign attribute values in spec

* Fix wrong attribute name in spec

* Add `get_boolean_attr` function

* Add get_type function

* Update conv attrs

* Update copyright year

* Add missed attrs, update copyright year

* Fix year in copyright

* Update ir parser for RegionYolo layer

* Remove wrong changes for BinaryConvolution

* Remove get_type function as it no more needed

* Update check for reduce ops

* Fix error in reduce attrs

* Update ir_engine to work with bool attrs

* Update DetectionOutput operation

* Update PSROIPooling

* remove redundant attrs from spec

* Update get_boolean_attr function

* Update Reduce operations

* Update DetectionOutput specification

* Update specification for missed attrs

* Apply comments

* Fixconst renumbering logic

* Fix typo

* Change default value to fix broken shape inference

* Add additional asserts

* Add comment

* model-optimizer/mo/utils/ir_reader/layer_to_class.py

* Sort imports

* Sort imports

* Update year in copyright

* Update const

* Remove changes from const restoring

* Rename function

* remove unnecessary changes

* model-optimizer/mo/front/extractor_test.py

* Fix year in copyright

* Add soft_get

* Fix exclude-pad attribute name for AvgPool operation

* Update exclude_pad attribute values

* Remove useless comment

* Update examples in specification

* Remove file added by mistake

* Resolve comments

* Resolve comments

* Add return value

* Allign global_pool attribute
2021-01-29 10:08:06 +03:00
Gorokhov Dmitriy
a8b921791e
[CPU] Disabled input zero point fusing into fp32 Convolution (#4056) 2021-01-29 08:38:58 +03:00
Vladislav Volkov
a67a72084f
-no-unused-XXX options added for selective build mode (#3702) 2021-01-29 06:53:42 +03:00
Ilya Churaev
2ebae7cf30
Introduce the Broker API to map original framework names to OV (#3800)
* Added tests

* Fixed tests

* Added tests to check addOutput method

* Added support of port names in the IR

* Update copyrights

* Deprecate tensor name

* Fixed comments

* Enabled functional tests for GPU, GNA and Myriad

* Fixed get_tensor().get_names()

* Added unit test to check tensor names

* Fixed code style

* Skip add output test for GNA

* Added serialization support

* Added PythonAPI

* Fixed tests

* Fixed tests

* Fixed typo

* Try to disable GNA test

* Fixed tests

* Removed unused variables

* Fixed tests

* Update documentation

* Fixed comment
2021-01-29 06:28:31 +03:00
Yury Gaydaychuk
b0f5a339e1
Proposal test uses special run() method to check exception throwing (#4062)
* proposal test uses special run() method to check exception throwing

* validate() removed from run()
2021-01-28 21:16:13 +03:00
Maksim Shabunin
08c4ac5372
Refactor install_openvino_dependencies script: extra options and cleanup (#3868)
* Refactor install_openvino_dependencies script: extra options and cleanup

* install_dependencies: added more python tools

* install_openvino_dependencies: extra OS checks

Verify consistency for future edits

* install_openvino_dependencies: clarify messages
2021-01-28 20:15:06 +03:00
Ilya Lavrenov
5f982ca6ac
Removed obsolete ie_profiling.hpp (#4043) 2021-01-28 20:04:52 +03:00
Ilya Lavrenov
117c04def1
Fixed compilation of ngraph python on some compilers (#4015)
* Fixed compilation of ngraph python on some compilers

* Fixed ONNX importer dependencies compilation for gcc 5.4.0 and 5.5.0
2021-01-28 18:58:10 +03:00
Anton Romanov
17eff0cd04
Added copy tools dir for all OS (#4007) 2021-01-28 15:17:50 +03:00
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 Shogulin
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