Commit Graph

2535 Commits

Author SHA1 Message Date
Taylor Yeonbok Lee
38fab0265d
[IE CLDNN] Fixed scatter update op & reshape kernel (#4106) 2021-02-02 14:57:32 +03:00
Andrey Somsikov
9c1651b5ad
Fix SELECTIVE_BUILD=COLLECT build under sh (#4108)
SEAPI build fails with `pushd: not found`
2021-02-02 14:50:06 +03:00
Gladilov, Gleb
1f707610d6
[IE][nGraph][VPU]: Enables DTS for Loop (#3838)
* [IE][nGraph]: Enables const overload for SubGraphOp::get_function
* [IE][nGraph]: Deletes SubGraphOp copy constructor

SubGraphOp has clone_with_new_inputs function for
deep coping, while default copy constructor does
some kind of shallow one. In order to avoid
confusion, copy constructor is deleted since it's
unused anyway.

* [IE][nGraph]: Enables protected Loop copy constructor

Additional clone method is introduced in order to reuse
Loop::clone_with_new_inputs implementation.
Loop::clone_with_new_inputs implementation at the same
time is refactored, since there were extra job that
does not needed to be done there.

* [IE][VPU][nGraph]: Introduces StaticShapeLoop

StaticShapeLoop is a class derived from Loop
to override validate_and_infer_types method
in order to propagate upper-bounds through the
function instead of dynamic tensors.

It uses maximum_value estimation to get
upper-bound for iterations count in case if
it is dynamic.

* [IE][VPU][nGraph]: Refactors function validators in DTS

The same approach (nGraph operation to functor map) as
for DTS shape functors is used since validation is
operation type specific.

* [IE][VPU][nGraph]: Enables DTS for Loop

Only loops with inputs dynamic in batch
(iterations count) and static body are supported.
2021-02-02 13:06:34 +03:00
Mikhail Kozlov
6390d32c4c
Fix write output blob for Windows (#4126) 2021-02-02 12:56:25 +03:00
Evgenya Stepyreva
f1ffe4f9fd
nGraph value propagation (#3368)
* partial value and shape propagation

* TopK k propagation

* stylish commit

* style again

* Precalc Folding and broadcasting fix

* style

* Self review

* forgetting the unused values

* deleting unused variables

* Review

* self review

* disaster mistake fixed

* tests corrected

* mod to be inferred while creation

* LPT test fix

* tests fixes

* fix

* tests

* dynamic backend fix

* comments

* disable propagation
2021-02-02 12:03:56 +03:00
Bartosz Lesniewski
b97a986048
Remove ops from Layer Creator/ Node Converter - part 9 (#4019)
* remove variadicsplit op from layer creator

* remove reorgyolo op from layer creator

* remove psroipooling op from layer creator

* remove empty layer creator list and not used creator

* missing endline

* add reorgyolo case to ops missing in opset1

* remove trivial creators
2021-02-02 11:55:26 +03:00
Mateusz Tabaka
4e601eb315
Move Extension tests from ieFuncTests to cpuFuncTests (#3927)
* Move Extension tests from ieFuncTests to cpuFuncTests

* Move extension directory up
2021-02-02 11:55:14 +03:00
Maxim Andronov
c56f3cd170
[CPU] Fix NormalizeL2 + Multiply (#4047) 2021-02-02 11:43:35 +03:00
Andrey Zaytsev
235cd56e54
Feature/azaytsev/cherry picks from 2021 2 (#4069)
* Added info on DockerHub CI Framework

* Feature/azaytsev/change layout (#3295)

* Changes according to feedback comments

* Replaced @ref's with html links

* Fixed links, added a title page for installing from repos and images, fixed formatting issues

* Added links

* minor fix

* Added DL Streamer to the list of components installed by default

* Link fixes

* Link fixes

* ovms doc fix (#2988)

* added OpenVINO Model Server

* ovms doc fixes

Co-authored-by: Trawinski, Dariusz <dariusz.trawinski@intel.com>

* Updated openvino_docs.xml

* Added Intel® Iris® Xe Dedicated Graphics, naming convention info (#3523)

* Added Intel® Iris® Xe Dedicated Graphics, naming convention info

* Added GPU.0 GPU.1

* added info about Intel® Iris® Xe MAX Graphics drivers

* Feature/azaytsev/transition s3 bucket (#3609)

* Replaced https://download.01.org/ links with https://storage.openvinotoolkit.org/

* Fixed links
# Conflicts:
#	inference-engine/ie_bridges/java/samples/README.md

* Benchmarks 2021 2 (#3590)

* Initial changes

* Updates

* Updates

* Updates

* Fixed graph names

* minor fix

* Fixed link

* Implemented changes according to the review changes

* fixed links

* Updated Legal_Information.md according to review feedback

* Replaced  Uzel* UI-AR8 with Mustang-V100-MX8

* Feature/azaytsev/ovsa docs (#3627)

* Added ovsa_get_started.md

* Fixed formatting issues

* Fixed formatting issues

* Fixed formatting issues

* Fixed formatting issues

* Fixed formatting issues

* Fixed formatting issues

* Fixed formatting issues

* Updated the GSG topic, added a new image

* Formatting issues fixes

* Formatting issues fixes

* Formatting issues fixes

* Formatting issues fixes

* Formatting issues fixes

* Formatting issues fixes

* Formatting issues fixes

* Formatting issues fixes

* Formatting issues fixes

* Formatting issues fixes

* Formatting issues fixes

* Formatting issues fixes

* Formatting issues fixes

* Revert "Formatting issues fixes"

This reverts commit c6e6207431.

* Replaced to Security section

* doc fixes (#3626)

Co-authored-by: Nikolay Tyukaev <ntyukaev_lo@jenkins.inn.intel.com>
# Conflicts:
#	docs/IE_DG/network_state_intro.md

* fix latex formula (#3630)

Co-authored-by: Nikolay Tyukaev <ntyukaev_lo@jenkins.inn.intel.com>

* fix comments ngraph api 2021.2 (#3520)

* fix comments ngraph api

* remove whitespace

* fixes

Co-authored-by: Nikolay Tyukaev <ntyukaev_lo@jenkins.inn.intel.com>

* Feature/azaytsev/g api docs (#3731)

* Initial commit

* Added content

* Added new content for g-api documentation. Removed obsolete links through all docs

* Fixed layout

* Fixed layout

* Added new topics

* Added new info

* added a note

* Removed redundant .svg
# Conflicts:
#	docs/get_started/get_started_dl_workbench.md

* [Cherry-pick] DL Workbench cross-linking (#3488)

* Added links to MO and Benchmark App

* Changed wording

* Fixes a link

* fixed a link

* Changed the wording

* Links to WB

* Changed wording

* Changed wording

* Fixes

* Changes the wording

* Minor corrections

* Removed an extra point

* cherry-pick

* Added the doc

* More instructions and images

* Added slide

* Borders for screenshots

* fixes

* Fixes

* Added link to Benchmark app

* Replaced the image

* tiny fix

* tiny fix

* Fixed a typo

* Feature/azaytsev/g api docs (#3731)

* Initial commit

* Added content

* Added new content for g-api documentation. Removed obsolete links through all docs

* Fixed layout

* Fixed layout

* Added new topics

* Added new info

* added a note

* Removed redundant .svg

* Doc updates 2021 2 (#3749)

* Change the name of parameter tensorflow_use_custom_operations_config to transformations_config

* Fixed formatting

* Corrected MYRIAD plugin name

* Installation Guides formatting fixes

* Installation Guides formatting fixes

* Installation Guides formatting fixes

* Installation Guides formatting fixes

* Installation Guides formatting fixes

* Installation Guides formatting fixes

* Installation Guides formatting fixes

* Installation Guides formatting fixes

* Installation Guides formatting fixes

* Fixed link to Model Optimizer Extensibility

* Fixed link to Model Optimizer Extensibility

* Fixed link to Model Optimizer Extensibility

* Fixed link to Model Optimizer Extensibility

* Fixed link to Model Optimizer Extensibility

* Fixed formatting

* Fixed formatting

* Fixed formatting

* Fixed formatting

* Fixed formatting

* Fixed formatting

* Fixed formatting

* Fixed formatting

* Fixed formatting

* Fixed formatting

* Fixed formatting

* Updated IGS, added links to Get Started Guides

* Fixed links

* Fixed formatting issues

* Fixed formatting issues

* Fixed formatting issues

* Fixed formatting issues

* Move the Note to the proper place

* Removed optimization notice
# Conflicts:
#	docs/ops/detection/DetectionOutput_1.md

* minor fix

* Benchmark updates (#4041)

* Link fixes for 2021.2 benchmark page  (#4086)

* Benchmark updates

* Fixed links

Co-authored-by: Trawinski, Dariusz <dariusz.trawinski@intel.com>
Co-authored-by: Nikolay Tyukaev <nikolay.tyukaev@intel.com>
Co-authored-by: Nikolay Tyukaev <ntyukaev_lo@jenkins.inn.intel.com>
Co-authored-by: Alina Alborova <alina.alborova@intel.com>
2021-02-02 11:29:12 +03:00
Mateusz Tabaka
ecb6d8604e
Add Add->Clamp->Div->Mul to HSwish fusion (#4027)
* Add Add->Clamp->Div->Mul to HSwish fusion

* use opset4 NS instead of op::v0, don't copy constants RT info

* use opset4 in tests
2021-02-02 11:12:21 +03:00
Jozef Daniecki
c1b0b03750
Convolution (#3922)
* Move Convolution and ConvolutionBackpropData ref impls into separate files.

* Add convolution unit tests.

* New convolution reference implementation.

* Remove unused convolution ref impl argument.

* Fix style.

* Revert "Remove unused convolution ref impl argument."

This reverts commit 739065d0d0.

* WA for arm-plugin: additional include with ConvolutionBackpropData.

* Style format in Convolution SLT CPU instantiation.

* Add 1D Convolution SLT CPU tests.

* Add Convolution Serialization SLT.

* Update source banners with 2021 date.

* Specification review.

* Readability improvement in padding detection.

* Refactoring regarding Tensor usage.

* Iteration over tensor slices made more readable.

* Code refactored to use only one convolution implementation.

3D convolution is used to compute also in 1D & 2D case (parameters,
inputs and filters shapes are adjusted accordingly).

* Removed Tensor abstraction.

* Name unnamed namespace as convolution_details.

* Refactoring: replaced std::next + negative index with std::prev.

* Specification refactoring.

* Revert "Name unnamed namespace as convolution_details."

This reverts commit cea526ec49.

* Added new convolution() overload.

* Fix legacy convolution() overload (needed for kmb-plugin).

* Reduced number of template type arguments in convolution ref impl.

* Added 'output' section in Convolution spec.

* Remove floating round type configuration.
2021-02-02 11:05:39 +03:00
Aleksandr Pertovsky
d754e9b311
[CPU] CumSum tensors with rank >= 6 support. (#3859) 2021-02-02 10:45:52 +03:00
Maxim Andronov
537179b235
[CPU] FakeQuantize decomposition (#3741) 2021-02-02 09:37:02 +03:00
Gleb Kazantaev
cca0d568e0
WrapType Improvements (#4040)
* Extended WrapType to consume multiple types; Added variadic wrap_type support

* Updated transformations to use wrap_type

* Fix BatchNormDecomposition

* Added tests
2021-02-02 09:27:05 +03:00
Michał Karzyński
3a86b3a17e
Update ONNX dependency to v 1.8.1 (#4114) 2021-02-02 07:05:26 +03:00
Nikolay Tyukaev
0ecc360664
fix comments ngraph api - master (#3519)
* fix comments ngraph api

* remove whitespace

* fixes

Co-authored-by: Nikolay Tyukaev <ntyukaev_lo@jenkins.inn.intel.com>
2021-02-02 07:01:58 +03:00
Evgenya Stepyreva
a6ea479688
[DOC] ShapeInference.md update. slyalin comments (#3355) (#4104)
* [DOC] ShapeInference.md update. slyalin comments

* Apply suggestions from code review

Co-authored-by: Alina Alborova <alina.alborova@intel.com>

* Apply suggestions from code review

Co-authored-by: Alina Alborova <alina.alborova@intel.com>

* Update docs/IE_DG/ShapeInference.md

Co-authored-by: Alina Alborova <alina.alborova@intel.com>

Co-authored-by: Alina Alborova <alina.alborova@intel.com>
2021-02-01 23:52:54 +03:00
Alexander Zhogov
2457225e08
Azure CI: Disable nGraph Mac tests IE_CPU/GRUSequenceOp.onnx_model_gru* 2021-02-01 19:53:20 +03:00
Chenhu Wang
4570550636
[CPU] Interpolate node: 5d support for onnx_linear mode (#3471) 2021-02-01 19:25:57 +03:00
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