Commit Graph

2060 Commits

Author SHA1 Message Date
Gleb Kazantaev
3862477ce8
Gkazanta/update doc master (#3413)
* Updated transformations docs

* Added RTTI to examples

* Fixed grammar mistakes

* Mention Sinks in NG docs
2020-11-30 15:13:01 +03:00
Alexander Chaiko
e9e99931b3
[IE CLDNN] Allow fusing FQ to deconvolution (#2875) 2020-11-30 14:40:57 +03:00
Sergey Lyubimtsev
e12b24a0bc
CMake installation rules for 3rd party components (#2944)
* [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

* Add CMake install rules for OpenVINO 3rd party dependencies

Remove unwanted targets from final distribution (test, static libs, etc)

* remove duplicated targets from install

align GNA Windows install path with Linux

* Add COMPONENT install name for OMP

remove empty lines

* Add OMP to CPack components

* remove gtest from deliverables

add explicitly clDNN_unit_tests target to build

* set clDNN_unit_tests properties only by condition

* remove install commands for clDNN

Co-authored-by: Alexander Zhogov <alexander.zhogov@intel.com>
2020-11-30 12:29:30 +03:00
Ilya Lavrenov
fb1b03752d
Removed legacy from hetero plugin (#3398)
Co-authored-by: apankratovantonp <anton.pankratov@intel.com>
Co-authored-by: Alexander Zhogov <alexander.zhogov@intel.com>
2020-11-30 07:08:31 +03:00
Gabriele Galiero Casay
ac8a39da87
Reference Implementation of ROIPooling op (#2903)
* ROIPooling: Specification and op class alignment

* ROIPooling: Add check to input tensor type to be aligned with spec

* ROIPooling: Corrected spec description for input tensor shape and box coordinates

* ROIPooling: Changed attributes pooled_h and pooled_w from Shape to plain int

* Revert "ROIPooling: Changed attributes pooled_h and pooled_w from Shape to plain int"

This reverts commit d49cfa8e53.

* ROIPooling: Further specification changes

* ROIPooling: Rename enum class ROIPoolingMethod methods

* Fix style

* ROIPooling: Draft reference implementation

* ROIPooling: Adjust feature map element type to float for attribute unit test

* ROIPooling: Add single layer test class

* ROIPooling: Corrected output index to iterate through output tensor elements

* ROIPooling: Added validation checks for input types in op constructor

* ROIPooling: Add unit tests

* ROIPooling: Attributes unit test changed to align with spec

* ROIPooling: Add check for batch id in reference implementation and unit test

* ROIPooling: Refactor single layer test class

* ROIPooling: Add test for invalid pooling method

* ROIPooling: Clean up unnecessary function declaration

* ROIPooling: Remove duplicated default ROIPooling method in op constructors

* ROIPooling: Add Infer method to generate suitable ROI data

* ROIPooling: CPU single layer test instantiation for max method

* ROIPooling: Remove enum class ROIPoolingMethod

* Revert "ROIPooling: Clean up unnecessary function declaration"

This reverts commit 074b540dea.

* ROIPooling: Refactor single layer tests after removing enum class ROIPoolingMethod

* ROIPooling: Add attribute checks in op constructor to align with spec and unit tests

* Resolve CI failure: clang could not resolve static conversion from uint64_t to size_t

* ROIPooling: Fix for output index calculation to loop through all ROIs

* ROIPooling: Add unit test for bilinear interpolation method

* ROIPooling: Add CPU single layer test instantiation for bilinear method

* ROIPooling: Clean up unnecessary enum class for pooling method

* ROIPooling: Add myriad single layer test instantiation

* ROIPooling: Add F16 precision single layer tests for CPU plugin

* ROIPooling: Add node validation check for string method attribute in constructor and unit tests

* ROIPooling: Spec changes to improve understanding of the operation

* ROIPooling: Fix for bilinear method when pooled size is 1x1

* ROIPooling: Add unit test for bilinear method and pooled size 1x1

* ROIPooling: Fix to broken format of specifications

* ROIPooling: Disable Myriad single layer tests

* ROIPooling: Handle dynamic dims and ranks for input tensors and unit tests

* ROIPooling: Code clean up

* ROIPooling: Address review comments

* ROIPooling: Changed location for makeROIPooling helper method

Co-authored-by: Kirill Molchanov <kirill.molchanov@intel.com>
2020-11-30 06:59:31 +03:00
Ilya Lavrenov
b676765dbc
Documentation updates (#3399)
* Added ie_docs dependency on ngraph_cpp_api because of tag files

* Fixed tags files for Plugin API
2020-11-30 06:54:13 +03:00
Konstantin Satunin
083302dfb6
Solve warnings with PDB flags override (#3296)
* resolve clash of tests compile pdb file names

* Solving problem using different way

* resolve duplicate flags for gtest
2020-11-27 18:16:45 +03:00
Alexey Suhov
1a94d08d3d
[install_prerequisites.sh] upgrade pip to install tensorflow (#3392) 2020-11-27 18:15:11 +03:00
Szymon Durawa
badc50bd08
Deserialization for: Convolution, FakeQuantize, Lrn, Onehot, Pad and … (#3116)
* Deserialization for: Convolution, FakeQuantize, Lrn, Onehot, Pad and Matmul.

* Replace converter with addBlob function.

* Apply review remarks.

* Apply reivew remarks, undo Loop removal.

* Remove transpose conversion for matmul op.
2020-11-27 18:01:55 +03:00
Anastasia Kuporosova
5ecb4a3960
[Python API] fix memleak in read_network from buffer (#3345)
* [Python API] fix memleak in read_network from buffer

* use memblob
2020-11-27 16:52:20 +03:00
Irina Efode
6534d315a5
[IE TESTS] Remove extra dependencies from NgraphFunction lib (#3222)
* [IE TESTS] Remove extra dependencies from NgraphFunction lib

* [TEMPORARY] Create LPT ngraph lib

* refactoring ngraph_helpers

* Fix LTO
2020-11-27 16:48:39 +03:00
Anton Pankratv
4b44608b3f
Optimized Infer Request Scheduling (#3300)
* Optimized Infer Request Scheduling

* Fixed misprint

* Brushing the code and comments a bit

* further brushing of the ScheduleToWorkerRequest: moving the task execution directly into the loop over devices (avoids pointers and 'else' clause)

Co-authored-by: Maxim Shevtsov <maxim.y.shevtsov@intel.com>
2020-11-27 16:37:57 +03:00
Ilya Lavrenov
6aa7c51de9
Removed ICNNNetwork from Plugin API (#3384)
* ICNNnetwork

* Removed ICNNNetwork from Plugin API
2020-11-27 16:30:02 +03:00
Elizaveta Lobanova
7d5da24f10
[GNA] Fix of unsupported size of Diagonal layer (#3352) 2020-11-27 15:56:05 +03:00
Elizaveta Lobanova
a889acec53
[GNA] Fixes for concat with multiple const inputs (#3130) 2020-11-27 15:52:44 +03:00
Maksim Doronin
49589855d8
[IE][VPU]: Use unified pcie firmware (#3382)
* Unified firmware named pcie-ma2x8x is needed to use both ma2480 and ma2085 with pcie connection.
* Update firmware built from develop branch
2020-11-27 14:03:31 +03:00
Alexey Varyzgin
2667bffa0d
[CPU BF16] Bfloat16 inference optimizations (#2633)
* [CPU BF16] Greedy mode was added

* [IE TESTS][BF16] Added support for operations with bf16 precision in the single layer tests.

* Added cpu specific bfloat16 single layer tests for the jit_eltwise primitive.

* [CPU TESTS] Activation and logical single layer tests fixes.

* [IE TESTS] Fix activation single layer tests run.

* [IE TESTS][CPU] CPUTestBase further refactoring.

* [CPU BF16] Support for Bfloat16 type was added to the MVN layer. (#3)

* [CPU BF16] MVN layer bfloat16 compatibility.

* [CPU BF16] MVN bfloat16 minor fixes.

* [CPU BF16] MVN node exception about BF16 support replaced with precision redefinition.

* [CPU BF16] MVN layer bloat16 support fixed for quantization operations and blocking layout.

* [CPU] Input and output precision checks were added to MVN layer.

* [IE TESTS][CPU BF16] Most of the bloat16 tests have been fixed.

* Bf16 crop layer (#4)

* [IE TESTS][CPU] Cpu specific test for the Crop layer has been created.

* [IE TESTS][CPU] Deprecated Crop single layer test removed.

* [CPU BF16] Bfloat16 precision was added to the Crop layer.

* [CPU BF16] Crop layer minor code improvements.

* [IE TESTS][CPU] Crop layer test added 2D tensor tests.

* [IE TESTS][CPU] Crop layer test, obsolete comment removed.

* [IE TESTS][CPU] Fixed CropIE include path.

* Crop test fix for older gcc compiler.

* [CPU BF16] Reduce layer extended with bfloat16 support.

* [IE TESTS][CPU] CPU specific single layer test for Reduce operation.

* BF16 optimized layers

* [CPU BF16] Bfloat16 custom type added to the MKLDNN plugin.

* [CPU BF16] Mem alignment to 16 bytes added to bfloat16 class union.

* [IE TESTS][CPU] Permute cpu specific single layer test and minor cpu tests fixes

* MVN cpu single layer tests extended with nhwc ndhwc layouts.

* Mod mode removed from Eltwise cpu single layer test.

* Permute cpu specific single layer test.

* Smoke keyword was added to the CPU single layer tests.

* Normalize node was modified for BF16 support

* [CPU BF16] The RegionYolo layer has been extended with the bfloat16 type support.

* Resample node was extended with BF16

* Select layer was enabled with BF16

* psroi supports bf16 (#7)

* reorders replaces converts (#9)

* BF16 planar pooling was enabled

* [CPU BF16] Cpu_convert added to the RegionYOLO node.

* [IE TESTS][CPU] Crop single layer test has been rewritten using the StridedSlice operation.

* [IE TESTS][CPU] Covert layer test extended with bf16 precision.

* [CPU BF16] The bfloat16 class was renamed bfloat16_t and some refactoring has been done.

* [CPU BF16] RegionYOLO and Softmax were aligned with the review.

* [IE TESTS CPU] CPU single layer tests refactored according to the review suggestions.

* [IE TESTS CPU] The Reduce CPU single layer test was extended with different mem orders.

* [IE TESTS CPU] Minor fixes after the review.

* [IE TESTS CPU] Common plugin configuration has been moved to PreparePluginConfiguration function.

* Minor changes after review

* StridedSlice, Select, ScaleShift notes were resolved

* Fixes to the Reduce operation cpu test and minor fixes related to the review.

* GPU eltwise tests fix.

* psroi unrolled to the primary state; code clean (#12)

* PSROIPooling layer with C++ optimizations

* Minor fix for compatibility with CPUTestsBase for fuse_permute_reorder test.

* Code clean & psroi rollbacked

Co-authored-by: Maksim Kutakov <maksim.kutakov@intel.com>
Co-authored-by: Maksim Kutakov <maxim.kutakov@gmail.com>
Co-authored-by: Yury Gaydaychuk <yury.gaydaychuk@intel.com>
2020-11-27 13:30:13 +03:00
Nikolay Shchegolev
b7d5590d72
[CPU] NMS test for the rest of 1st & 2nd outputs. (#3351) 2020-11-27 13:21:30 +03:00
Bartosz Sledz
3ab3536012
Add support for custom operator Swish via ONNXImporter path (#3274) 2020-11-27 11:19:39 +01:00
Nikolay Tyukaev
90646105d2
Use cmake to generate ngraph python and C++ APis (#3298)
* BINARY -> BUILD

* ngraph python and cpp api generation using cmake

* fix var name

* fix var names

* added ngraph cpp tag file
2020-11-27 13:13:59 +03:00
Andrei Kochin
bfb14af992
[DOCS] make non-code text represented properly (#2717)
* docs: make non-code text represented properly

* docs: remove typo 'g'

* Fixing broken numeration

* Fixing broken numeration

* Fixing broken numeration

Co-authored-by: Alina Alborova <alina.alborova@intel.com>
2020-11-27 11:51:35 +03:00
Ilya Lavrenov
b1e99ba699
Enabled code-style for OpenVINO folder (#3385) 2020-11-27 06:21:30 +03:00
Bartek Szmelczynski
19ab50a4f6
Functional ops hand (#3381)
* add 4 tests for operators based on model zoo

* fix wrong names of the models

* add functional tests for equal, lstm_cell and psroi_pooling operators

* add functional tests for ConverLike and Mod operators
2020-11-27 06:17:17 +03:00
Bartosz Sochacki
b660dfcd91
[GNA] reduced number of iterations in FQ tests (#3378) 2020-11-26 19:49:16 +03:00
Alexander Peskov
f12a6c6bb4
Doc update. Add macOS section into IE intro guide (#3361)
* [DOC] Add macOS specific section into intro guide

Signed-off-by: Peskov <alexander.peskov@intel.com>

* Remove libinference_engine_legacy from 'must link with' section

Signed-off-by: Peskov <alexander.peskov@intel.com>
2020-11-26 19:36:36 +03:00
Ilya Lavrenov
db7f0b22fb
Made small improvements for legacy library build (#3376) 2020-11-26 19:18:36 +03:00
Ilya Lavrenov
7f01b5c28b
Apa/multi no legacy (#3331)
* Removed legacy network represetnation usage

* Updated core threading tests not to use legacy networks

* Removed QueryNetworkMULTIwithHETERONoThrowv7 test

* Removed QueryNetworkHETEROwithMULTINoThrow_v7 test

* Added QueryNEtwork test add skipped for GNA

Co-authored-by: apankratovantonp <anton.pankratov@intel.com>
2020-11-26 19:18:13 +03:00
Krzysztof Bruniecki
3126fbd102
[GNA] Reduce RESULT_NOT_READY test time (#3377) 2020-11-26 19:17:59 +03:00
Ilya Lavrenov
6f2bca0000
Moved code style cmake scripts to a common place (#3228) 2020-11-26 15:38:55 +03:00
Ilya Lavrenov
92e3972853
Significant documentation fixes (#3364)
* Added VariableState to Plugin API documentation

* More fixes for plugin documentation

* Added ie_memory_state.hpp to documentation

* Added proper dependencies between C++ and Plugin API targets

* Fixed issues in public C++ API reference

* Fixed issues in public C++ API reference: part 2

* Removed obsolete entries from EXCLUDE_SYMBOLS in doxygen config

* Fixed path to examples, tag files for Plugin API doxygen file

* Put impl to a private section for VariableStatebase

* Fixed examples path to Plugin API: part 2

* Fixed path to examples in main ie_docs doxygen file

* Replaced path to snippets; otherwise path depends on how cloned repo is named

* Added path to snippets for ie_docs doxygen file as well

* Great amount of fixes for documentation

* Removed IE_SET_METRIC

* Fixes for C API documentation

* More fixes for documentation

* Restored Transformations API as a part of Plugin API

* Fixed tag files usage for Plugin API

* Fixed link to FakeQuantize operation
2020-11-26 14:32:12 +03:00
Mikhail Kozlov
483ce3a18b
Rename KMB to VPUX (#3350) 2020-11-26 13:33:03 +03:00
Gladilov, Gleb
4a5d82a292
[IE][VPU]: Introduces ENABLE_EARLY_ELTWISE_RELU_FUSION option (#3357)
Unconditional Eltwise+ReLU merge makes some models take a bit more memory,
so they could not be inferred on Myriad-X. With this change used can
optionally disable this optimization and use Myriad-X.
2020-11-26 13:27:58 +03:00
Alexey Suhov
7275e249ad
[dependencies.bat] Add retry logic for downloading dependencies (#3366)
* [dependencies.bat] Add retry logic for downloading dependencies
2020-11-26 12:45:50 +03:00
Ilya Churaev
a3a69ba117
Remove pool offset from nGraph Tensor (#3373) 2020-11-26 10:50:59 +03:00
Bartosz Sledz
0671916cf4
Clarify Reshape_1 operator documentation (#3330)
* Clarify Reshape_1 operator documentation

* Fix style issue

* Fix reshape documentation after review
2020-11-26 08:29:54 +03:00
Vladislav Golubev
94c6aefbfe
[LPT] Added kernel verification to CPU-plugin tests for MatMul & Convolution (#2870) 2020-11-25 20:57:47 +03:00
Vladislav Vinogradov
1174ef64a4
Fix cross-compilation for ARM (#3354)
* Add missing `SHA256` for `SYSTEM_PROTOC` package.
* Do not use `NGRAPH_ONNX_IMPORT_ENABLE` variable for it,
  since it might not be defined at this time.
2020-11-25 19:34:56 +03:00
Andrey Zaytsev
fa3eceda08
Cherry-pick #3295 to master (#3359)
* 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

Co-authored-by: Trawinski, Dariusz <dariusz.trawinski@intel.com>
2020-11-25 18:07:43 +03:00
Tomasz Dołbniak
3a6c337f1a
Fix the potential unlimited mem allocation problem (#3346) 2020-11-25 17:41:39 +03:00
Alina Kladieva
1235bcb678
[Jenkinsfile] Add propagateStatus parameter (#3336)
Co-authored-by: akladiev <akladiev@nncv-akladieva.inn.intel.com>
2020-11-25 16:07:39 +03:00
Vladimir Gavrilov
4ca11d5df7
Update NMS-5 specification (#3303)
* Commit.

* Fixes in NMS documentation.

* Small fix.

* Small fix.
2020-11-25 14:04:46 +03:00
Piotr Rozen
8917adfd56
Fixed KW issues reported for build 754 of speech recognition demo (#3328) 2020-11-25 12:35:59 +03:00
Gleb Kazantaev
2b70fa1473
Removed wrong check from FC shape inference (#3332) 2020-11-25 07:01:58 +03:00
Dmitry Kurtaev
5fc2724199
[CMake] SHA is required (#3334) 2020-11-25 06:55:00 +03:00
Piotr Szmelczynski
68f954709d
Softmax revise (#3249)
* Update spec

* add default value to axis parameter

* add test for default axis value

* style apply

* remove default axis unit-test

* add node validation check for negative axis

* create type prop tests for default and negative axis values

* add softmax type_prop file to CMakeLists

* style-apply

* fix axis condition

* remove unnecessary node validation check

* rename prop_type test

* style-apply
2020-11-25 06:50:43 +03:00
Vladislav Volkov
1f96ddfbf9
Tools for conditional compilation (#3169)
* Tools for conditional compilation

* Unit tests for conditional compilation & Refactoring

* Fix for MSVC selective build macros

* Unit tests for conditional compilation in analysys mode

* Code generation for selective build is hidden inside CMake

* Comments for conditional compilation options
2020-11-25 06:43:35 +03:00
Evgenya Stepyreva
5ce8946864
[ MO ] Fix for preprocessing insertion on ShapeOf paths (#3243)
* [ MO ] Fix for preprocessing insertion on ShapeOf paths

* ScaleInput tests

* refactoring

* comments
2020-11-25 00:57:03 +03:00
Artyom Anokhov
ebcef6a2ad
[Scripts] Update install_NEO_OCL_driver with 20.35.17767 (#3287)
* install_NEO_OCL_driver: Added new CLI options. Added help. Added new available to download and install driver - 20.35.17767.

* install_NEO_OCL_driver: Fixed descriptions and var names

* install_NEO_OCL_driver: Fixed syntax

* install_NEO_OCL_driver: Updated capturing '-y' option. Removed installing prerequisites.

* install_NEO_OCL_driver: Rollback removing install_prerequisites, but keep only ocl-icd & libnuma dependencies. Updated definition of UBUNTU_VERSION.
2020-11-24 20:21:46 +03:00
Kamil Magierski
860fae2f27
[GNA] fix InsertCopyLayerPass (#3058)
* [GNA] fix InsertCopyLayerPass

* style

* [GNA] fixed Concat -> Memory case for InserCopyLayer

* Style

* [GNA] fix some FWL size mismatch cases

* [GNA] fix crop|split -> memory cases

* [GNA] One layer -> multiple concats fix tests

* style

* [GNA] move copy insertion after trivial non-functional layers
2020-11-24 20:08:09 +03:00
Ilya Lavrenov
42478ff0ce
Fixed klockwork for legacy library (#3319) 2020-11-24 19:16:17 +03:00