Commit Graph

2025 Commits

Author SHA1 Message Date
Evgenya Stepyreva
c902eb5df7
[MO] Aligned MatMul-1 with spec (#3337)
* [MO] Aligned MatMul-1 with spec

* removed link to the doc
2020-12-01 13:02:14 +03:00
Patryk Elszkowski
8e64eb21cb
faster implementation of gather_nd operator for reference implementations (#2897)
* faster implementation of gather_nd operator for reference implementations

* remove old impl and time measurements

* exclude test for gather_nd for IE_CPU (output mismatch)

* apply review comments and rename variables for clarify

* rename variables according to PR comments

* try to apply all PR suggestions

* fix indices calcualtions

Co-authored-by: Patryk Elszkowski <patryk.elszkowki@intel.com>
2020-12-01 12:48:58 +03:00
Yegor Kruglov
ce1ec9eab0
Reshape-able SliceConverter (#3198)
* initial commit

* add cast

* data type fix

* added tests

* added test without axes and steps

* remove redundant imports

* discussions resolving

* Add cast to TFSliceToSlice

* layer tests fix

* update unittest

* rework transformation

* added clamp

* move broadcast

* update unittests

* failed e2e fix

* added comment

* little fixes

* comments update
2020-12-01 12:42:40 +03:00
Szymon Durawa
b491a8dc4f
Visitor API deserialization for ops from opset1 (#3001)
* Comment layer creator and node converter for Elu and Clamp ops.

* Add deserialization for GRN, HardSigmoid, GatherTree.

* Add implementation for Interp, GRN, GatherTree.

* Remove layer creation from ie_ir_parser.cpp

* Remove header files from cnn builder.

* Change op's type in elu functional test, remove name transformtion for this op from ir_parser.

* Remove empty lines.
2020-12-01 12:20:27 +03:00
Maxim Vafin
500a95d960
Fix shape inference for Transpose nodes inserted by ApplyPermutes (#3348) 2020-12-01 11:54:29 +03:00
Alexander Peskov
f6dcf45e1c
Restore compilaltion with tbb 2017u7 (#3007)
* Restore compilaltion with tbb 2017u7

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

* Fix unsupported arg for tbb deterministic_reduce

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

Co-authored-by: Alexander Zhogov <alexander.zhogov@intel.com>
2020-12-01 11:00:58 +03:00
Ilya Lavrenov
776005749c
Documentation fixes (#3418)
* Fixed documentation build when paths contain spaces

* ops math formula fix

* Fixed typo in

* Added more dependencies for openvino_docs

* Improvements

Co-authored-by: Nikolay Tyukaev <ntyukaev_lo@jenkins.inn.intel.com>
2020-12-01 06:33:36 +03:00
Ilya Lavrenov
9b203938bd
API changes updates for 2021.2 (#3420) 2020-12-01 06:28:06 +03:00
Bartosz Sledz
cb03a5e052
Revise of reshape operator after documentation update (new tests, remove unused code) (#3410)
* Remove unnecessary code from the reshape operator shape deduction

* Add new tests to cover cornercases after documentation update

* Fix typo in test name

* Fix codestyle issues

* Fix tests naming
2020-12-01 06:03:20 +03:00
Evgeny Lazarev
0a52702e6a
Removed confusing information about required/optional output of the operation. The output exists always but it may be not connected to anywhere. (#3423) 2020-11-30 20:02:09 +03:00
Vitaliy Urusovskij
e910902c9d
Fix paths for squeezenet1.1 in time_tests config (#3415) 2020-11-30 18:45:08 +03:00
Maksim Doronin
0a0d854284
[IE][VPU]: Mish decomposition (#3411)
Introduce vpu ngraph transformation that decomposes Mish layer with the following formula: mish(x) = x * tanh(ln(exp(x) + 1)). It is needed to fix the accuracy drop of Yolo-v4 public model that happened due to Mish implementation in the myriad plugin is not accurate enough. It is just a workaround and will be removed when Mish layer will be improved.
map: 70.97% (ref: 70.96%)
coco_precision: 73.50% (ref 73.49%)
2020-11-30 18:00:46 +03:00
Nikolay Tyukaev
2df43a663b
added docs_check target (#3403) 2020-11-30 16:26:01 +03:00
Maxim Shevtsov
5779fb4a22
[MULTI] Zero-copy (when backed by the determenistic app-level scheduling) (#3286)
* 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)

* 1) zero-copy (assuming determenistic app-level scheduling) for the multi-device, via "borrowing" the corresponding device-specific blobs and letting the app to implicitly use these

2) Initial MULTI section in the opt guide (primarily to document a tip on helping the MULTI to keep the zero-copy path)

Co-authored-by: apankratovantonp <anton.pankratov@intel.com>
2020-11-30 16:03:42 +03:00
Alexander Zhogov
7194570445
Azure: Add contrib build (#3414)
* Azure: Add contrib build

* Fix checkout
2020-11-30 15:48:07 +03:00
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