Commit Graph

3225 Commits

Author SHA1 Message Date
Kate Generalova
99df448669
refactor: add clang style check for samples (#5306)
* refactor: add clang style check for samples

* fix: add .clang-format for ie

* fix: style check for missing headers

* refactor: remove cpplint for IE samples

* fix: setw is not a member of std for classification_results.hpp

* feat: add indent after ifdefine

* feat: set up google style for IE samples

* fix indents for w_dirent headers

* fix: include issues for utils.cpp due to clang-format
2021-04-22 14:02:54 +03:00
Elizaveta Lobanova
78cf72819b
[GNA] fix pwl for Sigmoid quantised with signed range (#5271) 2021-04-22 13:27:21 +03:00
Tomasz Dołbniak
3e8bc2db69
Handle f32/bf16 conversion in UT (#5330) 2021-04-22 11:59:29 +02:00
Kate Generalova
82e2b4188b
feat: add checks for Py samples (#5339) 2021-04-22 11:03:49 +03:00
Peter Würtz
b3ac14c8d4
Fix openvino build without OpenCV. (#5154)
* Fix openvino build without OpenCV.

* Don't call find_package in case of ENABLE_OPENCV=OFF
2021-04-22 09:46:40 +03:00
Anton Pankratv
aec12d6dff
Fixed missed linking references for outer plugins (#5341) 2021-04-22 09:44:44 +03:00
Alexey Lebedev
6770f7995e
[IE Python] fix BlobBuffer dtype for FP16 precision (#5155)
* Fix deepcopy

* Add test

* Revert dtype for BF16 precision

* Fix test

* Add exception for BF16

* Update BlobBuffer dtype for FP16 precision

* Revert exception for BF16

* Update test
2021-04-22 09:33:16 +03:00
Kate Generalova
22a3d81a59
install requirements file for common python (#5325) 2021-04-22 09:09:52 +03:00
Rafal Blaczkowski
805d184357
Enable parallel execution open vino onnx ci (#5332)
* Separate workdir for parallel runs

* Use random

* Get back old working configuration

* Change label

* Debug parameters

* Change models dir to SHA approach

* Fix WORKDIR names

* Change mountig models dirs

* Update model preproces script

* Improvements

* Isolate all private variables

* Fix model dir path

* Update model preproces

* Update node label

* Remove debug printlns
2021-04-22 08:58:11 +03:00
Ilya Churaev
9d37403f89
Changed clang-format for nGraph to fix namespace comments (#5269)
* Changed clang-format for nGraph to fix namepace comments

* Update comments

* Fixed code style
2021-04-22 08:06:54 +03:00
Ilya Churaev
a672b9c599
Enabled Wall for nGraph (#5270)
* Enabled Wall for nGraph

* Fixed Linux build

* Fixed ONNX Editor and class-memaccess

* Fixed topK

* Fixed some builds

* Fixed nGraph Python API

* Use std::fill instead of cycle

* Wno-unded and deprecation for app python versions
2021-04-22 06:24:03 +03:00
Nikolay Tyukaev
56e58c0443
fix labels (#5340) 2021-04-21 21:27:42 +03:00
Yegor Kruglov
d2c4d068b5
fixed mismatch of input names between framework and MO .mapping file (#5256) 2021-04-21 18:46:49 +03:00
Taylor Yeonbok Lee
6c46f26a3c
[IE CLDNN] Enabled fusing all types of reorders to permute (#5101)
* [IE CLDNN] Enabled fusing all types of reorders to permute
- Fusing reorder to differnt dims (e.g., 4D=>5D, 6D=>4D, etc)
- Fusing reorder to permute_opt kernel for blocked formats
- Fixed bug for activation_opt kernel for blocked formats

* [IE CLDNN] Enabled fusing all types of reorders to permute
Refactoring for permute fsv opt kernel

* [IE CLDNN] Permute reorder fusing
Support reordering to different dims from optimized permute kernel for blocked format
2021-04-21 17:50:53 +03:00
Taylor Yeonbok Lee
ad6a0e7e6d
[IE CLDNN] Add additional cost metric for deciding deconv kernel (#5252)
- gen9_common_conv_bwd_data_kernel (used for fsv16 format) has additional overhead w.r.t stride. Current intention of the kernel implementation is to reuse kernel b/w multiple input values but if the stride gets bigger the reusable rate descreses.
- Thus, added additional panelty for deciding deconv kernel (format)
2021-04-21 17:08:25 +03:00
Alexandra Sidorova
0d3baee1f3
[CPU] [IE TESTS] Added improvements for DepthToSpace and SpaceToDepth (#3897) 2021-04-21 16:45:07 +03:00
Nikolay Tyukaev
9abd69109c
fix (#5335) 2021-04-21 16:32:15 +03:00
Ilya Lavrenov
02bc98a03f
Removed suppressions for IInferRequest deprecation (#5310)
* Removed suppressions for IInferRequest deprecation

* Fixed Windows

* More fixes for Windows

* Fixed compilation on Windows

* Fixed comment in documentatipn

* Fixes for Andorid

* Fixes for old gcc 4.8

* WA for cross-compilations

* Fixed compilation

* Fixed HETERO plugin compilation for old compilers

* Flags

Co-authored-by: lab_ddpqa <lab_ddpqa@intel.com>
2021-04-21 16:05:30 +03:00
Tomasz Dołbniak
b65003ac59
Preserve the input names when extracting subgraphs (#5207) 2021-04-21 13:16:01 +02:00
Tomasz Socha
e44f0cb2ac
Switch ONNX Importer to gather v7 (#5084) 2021-04-21 13:08:40 +02:00
Bartosz Sledz
0cbcc519ed
Change ONNX Operator GroupNorm to use 4D input for MVN (#5324) 2021-04-21 12:07:47 +02:00
Vladimir Zinoviev
9e6d3bf40a
[CPU] Plugin fuse negative and denormal scales in FQ (#5159)
[LPT] Not fuse inf resulted scales in FQ
2021-04-21 12:53:49 +03:00
Piotr Szmelczynski
f3ef302114
Revise maximum (#5086)
* add floor_mode type_prop tests to CMakeList

* create type_prop tests

* create additional unit tests

* add maximum to summarize.py
2021-04-21 11:34:03 +03:00
Piotr Szmelczynski
6910a737e0
Revise floor mod (#5058)
* add floor_mod type prop test to CMakeList

* create floor_mod type prop tests

* create op_eval tests for floor mod

* Update copyright

* add op to summarize.py

* update copyright

* remove unused variable

* add tests for int64 and int32

* clear unit test file

* Change second input generation of single layer test of cpu plugin to also generate negative numbers for floorMod

* Update test results and remove one test

* fix bug with secondaryInput shape

* add backend tests

* add new line

* create additional backend tests

* Update backend tests
2021-04-21 11:33:48 +03:00
Dmitrii Khurtin
b718de0cee
[GNA] Update GNA library (#5228)
* [GNA] Update GNA library to 1191 version

* append symlink to libgna.so

* append selective unpacking of the archive

* changed the criterion for checking the unpacking process (exit code)

* remove tabs

* add equalToReferenceWithDelta_1191

* removed equalToReferenceWithDelta_1191

* master -> update_gna_library
2021-04-21 10:34:45 +03:00
Mikhail Ryzhov
a8e154b189
Added out of bounds check for output ports (#5305)
* Added out of bounds check for output ports

* Corrected if condition

* Updated exception message

* Added functional test

* Verified particular type of exception
2021-04-21 09:00:09 +03:00
Bartek Szmelczynski
0f2569fad9
Revise exp (#5236)
* refactor exp class

* add backend and type_prop tests

* add SLT for exp operator

* add SLT for serialzation for activation type ops

* remove redundant files
2021-04-21 08:58:55 +03:00
Mikhail Treskin
76fd791363
Define OP version in report by first occurrence in opset instead of type_info (#5177) 2021-04-20 22:33:52 +03:00
Jan Iwaszkiewicz
7a634490dc
Add GELU fusion (#5067)
* GeLU fusion

* Fix matcher and sqrt(2) value

* Replace with math constant

* Correct comments in header file

* Add tests for transformations

* Add define of math constants in tests

* refactor code and add checks for nullptr

* Extend tests with failing examples

* change tests
2021-04-20 15:34:55 +03:00
Evgeny Lazarev
f3d1aa6490
Moved MO unit test files to a separate directory (#5312)
* Removed test-generator from all MO requirement files except the dev one

* Moved all MO unit tests files to a separate directory

* Added __init__.py files to the tests directory. Fixed importing paths for some unit tests

* Fixed imports in all unit tests. Moved all unit test related files from the MO code to the dedicated directory

* Renamed directory with unit test utils

* Updated imports in unit tests
2021-04-20 14:47:18 +03:00
Irina Efode
7963dc93ed
[IE TESTS] Small refactoring of conformance suite (#5123)
* TEST

* test

* tmp

* c

* Workaround fro unsaved report

* d

* e

* tmp

* test

* Timeout + fix for summarize

* Fixes

* Remove debug coe
2021-04-20 14:43:33 +03:00
Alexander Zhogov
49dceb2810
Azure: Add install setuptools on Linux (#5299)
* Azure: Add install setuptools on Linux

* Add upgrade pip
2021-04-20 13:00:43 +03:00
Roman Kazantsev
7a500e185b
Specify Einsum-7 operation (#5145)
* Specify Einsum-7 operation

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Finalize specification for Einsum-7 operation

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Remove duplicate example

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Update doc headers with Einsum operation

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Apply comments after the first review: grammar corrections and sentence rephrase

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Apply feedback from tech-writers and online review

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Make additional grammar corrections

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Correct documentation: optimize some sentences, links and examples

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Support capital letters in equation and implicit mode

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
2021-04-20 11:04:38 +03:00
Szymon Irzabek
a359fe9f37
[GNA] Add basic low precision support for more layer types (#5138)
* [GNA] Add basic low precision support for more layer types, add simple test

* [GNA] Fix test

* [GNA] Make divisor const, add more clarity to some conditions
2021-04-20 10:40:00 +03:00
Pavel Esir
41bdec12df
[nGraph] Gather v7 v1 up down transformations (#5118)
* v7->v1 works fine

* gather v1->v7 works fine

* changed op::v7 -> opset7, op:v1 -> opset1

* bumped to gather7 in all transformations

* applied review comments

* fixed pre-commit failures

* disabled incorrect unit-test, fixed f32->i32

* added comments why AddConvertToReorderTest was disabled

* Revert "bumped to gather7 in all transformations"

This reverts commit 965dc295

* fixed typos in v1->v7, v7->v1

* added GatherBase, redefined pattern in eliminate_unsqueeze gather, turned on Gather downgrading transformation

* resolved conflicts and build errors

* 🚀 finally EliminateUnsqueezeGather works: added inheritance of RTTI info from GatherBase

* fixed pre-commit failurer

* removed redundant debug code

* reverted f32 for Gather-1 indices in unit-tests and transformations

* relaxed restrictions for indices and axis type for v1::Gather

* corrected op scope

* moved type_check to validation_util.cpp

* removed type checks from Gather, removed upgrading transformation

* applied review coments

* fixed minor typos
2021-04-20 10:27:48 +03:00
Bartosz Lesniewski
f2306adf98
Squeeze operator class refactoring (#5065)
* Revise Squeeze op class

* code style fix

* Move backend tests from fused_op.in.cpp to a separate file

* Add missing newline

* added axes input range and type validation

* add validation checks for the second input rank and type

* style fix

* remove axes input type checks

* add support for a single input squeeze op

* remove output static rank assignment in validate_and_infer_types

* Improve shape propagation for partial shape inputs with static ranks
2021-04-20 08:01:48 +03:00
Pavel Esir
1f0b55be04
fixed error with PerfCounters (#5300) 2021-04-20 06:58:26 +03:00
Alexey Varyzgin
e0187da009
[CPU] An input 'sequence_length' values check was added to CTCGreedyDecoderSeqLen (#5284) 2021-04-19 23:39:37 +03:00
Vladislav Volkov
ce0e2881c7
[CPU] Fix for memory leak in oneDNN gemm implementation (#5285) 2021-04-19 22:17:44 +03:00
Anna Khakimova
068229c815
Improve performance of the Resize 3c/3p and Resize 8UC1 (#4945)
* scratch buffer

* Refactoring horizontal path

* * Refactoring horizontal pass. Step2

* * Refactoring horizontal pass. Step 3

* * Refactoring vertical pass. Step2

* Refactoring  horizontal pass. Step4

* * Clean

* Applied comments.

* * Applied comments. Part 2
2021-04-19 21:11:58 +03:00
Andrey Zaytsev
40eba6a2ef
Feature/merge 2021 3 to master (#5307)
* Feature/azaytsev/cldnn doc fixes (#4600)

* Legal fixes, removed the Generating docs section

* Removed info regarding generating docs

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

* Feature/azaytsev/gna model link fixes (#4599)

* 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

* Link Fixes

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

* Fix for broken CC in CPU plugin (#4595)

* Azure CI: Add "ref: releases/2021/3"

* Fixed clone rt info (#4597)

* [.ci/azure] Enable CC build (#4619)

* Formula fix (#4624)

* Fixed transformation to pull constants into Loop body (cherry-pick of PR 4591) (#4607)

* Cherry-pick of PR 4591

* Fixed typo

* Moved a check into the parameter_unchanged_after_iteration function

* Fixed KW hits (#4638)

* [CPU] Supported ANY layout for inputs in inferRequest (#4621)

* [.ci/azure] Add windows_conditional_compilation.yml (#4648) (#4655)

* Fix for MKLDNN constant layers execution (#4642)

* Fix for MKLDNN constant layers execution

* Single mkldnn::engine for all MKLDNN graphs

* Add workaround for control edges to support TF 2.4 RNN (#4634)

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Corrected PyYAML dependency (#4598) (#4620)

5.4.2 is absent on PyPI

* [CPU] Statically analyzed issues. (#4637)

* Docs api (#4657)

* Updated API changes document

* Comment for CVS-49440

* Add documentation on how to convert QuartzNet model (#4664)

* Add documentation on how to convert QuartzNet model (#4422)

* Add documentation on how to convert QuartzNet model

* Apply review feedback

* Small fix

* Apply review feedback

* Apply suggestions from code review

Co-authored-by: Anastasiya Ageeva <anastasiya.ageeva@intel.com>

Co-authored-by: Anastasiya Ageeva <anastasiya.ageeva@intel.com>

* Add reference to file

Co-authored-by: Anastasiya Ageeva <anastasiya.ageeva@intel.com>

* Fixed bug in assign elimination transformation. (#4644)

* [doc] Updated PyPI support OSes (#4643) (#4662)

* [doc] Updated PyPI support OSes (#4643)

* Updated PyPI support OSes

* Added python versions for win and mac

* Update pypi-openvino-dev.md

* Update pypi-openvino-dev.md

* Update pypi-openvino-rt.md

* Update pypi-openvino-dev.md

Co-authored-by: Andrey Zaytsev <andrey.zaytsev@intel.com>

* [IE][VPU]: Fix empty output of CTCGreedyDecoderSeqLen (#4653)

* Allow the second output of CTCGreedyDecoderSeqLen to be nullptr in cases when it is not used but calculated in the Myriad plugin. In this case, parse the second output as FakeData
* It is a cherry-pick of #4652
* Update the firmware to release version

* [VPU] WA for Segmentation fault on dlclose() issue (#4645)

* Document TensorFlow 2* Update: Layers Support and Remove Beta Status (#4474) (#4711)

* Document TensorFlow 2* Update: Layers Support and Remove Beta Status

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Update documentation based on latest test results and feedback

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Remove ConvLSTM2D from supported layers list

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Document Dot layer without limitation

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Address feedback upon DenseFeatures and RNN operations

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Do a grammar correction

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Do a grammar correction based on feedback

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Updated nGraph custom op documentation (#4604)

* Updated nGraph custom op documentation

* Fixed comments

* [IE CLDNN] Fix missing variable initializations and types (#4669)

* Fix NormalizeL2 creation in QueryNetwork (cherry pick from master PR 4310) (#4651)

* Updated documentation about the supported YOLOv3 model from ONNX (#4722) (#4726)

* Restored folded Operations for QueryNetwork (#4685)

* Restored folded Operations for QueryNetwork

* Fixed comment

* Add unfolded constant operations to supported layers map

* Add STN to list of supported models (#4728)

* Fix python API for Loop/TensorIterator/Assign/ReadValue operations

* Catch std::except in fuzz tests (#4695)

Fuzz tests must catch all expected exceptions from IE. IE is using C++ std
library which may raise standard exceptions which IE pass through.

* Docs update (#4626)

* Updated latency case desc to cover multi-socket machines

* updated opt guide a bit

* avoiding '#' which is interpreted as ref

* Update CPU.md

* Update docs/optimization_guide/dldt_optimization_guide.md

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

* Update docs/optimization_guide/dldt_optimization_guide.md

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

* Update docs/optimization_guide/dldt_optimization_guide.md

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

* Update docs/optimization_guide/dldt_optimization_guide.md

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

* Update docs/optimization_guide/dldt_optimization_guide.md

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

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

* Blocked dims hwc 2021/3 (#4729)

* Fix for BlockedDims

* Added test for HWC layout

* [GNA] Update documentation regarding splits and concatenations support (#4740)

* Added mo.py to wheel packages (#4731)

* Inserted a disclaimer (#4760)

* Fixed some klockwork issues in C API samples (#4767)

* Feature/vpu doc fixes 2021 3 (#4635)

* Documentation fixes and updates for VPU

* minor correction

* minor correction

* Fixed links

* updated supported layers list for vpu

* [DOCS] added iname/oname (#4735)

* [VPU] Limit dlclose() WA to be used for Ubuntu only (#4806)

* Fixed wrong link (#4817)

* MKLDNN weights cache key calculation algorithm changed (#4790)

* Updated PIP install instructions (#4821)

* Document YOLACT support (#4749)

* Document YOLACT support

* Add preprocessing section

* Apply suggestions from code review

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>

* Add documentation on how to convert F3Net model (#4863)

* Add instruction for F3Net model pytorch->onnx conversion

* Fix style

* Fixed dead lock in telemetry (#4873)

* Fixed dead lock in telemetry

* Refactored TelemetrySender.send function

* Refactored send function implementation to avoid deadlocks

* Unit tests for telemetry sender function

* Added legal header

* avladimi/cvs-31369: Documented packages content to YUM/APT IGs (#4839)

* Documented runtime/dev packages content

* Minor formatting fixes

* Implemented review comments

* Update installing-openvino-apt.md

Co-authored-by: Andrey Zaytsev <andrey.zaytsev@intel.com>

* [DOC] Low-Precision 8-bit Integer Inference (#4834)

* [DOC] Low-Precision 8-bit Integer Inference

* [DOC] Low-Precision 8-bit Integer Inference: comment fixes

* Update docs/IE_DG/Int8Inference.md

Co-authored-by: Anastasiya Ageeva <anastasiya.ageeva@intel.com>

* Update docs/IE_DG/Int8Inference.md

Co-authored-by: Anastasiya Ageeva <anastasiya.ageeva@intel.com>

* Update docs/IE_DG/Int8Inference.md

Co-authored-by: Anastasiya Ageeva <anastasiya.ageeva@intel.com>

* Update docs/IE_DG/Int8Inference.md

Co-authored-by: Anastasiya Ageeva <anastasiya.ageeva@intel.com>

* Update docs/IE_DG/Int8Inference.md

Co-authored-by: Anastasiya Ageeva <anastasiya.ageeva@intel.com>

* Update docs/IE_DG/Int8Inference.md

Co-authored-by: Anastasiya Ageeva <anastasiya.ageeva@intel.com>

* Update docs/IE_DG/Int8Inference.md

Co-authored-by: Anastasiya Ageeva <anastasiya.ageeva@intel.com>

* Update docs/IE_DG/Int8Inference.md

Co-authored-by: Anastasiya Ageeva <anastasiya.ageeva@intel.com>

* Update docs/IE_DG/Int8Inference.md

Co-authored-by: Anastasiya Ageeva <anastasiya.ageeva@intel.com>

* Update docs/IE_DG/Int8Inference.md

Co-authored-by: Anastasiya Ageeva <anastasiya.ageeva@intel.com>

* [DOC] LPT comments fix

* [DOC] LPT comments fix: absolute links are updated to relative

* Update Int8Inference.md

* Update Int8Inference.md

Co-authored-by: Anastasiya Ageeva <anastasiya.ageeva@intel.com>
Co-authored-by: Andrey Zaytsev <andrey.zaytsev@intel.com>

* Avladimi/cherry pick from master (#4892)

* Fixed CVS-48061

* Reviewed and edited the Customization instructions

* Fixed broken links in the TOC

* Fixed links

* Fixed formatting in the IG for Raspberry

* Feature/benchmarks 2021 3 (#4910)

* added new topics, changed the intro text

* updated

* Updates

* Updates

* Updates

* Updates

* Updates

* Added yolo-v4-tf and unet-camvid-onnx graphs

* Date for pricing is updated to March 15th

* Feature/omz link changes (#4911)

* Changed labels for demos and model downloader

* Changed links to models and tools

* Changed links to models and tools

* Changed links to demos

* [cherry-pick] Extensibility docs review (#4915)

* Feature/ovsa docs 2021 3 (#4914)

* Updated to 2021-3, fixed formatting issues

* Fixed formatting issues

* Fixed formatting issues

* Fixed formatting issues

* Update ovsa_get_started.md

* Clarification of Low Latency Transformation and State API documentation (#4877)

* Assign/ReadValue, LowLatency and StateAPI clarifications

* Apply suggestions from code review: spelling mistakes

Co-authored-by: Anastasiya Ageeva <anastasiya.ageeva@intel.com>

* fixed wording

* cherry-pick missing commit to release branch: low latency documentation

* Resolve review remarks

Co-authored-by: Anastasiya Ageeva <anastasiya.ageeva@intel.com>
Co-authored-by: Svetlana Dolinina <svetlana.a.dolinina@intel.com>

* DevCloud call outs (#4904)

* [README.md] change latest release to 2021.3

* [49342] Update recommended CMake version on install guide in documentation (#4763)

* Inserted a disclaimer

* Another disclaimer

* Update installing-openvino-windows.md

* Update installing-openvino-windows.md

* Update installing-openvino-windows.md

* Feature/doc fixes 2021 3 (#4971)

* Made changes for CVS-50424

* Changes for CVS-49349

* Minor change for CVS-49349

* Changes for CVS-49343

* Cherry-pick #PR4254

* Replaced /opt/intel/openvino/ with /opt/intel/openvino_2021/ as the default target directory

* (CVS-50786) Added a new section Reference IMplementations to keep Speech Library and Speech Recognition Demos

* Doc fixes

* Replaced links to inference_engine_intro.md with Deep_Learning_Inference_Engine_DevGuide.md, fixed links

* Fixed link

* Fixes

* Fixes

* Reemoved Intel® Xeon® processor E family

* fixes for graphs (#5057)

* compression.configs.hardware config to package_data (#5066)

* update OpenCV version to 4.5.2 (#5069)

* update OpenCV version to 4.5.2

* Enable mo.front.common.extractors module (#5038)

* Enable mo.front.common.extractors module (#5018)

* Enable mo.front.common.extractors module

* Update package_BOM.txt

* Test MO wheel content

* fix doc iframe issue - 2021.3 (#5090)

* wrap with htmlonly

* wrap with htmlonly

* Add specification for ExperimentalDetectron* oprations (#5128)

* Feature/benchmarks 2021 3 ehl (#5191)

* Added EHL config

* Updated graphs

* improve table formatting

* Wrap <iframe> tag with \htmlonly \endhtmlonly to avoid build errors

* Updated graphs

* Fixed links to TDP and Price for 8380

* Add PyTorch section to the documentation (#4972)

* Add PyTorch section to the documentation

* Apply review feedback

* Remove section about loop

* Apply review feedback

* Apply review feedback

* Apply review feedback

* doc: add Red Hat docker registry (#5184) (#5253)

* Incorporate changes in master

Co-authored-by: Trawinski, Dariusz <dariusz.trawinski@intel.com>
Co-authored-by: Vladislav Volkov <vladislav.volkov@intel.com>
Co-authored-by: azhogov <alexander.zhogov@intel.com>
Co-authored-by: Ilya Churaev <ilya.churaev@intel.com>
Co-authored-by: Alina Kladieva <alina.kladieva@intel.com>
Co-authored-by: Evgeny Lazarev <evgeny.lazarev@intel.com>
Co-authored-by: Gorokhov Dmitriy <dmitry.gorokhov@intel.com>
Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
Co-authored-by: Mikhail Ryzhov <mikhail.ryzhov@intel.com>
Co-authored-by: Nikolay Shchegolev <nikolay.shchegolev@intel.com>
Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
Co-authored-by: Maxim Vafin <maxim.vafin@intel.com>
Co-authored-by: Anastasiya Ageeva <anastasiya.ageeva@intel.com>
Co-authored-by: Anastasia Popova <anastasia.popova@intel.com>
Co-authored-by: Maksim Doronin <maksim.doronin@intel.com>
Co-authored-by: Andrew Bakalin <andrew.bakalin@intel.com>
Co-authored-by: Mikhail Letavin <mikhail.letavin@intel.com>
Co-authored-by: Anton Chetverikov <Anton.Chetverikov@intel.com>
Co-authored-by: Ivan Tikhonov <ivan.tikhonov@intel.com>
Co-authored-by: Andrey Somsikov <andrey.somsikov@intel.com>
Co-authored-by: Maxim Shevtsov <maxim.y.shevtsov@intel.com>
Co-authored-by: Alina Alborova <alina.alborova@intel.com>
Co-authored-by: Elizaveta Lobanova <elizaveta.lobanova@intel.com>
Co-authored-by: Andrey Dmitriev <andrey.dmitriev@intel.com>
Co-authored-by: Helena Kloosterman <helena.kloosterman@intel.com>
Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>
Co-authored-by: Edward Shogulin <edward.shogulin@intel.com>
Co-authored-by: Svetlana Dolinina <svetlana.a.dolinina@intel.com>
Co-authored-by: Alexey Suhov <alexey.suhov@intel.com>
Co-authored-by: Sergey Lyubimtsev <sergey.lyubimtsev@intel.com>
Co-authored-by: Dmitry Kurtaev <dmitry.kurtaev+github@gmail.com>
Co-authored-by: Nikolay Tyukaev <nikolay.tyukaev@intel.com>
Co-authored-by: Kate Generalova <kate.generalova@intel.com>
2021-04-19 20:19:17 +03:00
Yufei Wu
9488bb0b00
%~dp0 can't handle path which include Space (#5274)
* %~dp0 can't handle path which include Space

The default OpenVINO install directory is C:\\Program file(86)\\Intel\\..., which contains space. So when users run this script, the path is wrong.
To handle this issue, I modify two part:
one is the python_command, use a local var to store this path. 
The other is the errorlevel, just add double quotation marks

* fix python_command path issue

* delete unused blank line
2021-04-19 18:35:32 +03:00
Ilya Lavrenov
a42ad606cb
Fixed unity build (#5309) 2021-04-19 17:01:11 +03:00
Anton Pankratv
46987def54
Merged internal Infer Request implementation (#5125) 2021-04-19 15:16:47 +03:00
Jozef Daniecki
ef70e5187c
Deformable convolution (#4312)
* Add deformable_convolution unit tests

* add 2D unit test

* Add unit-tests for 3D deformable_convolution

* create shared test class for deformable_convolution

* create single layer test for cpu plugin

* create single layer test for serialization

* add deformable_convolution to opset1

* create empty evaluate method

* add group and deformable_group to parameters

* Create impl for generateInput method

* add deformable_val to deformable_conv paramset

* create additional unit-tests

* Remove 3D single layer tests

* Update GenerateInput and SetUp method

* Update parameters values for SLT

* Update GenerateInput method and create Validate method

* Create additional parameters set for cpu plugin SLT

* Create unit-test with padding and add it to disabled

* add interpreter unit tests to manifest

* style-apply

* create file for reference impl

* Update year of copyright and make Validate an override method

* Update parameters names for serialization single layer tests

* Update parameters names for functional single layer tests

* add failing unit tests for interpreter to manifest

* make tests parameters more readable

* style-apply

* Include deformable_convolution inside evaluates_map

* add support for groups parameter for reference impl

* style-apply

* remove DeformableConvolutionParams struct

* fix bug with filter

* fix bug with offset type

* Update interpreter manifest

* impl evalute method

* style-apply

* Update year

* Update test names

* add utils func for deformable convolution operation

* fix filter group count

* add calculation of index of offset

* Update offsets in unit test

* add support for multiple input channels

* add padding tests

* add padding support

* style apply

* update copyright year

* create validation check helper

* Update convolve function name

* update copyright year

* style-apply

* remove integer type from serialize layer tests

* add tests for deformable_groups

* fix bug with group > 1

* style-apply

* add group unit test

* create additional group tests

* fix bug with groups attribute

* Enhance dynamic shape inference of validate and infer types method

* Add type_prop unit tests

* Fix broken op create test in python api

* fix bug with shapes in group tests

* update deformable_convolution method

* add unit test with 2 groups and 2 defromable groups

* Fix code style.

* Update UT manifests with  current test status.

* Refactored backend test: names, removed duplication, add TOODs

* Add missing test cases in 'integral offsets' group.

* Fixed group attribute.

* Update interprer manifest to disable tests with integer offsets.

* Fix style.

* Remove changes in operator class.

* Revert "Enhance dynamic shape inference of validate and infer types method"

This reverts commit 2f9ce2ccd4.

* Revert "Add type_prop unit tests"

This reverts commit 944af98b8c.

* Revert "Fix broken op create test in python api"

This reverts commit 72fbfc2967.

* Fix op class.

* Convert implementation to 2D.

* Simplify implementation.

* Fix centos build.

* Reimplemented offsets handling.

* Fixed integral offsets test cases.

* Fixed deformable group attribute.

* Add bilinear interpolation.

* Refactoring regarding tolerance_bits.

* Fix groups & def_groups test case.

* Add more unit tests for group & defgroup attribute.

* Remove debug code.

* Minor refactoring.

* Add integer types to SLT.

* Revert "Add integer types to SLT."

This reverts commit 2fefe8926d.

* Add tests with real number offsets.

* Refactored bilinear_interpolation().

* Turned on SLT.

Additionally refactored and offset input set to range <0,2>.

* Update headers with short version.

* Fix SLT offests generation with int offsets.

* Add integer types to SLT.

* Fix grup + def_group test case.

* Add ticket to address IE_CPU backend test failures

* Enable real resolution for deformable values

* Add op to list of trusted operations in python script

* Fix comparison of integer expressions of different signedness compilation error

* Add comment with closing namespace and empty lines

Co-authored-by: pszmel <piotr.szmelczynski@intel.com>
Co-authored-by: ggalieroc <gabriele.galiero.casay@intel.com>
2021-04-19 14:12:09 +03:00
Sergey Lyubimtsev
b92fa8f303
Add benchmark app to openvino-dev package (#5135)
* Add openvino-tools package (benchmark_app)

* Add openvino-tools package (benchmark_app)

* entry point for benchmark_app

* use find_namespace_packages to search

* Add progress package in openvino-dev requirements list

* Define Apache Software License  license, add openvino to install_requires

* remove unused module
2021-04-19 12:50:57 +03:00
Ilya Churaev
b751683c82
Fixed macOS compilation (#5283)
* Fixed macOS compilation

* Added -Wno-undef
2021-04-19 10:24:26 +03:00
Egor Shulman
211c5773fc
[CPU] BatchToSpace, SpaceToBatch layers optimizations (#4029)
* BatchToSpace, SpaceToBatch layers optimizations

* Fix according to review

* Fix tests for oneDNN (v1.6)

* Fix of support BF16

* Fix in/out config

* Add support of Blocked layout

* Fix of support U8

* Add support for in/out channels of different sizes

* Removed xfail

* Removed xfail_issue_34327

* BatchToSpace, SpaceToBatch layers optimizations

* Fix according to review

* Fix according to review

* 3 different implementations -> 1 implementation

* Fix THROW

* Fix Exception

* Revert Batch_to_Space to parallel_for

* Fix remarks

* parallel_for -> parallel_nt

* Fix remarks

* Fix data separation

* Fix according to review
2021-04-19 10:15:59 +03:00
Patryk Elszkowski
82f4b8d02e
Constant op backend test and fix for memory size calculation (#5231)
* Fix memory size calculation in Tensor and HostTensor

* Backend test for Constant operator

* `read_raw_data` in constant.in.cpp

yet another formula to calculate memory size in bytes

Co-authored-by: Patryk Elszkowski <patryk.elszkowki@intel.com>
2021-04-19 09:30:54 +03:00
Vitaliy Urusovskij
db2de2fb19
Fix time_tests runs when models_cache enabled (#5265)
* Set ``"additionalProperties": true` to enable 'use_model_cache' in time_tests

* Limit tests scope in desktop_test_config_cache.yml
2021-04-17 00:12:08 +03:00