Commit Graph

4788 Commits

Author SHA1 Message Date
Ruslan Nugmanov
5ad2400468
takeaway parsing arguments in separate func (#7266) 2021-09-21 14:45:05 +03:00
Ilya Lavrenov
db385569c2
Throw ov::Exception from ov::runtime (#7536)
* Exceptions

* Throw ov::Exception from ov::runtime

* code style

* Fixed function name
2021-09-21 14:26:01 +03:00
Roman Lyamin
d6ade04fc7
[GPU] Performance improvement for Load Network (#7514) 2021-09-21 11:35:23 +03:00
Ilya Lavrenov
66ea818a72
Fixed path to POT (#7560) 2021-09-21 11:10:00 +03:00
Andrey Sapozhnikov
2349caa482
[GNA] Plugin transition to the library v3.0 Master (#7386)
* GNA Plugin transition to the library v3.0 Master

* [GNA] Enable 2D convolution decomposition on GNA 3.0

* [GNA] Fix cpplint

* [GNA] Fix cpplint

Co-authored-by: Szymon Irzabek <szymon.jakub.irzabek@intel.com>
2021-09-21 10:59:35 +03:00
Ilya Sharikov
d725a17561
Add CMakeLists for install CC_tests (#7541) 2021-09-21 10:06:54 +03:00
Vladimir Zinoviev
fadb768fcd
[LPT] INT16, INT32 Quantization support (#7199)
* [LPT] INT16, INT32 Quantization support

* [LPT] Support build on platforms with size_t == unsigned int

* [LPT] Test and fix wrong constant

* Fix build for size_t = unsigned int
2021-09-21 10:00:35 +03:00
Vladimir Paramuzov
43609b4b4e
[GPU] Added onednn dependency. (#6564) 2021-09-21 09:48:16 +03:00
Gleb Kazantaev
07d9b51121
Replace IR Reader With IR Frontend (#7249)
* Replace IR Reader With IR Frontend
2021-09-20 23:17:22 +03:00
Maksim Shabunin
5e91bf93cb
setupvars: updated OpenCV location (#7563) 2021-09-20 19:57:34 +03:00
Victor Kuznetsov
5dab18d995
change references for memcheck pre-commit (#7558) 2021-09-20 19:34:19 +03:00
Ilya Churaev
55fb542bc6
Added OpenVINO util library (#7481)
* Added OpenVINO util library

* Fixed code style

* Fixed build

* Fixed build

* Added methods from IE utils

* Fixed style

* Fixed Windows build

* Fixed linux build

* Fixed windows build

* Try to fix dladdr

* Try to fix windows

* Fixed typo

* Fixed detection dynamic libs from static library

* Revert some changes

* Revert changes in windows loader

* Revert network reader

* Removed some methods from plugin API

* Fixed fluid tests

* Fixed typo

* Fixed include

* Try to fix CI

* Try to fix centos

* fix typo
2021-09-20 18:37:32 +03:00
Roman Donchenko
8598ce89a3
Add missing spaces between words in string literals (#7540)
And in one case, a missing period.
2021-09-20 15:38:49 +03:00
Vladislav Golubev
da9595dae4
[LPT] getDequantization: added precision limitation for mul/sub constants (#7517)
* [LPT] getDequantization: added precision limitation for dequantization constants

* [TESTS] GetDequantizationTransformation: added test case with unsupported precision
2021-09-20 14:02:55 +03:00
Piotr Szmelczynski
e5927dbe15
Expose discrete type info (#7301)
* Create pyngraph DiscreteTypeInfo bind

* add DiscreteTypeInfo to ngraph impl __init__

* add DiscreteTypeInfo to pyngraph.cpp

* remove comment

* create common file and add string_to_char_arr helper function

* create test for DiscreteTypeInfo class

* fix style

* add not equal test

* fix style

* create __repr__ and make member variables readonly

* Create trampoline for Node class

* update DiscreteTypeInfo test

* remove common files

* style fix

* clang style fix

* update __repr__ method for DiscreteTypeInfo

* style fix

* fix typo in test_core

* update repr method

* update comparison operators

* update operator overloading for DiscreteTypeInfo
2021-09-20 13:31:28 +03:00
Egor Duplensky
db565e60c6
[CPU] Refactor node dumping to avoid extra code in Infer method (#6931) 2021-09-20 12:29:21 +03:00
Alexander Shchepetov
03cc662717
Static test cases definition + supporting multi-model cases in MemLeaks tests (#7378)
* add multimodel memleaks test runner

* Add support for is_equal_data, get_source_tensor, get_target_tensor methods in ONNX FE API (#6991)

* Change ngraph public api (#6920)

* Moved nGraph function

* Added legacy nGraph function

* Moved export API

* Moved variant

* Added old header for backward compatibility

* Introduce define

* [LPT] LP Transformations refactoring after dynamic shapes support (#6950)

* [LPT] Transformations refactoring after dynamic shapes support

* [LPT] ReshapeTransformation: 2D->2D fix

* [LPT] fixes after review

* [GPU] Fix ScatterNDUpdate unit tests (#7103)

* Deprecate ngraph file utils. Need to have common functions (#7105)

* [GPU] Get rid of memory alloc for input_layout in internal networks (#6897)

* Renamed component name (#7110)

* Propose new MaxPool-8 operation (#5359)

* MaxPool-8: pads_value attribute removal from the operator definition (#7119)

* Remove deprecated option and enable compilation without device (#6022)

* Build openvino wheel package from setup.py (#7091)

* Added ability to build wheel package by executing `setup.py bdist_wheel`

* fix linter issues

* fix formating

* remove blank line

* Support unregistered operations in MO IR Reader (#6837)

* Add support for unregistred operations in MO IR Reader

* Remove commented lines

* Add shapes equality check

* Update comments

* Update groupconv_to_conv function to support case with multiple destinations

* Add ir_data_attrs attribute to restored layers

* Update copy_shape_infer function to new graph api

* Add attribute IE to unsuppurted operations to save their attributes

* Fix wrong attribute name

* Update commentary

* Partially revert updating to new Graph API to fix regression, add appropriate comments

* Update code comments

* Rename copy_shape_infer function and add more comments

* First stage of the AUTO-MULTI merge: redirecting AUTO to the MULTI device plugin (#7037)

* Redirect -d AUTO to MULTI device plugin

Signed-off-by: Shoujiang Ma <shoujiang.ma@intel.com>

* Modify AUTO tests with MULTI config

Signed-off-by: Shoujiang Ma <shoujiang.ma@intel.com>

* Fix CI

Signed-off-by: Shoujiang Ma <shoujiang.ma@intel.com>

* Fix bug: CVS-62424

Signed-off-by: Shoujiang Ma <shoujiang.ma@intel.com>

* Add some tests for AUTO

Signed-off-by: Shoujiang Ma <shoujiang.ma@intel.com>

* Add select device logic to MULTI

Signed-off-by: Shoujiang Ma <shoujiang.ma@intel.com>

* Fix extract device name bug

Signed-off-by: Shoujiang Ma <shoujiang.ma@intel.com>

* Address reviewer's comment

Signed-off-by: Shoujiang Ma <shoujiang.ma@intel.com>

* Delete AUTO plugin source code

Signed-off-by: Shoujiang Ma <shoujiang.ma@intel.com>

* [CPU] Deform. conv. - reference enforced (#6945)

* [CPU] Bump up MKLDNN version to get fix of c26453 warning (#7089)

* OpenVINO ONNX CI Azure - update onnx/models on demand only (#7125)

* [CPU] Added improvements for StridedSlice (#6658)

* Removal of FusedOp inheritance leftovers (#7113)

* Remove FusedOp from v0::Gelu

* Update v0::Gelu NGRAPH_RTTI_DECLARATION

* Enable gelu type_prop tests

* Remove FusedOp from v0::MVN

* Remove FusedOp from HardSigmoid

* Remove FusedOp from LSTMSequence

* Remove supress deprecated

* Add missed NGRAPH_OP_SCOPE to v0 Gelu and HardSigmoid

* Move ngraph::element::Type to ov namespace (#7124)

* Moved ngraph::Type -> ov::Type

* Revert original files

* [GNA] Fix order of SwapMatMulInput transformations (#7137)

* Moved Dimension, PartialShape, Interval, Rank to ov namespace (#7136)

* Mo implementation for If with tf extractor (#6662)

* Add tf2.x impl for If

* Fix ir_engine

* Fix opset

* Fix BOM file

* Added new test

* Fix comments

* Add subgraph_utils

* Fix comments

* Fix transform

* code refactoring

* Fix description

* rewrite support for empty tensor in if

* added onnx extractor

* delete onnx_if

* fix bug with fake_outputs

* Fix test

* Fix control_flow and fix commentaries

* create method results_mapping_and_finding_fake_outputs(output_nodes_in_subgraph,

* [GPU] Fixed 'assigned to self' error in loop_inst.h (#7126)

* [GPU] Fix build for gcc 10 (#7142)

* [GNA] Set input scale factors for imported model (#7139)

* add doc:'Paddle_Support.md' (#7122)

* add doc:'Paddle_Support.md'

* Apply suggestions from code review

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

* Apply suggestions from code review

* Update docs/IE_DG/Paddle_Support.md

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

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

* Remove local configs and it's copying to bin/ for stress tests (#7131)

* Moved DEPRECATION macro and ITT domains to ov namespace (#7153)

* Moved DEPRECATION macro and ITT domains to ov namespace

* Fixed code style

* Enable NormalizeL2Fusion and LeakyReluFusion inside MOC (#7096)

* Enable NormalizeL2Fusion inside MOC

* Fix NormalizewL2 decomposition (KeepDims=True)

* Add support for ONNX Crop operator (#6956)

* Review/update spec for NotEqual operation (#6797)

* Hiding the problem, Validate() changes 'function'

* Review/update spec for NotEqual operation

* Remove unnecessary edits not related to the ticket

* Removing the extra word binary for the short description

* Re-writing detailed description

* Correcting punctuation docs/ops/comparison/NotEqual_1.md

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

* Specifying auto_broadcast in the short description is similar to Equal spec

* The range of values for auto_brodcast is similar to Equal spec and includes the missing pdpd

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

* Moved DiscreteTypeInfo to ov namespace (#7127)

* Moved DiscreteTypeInfo to new opset

* Revert old header

* Fixed code style

* Revise CTCLoss OP (#6953)

* Add visitor test to CTCLoss

* Add CTC Loss SSLT

* Add CTC Loss template tests

* Use ngraph rtti macros

* Code style fix

* Enable PriorBoxClustered tests (#7078)

* CumSum spec revision (#6966)

* Update detailed description

* Update exclusive attribute description

* Update Inputs/Outpu description

* Update types

* Update descriptions

* Update data input rank info

* Added common.hpp file with aliases (#7158)

* CumSum reference implementation revision (#6915)

* New CumSum implementation init

* Unified ndim approach

* Move transpose to separate function

* Move transpose to original to separate function

* Move slice_count calculation to function

* Negative axes support

* Refactor redundant copy

* Changed copy to move

* Temp more backend tests

* Add const to shape arg

* Use span for slices calculation

* Remove unused headers

* CumSum new ref tests

* Add more ref tests

* Add all cumsum modes ref tests

* new optimized cum_sum reference

* Add reverse mode

* Optimized cumsum ref

* Remove deprecated cumsum backend tests

* Add more CumSum reference tests

* Simplify CumSum shared layer tests SetUp

* Replace auto to size_t in loop

* Change static_cast to T{}

* [LPT] MarkupCanBeQuantized: handled unsupported concat (#7045)

* [LPT] MarkupCanBeQuantized: added check on unsupported concat

* [LPT] ConcatTransformation: added test-case with unsupported concat and convolution

* [LPT] added test on rtInfo check for unsupported concat

* [LPT] ConcatTransformation: added test-case with unsupported axis to plugin tests

* CVS-56144 Enable all OMZ scope (#7084)

* Install layer tests with CMake (#6892)

* add CMakeLists.txt

* add copyright docstring

* add newline after copyright

* set target name

* change TARGET to DIRECTORY

* Rename layer tests dir to avoid name conflict

* cmakelists.txt final version

* Change destination to tests\layer_tests_openvino

* Add cmake_minimum_required to CMakeLists.txt

* Update CMakeLists.txt

* ReverseSequence specification refactored (#7112)

* ReverseSequence specification refactored

* Change attribute description to avoid confusion

* Allow seq_lenghts input to be of floating-point precision

* MemCheck add INT8 models to pre-commit (#7166)

* updated desktop configs with int8 models

* updated desktop reference configs with actual values

* added commit comments

* parametrize proxy (#7174)

* Updated list of supported operations. (#6981)

* Updated list of supported layers.

* Removed Crop, softsign from Kaldi list.

* Updated limitations.

* Corrected limitations.

* Updated limitations.

* Added Einsum, corrected Where.

* Apply suggestions from code review

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

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

* [MO] turn on MarkSubGraphsWithCorrectLayout for TF NCHW (#7150)

* turned on MarkingSubgraphsWithCorrectLayout for TF NCHW

* restricted MarkSubgraphsWithCorrectLayout.py only to TF

* added comments why need to MarkSubgraphsWithCorrectLayout even for TF NCHW models

* [CPU][TESTS][LPT] MatMulTransformations test-cases removed from skip config (#7181)

* Fixed ngraph_onnx_importer compatibility target creation for older cmake (3.10) (#7176)

* [GPU] Fix clBuildProgram failure with ssd_mobilnet_v1_coco and batch=256 (#7121)

* Fix v0::MVN default constructor (#7175)

* [GPU] Fixes for correct MultiDevice plugin and inference request behavior (#7161)

* Fix op category section in operations spec (#7130)

* add ngraph::pass::LSTMCellDecomposition as mandatory (#7028)

* add ngraph::pass::LSTMCellDecomposition as mandatory

* move LSTMCellDecomposition just after CommonOptimizations before all convert opset transformations

* code review fixes: add flag that prevents some legacy transformations if their ngraph-based analogues were executed

* remove isNgraphPassesUsed from  ModelQuantizer

* cleanups

* [IE] Convert to unsigned NMS:0 ->Gather path (#6474)

* inserted Convert to unsigned

* moved declarations from hpp into cpp, specification corrected

* added static const modifier

* updated convert specification

* minor corrections

* split into 3 passes(Init, Propogate, Update), renamed final pass to ConvertNmsGatherPathToUnsigned

* added description why transformation is needed

* added matcher for several NMS versions, removed TRANSFORMATIONS_API macros from cpp

* applied comments:
- used GraphRewrite instead of FunctionPass
- simplified some expressions
- corrected case when Converts output goes to multiple nodes
- added to MOC transformations
- other minor corrections

* removed redundant namespace prefixes

* fixed #include <ngraph/pass/graph_rewrite.hpp>

* removed matcher_scope, debug code, and redundant dynamic_cast

* [nG] [IE] use GatherBase in negative indices resolver (#7145)

* updated pattern matcher into GatherBase in negative indices resolver, so that it is triggered in all versions of operation

* copy_runtime_info fix

* added constant folding

* Nested loop (#6710)

* initial changes to support nested loop

* fixed issues

* fixed nested loop extraction

* added comments

* removed unneeded comments

* review fix

* added tests

* turned off loop tests on GPU

* set xfail for TF tests

* removed TF test to move it in another repo

* fix typo in comment

* move duplicated code to separate functions;
added asserts

* add function for onnx constant creation;
add function to create body of loop
add comments to test

* move main change for nested loop to separate function

* install necessary dirs for tests (#7044)

* install necessary dirs to tests

* rem RUNTIME from install step

* fix paths

* fix install paths

* fix install paths: add destination dirs

* add pandas

* fix requirements conflict - change pytest version to ~5

* remove comment from requirements.txt

* upd numpy version

* Added openvino infer request API (#7151)

* [CPU] Removed eltwise overhead on execution stage (#6760)

* [GNA] For similar records, the pattern length was increased to 4  in the algorithm for determining infinite cycles. (#7165)

* for similar records, the pattern length was increased to 4

* Added comments

* [CPU] Enable direct copy implementation for u8->u8 reorder. (#7043)

* [CPU] Fix not expected No-Preprocess Exception with RGB to BGR conversion (#6954)

* [CPU] Avoid inserting additional transpose + reorder after RNN node. (#5921)

* [MO] Replacing StridedSlice with Squeeze/Unsqueeze (#6693)

* added reinterp_shape parameter to tf ss extractor

* removed reinterp_shape

* added transformation to replace ss

* updated bom

* fix for e2e tests

* updated a case when shrink_axis_mask and new_axis_mask are both initialized

* unittests

* added comments

* updated graph_condition

* comments resolving

* updated the case, when shrink_axis_mask and new_axis_mask are both initialized

* added layer tests for squeeze/unsqueeze cases

* remove case when shrink and new axis masks are both set

* [VPU] Added ConvertGather7ToGather1 pass to frontend (#7183)

This pr adds ConvertGather7ToGather1 pass to frontend before MergeGatherGatherElements pass, to make it so that when MergeGatherGatherElements is ran, any v7::Gather will be replaced with v1::Gather

* [MO] Add transformation for single CTCGreedyDecoder operation (#7023)

* Add transformation for single CTCGreedyDecoder operation

* Fix style in op specification

* Update transformation logic

* refactor old tests and add tests for new transformation

* Move tf specific front transformations to tf folder

* Update transformation logic and comments

* Add run_after function and update comments

* Add output_sparse_format attribute to extractor

* Update transformation conditions and tests

* Fix incorrect comment

* Move sparse_to_dense_replacer to front/tf folder to fix problems with class registration

* Update import

* Update output ports handling in transformation

* Update test

* Fix BOM file

* Update pattern for ctcloss transformation

* Fix and refactor tests for ctcloss transform

* Update transformation conditions

* Add support opset11 for gemm normalizer (#6733)

* Add support opset11 for gemm normolizer

* Add layer test for gemm opset 11

* Fix layer test

* Fix layer test

* Refactoring according to code review

* Fix

* Update biases norm

* Refactoring matmul norm

* Fix accoding to review

* Fix alpha parameter

* Fix variable naming

* Refactoring according to code review

* Add support for ONNX RandomUniform and RandomUniformLike ops (#7190)

* remove adaptive pool2d shape check in ngraph paddle frontend (#7074)

* remove adaptive pool2d shape check in ngraph paddle frontend

* add ngraph paddle frontend dynamic pool2d test

* Revise ReverseSequence reference implementation (#7117)

* ReverseSequence ngraph op shell revision with type_prop tests

* Add attribute count check in visitor test

* Refactor backend tests to template plugin test with reference values

* Rename cpu SLT instances

* Add op to list of trusted operations

* Rewrite validation check for input type due to backward compatibility

* Reference implementation speed up by replacing index function call of CoordinateTransform by precalculated strides

* Moved attribute_adapter, attribute_visitor files to ov namespave (#7179)

* Fixed nGraph build

* Fixed nGraph unit tests

* Fixed func tests

* Fix some operators

* Fixed build

* Try to fix specialization in different namespace

* Try to fix build

* Fixed element_type

* memleaks multimodel supporting

* revert rebase mistake

* add newline at the end of config file

* fix log messages

* refine memelaks test case class

* remove temporary decision designed to  save in memory pipeline functions parameters

* code consistency

* rework example of new memleak tests config format

* oop in testcases

* mistype

* set num of iterations in example test config to previous value

* add multiproc stress unit tests

* Add more cases

* remove unique_ptr test objects saving logic

* switch memleak test configs to new format

* swith weekly memleak test config to new format

* Clarify new get_testdata script arg

* clang-format

* wrong changes

* Add docstring to generateTestsParamsMemLeaks()

* add explanation what update_item_for_name() doing

* Autodetect stress framework while parsing models

* adjust the wording

* Shorten test cases names

* fix get_testdata for memcheck tests

Co-authored-by: Mateusz Bencer <mateusz.bencer@intel.com>
Co-authored-by: Ilya Churaev <ilya.churaev@intel.com>
Co-authored-by: Vladislav Golubev <vladislav.golubev@intel.com>
Co-authored-by: Sergey Shlyapnikov <sergey.shlyapnikov@intel.com>
Co-authored-by: Vladimir Paramuzov <vladimir.paramuzov@intel.com>
Co-authored-by: Ilya Sharikov <ilya.sharikov@intel.com>
Co-authored-by: Michał Karzyński <michal.karzynski@intel.com>
Co-authored-by: Tomasz Dołbniak <tomasz.dolbniak@intel.com>
Co-authored-by: Daria Mityagina <daria.mityagina@intel.com>
Co-authored-by: Sergey Lyubimtsev <sergey.lyubimtsev@intel.com>
Co-authored-by: Anton Chetverikov <Anton.Chetverikov@intel.com>
Co-authored-by: Shoujiang Ma <shoujiang.ma@intel.com>
Co-authored-by: Yury Gaydaychuk <yury.gaydaychuk@intel.com>
Co-authored-by: Vitaliy Urusovskij <vitaliy.urusovskij@intel.com>
Co-authored-by: Rafal Blaczkowski <rafal.blaczkowski@intel.com>
Co-authored-by: Alexandra Sidorova <alexandra.sidorova@intel.com>
Co-authored-by: Katarzyna Mitrus <katarzyna.mitrus@intel.com>
Co-authored-by: Elizaveta Lobanova <elizaveta.lobanova@intel.com>
Co-authored-by: Eugeny Volosenkov <eugeny.volosenkov@intel.com>
Co-authored-by: Paul Youngsoo Ahn <paul.y.ahn@intel.com>
Co-authored-by: Mikhail Ryzhov <mikhail.ryzhov@intel.com>
Co-authored-by: Liu Bo <bo4.liu@intel.com>
Co-authored-by: Tatiana Savina <tatiana.savina@intel.com>
Co-authored-by: Olesya Martinyuk <olesya.martinyuk@intel.com>
Co-authored-by: Gleb Kazantaev <gleb.nnstu@gmail.com>
Co-authored-by: Nikita Semaev <nikita.semaev@intel.com>
Co-authored-by: Bartosz Lesniewski <bartosz.lesniewski@intel.com>
Co-authored-by: Anton Pankratv <anton.pankratov@intel.com>
Co-authored-by: Anastasiia Urlapova <anastasiia.urlapova@intel.com>
Co-authored-by: Gabriele Galiero Casay <gabriele.galiero.casay@intel.com>
Co-authored-by: Anastasia Popova <anastasia.popova@intel.com>
Co-authored-by: Anastasiya Ageeva <anastasiya.ageeva@intel.com>
Co-authored-by: Pavel Esir <pavel.esir@intel.com>
Co-authored-by: Maksim Shabunin <maksim.shabunin@gmail.com>
Co-authored-by: Andrew Kwangwoong Park <andrew.kwangwoong.park@intel.com>
Co-authored-by: Mikhail Letavin <mikhail.letavin@intel.com>
Co-authored-by: Evgeny Kotov <evgeny.kotov@intel.com>
Co-authored-by: Svetlana Dolinina <svetlana.a.dolinina@intel.com>
Co-authored-by: Victor Kuznetsov <victor.kuznetsov@intel.com>
Co-authored-by: Dmitrii Khurtin <dmitrii.khurtin@intel.com>
Co-authored-by: Ivan Novoselov <ivan.novoselov@intel.com>
Co-authored-by: Aleksandr Pertovsky <aleksandr.pertovsky@intel.com>
Co-authored-by: Nikolay Shchegolev <nikolay.shchegolev@intel.com>
Co-authored-by: Yegor Kruglov <yegor.kruglov@intel.com>
Co-authored-by: Polina Brzezinskaya <polina.brzezinskaya@intel.com>
Co-authored-by: iliya mironov <iliya.mironov@intel.com>
Co-authored-by: mei, yang <yang.mei@intel.com>
2021-09-20 11:47:34 +03:00
Ilya Churaev
88b874ec8b
Introduced new RTTI macros for nGraph (#7515)
* Introduced new RTTI macros for nGraph

* Added new tests

* Fixed comment

* Fixed Windows ieFuncTests

* Fixed code style
2021-09-20 11:03:14 +03:00
Ilya Churaev
850c526e3b
Moved graph validation utils to ov (#7529) 2021-09-20 10:40:14 +03:00
Anton Chetverikov
9cfdad9afc
Change sort functions to fix incorrect order in port dictionaries (#7283)
* Change sort functions to fix incorrect order

* Add separate sorts for different cases

* Update sort function to correct control flow edges handling

* Refactor all sorts for dictionary ordering

* Update build_graph function for correct control_flow edges creation

* Add tests for nodes and ports sort equality

* Fix wrong port value

* Add direct conversion from bool to int

* Use .replace instead of .strip

* Add test with both control_flow and ordinary edges, refactored edges lists filling

* Refactored nodes dict filling

* Delete unused test code
2021-09-20 10:17:44 +03:00
Nikolay Shchegolev
168d8b9e84
[General] Statically detected issues. (#7432) 2021-09-20 09:28:39 +03:00
Taylor Yeonbok Lee
30ddd06159
[GPU] Allocate internal buffer to usm_device (#7109)
* Allocate internal buffer to usm_device when one of the input tensor is from usm_device.
Allocate output tensors if there is no user which is cpu impl.

* Move intermediate buffer allocation to primitive_inst

* Allocate to usm_host when the internal buffer is allocated close to limitation of device memory

* Remove internal_buffer_info and replace it with vector of layout.
Updated conditions to use alloc_type w.r.t the availability.

* Allocate internal buffer within primitive_inst construction

* Fixed device_mem allocation condition aligned with driver team
- Single allocation should be less than CL_DEVICE_MAX_MEM_ALLOC_SIZE
- Total allocation for a kernel should be less than CL_DEVICE_GLOBAL_MEM_SIZE

* Apply review comment
2021-09-18 07:50:36 +03:00
Michał Karzyński
702633073e
Add set_argument/s methods to nGraph Python API (#7196)
* Add set_argument/s methods to nGraph Python API

* Apply formatting

* Clear inputs in Node::set_arguments

* Run all tests in one container

* Fix formatting

* Add unit test
2021-09-18 06:37:26 +03:00
Andrew Kwangwoong Park
277a23b8e4
[GPU] Update debug config verbose option to show the name of tensors allocated (#7407)
Signed-off-by: Andrew Kwangwoong Park <andrew.kwangwoong.park@intel.com>
2021-09-17 21:12:53 +03:00
Andrew Kwangwoong Park
7772aeb3bb
[GPU] Fix RapidJSON assertion failure during loading kernel (#7526)
Signed-off-by: Andrew Kwangwoong Park <andrew.kwangwoong.park@intel.com>
2021-09-17 20:13:09 +03:00
Alexander Zhogov
58af4eb83c
Revert IB again (#7546) 2021-09-17 13:55:53 +03:00
Roman Lyamin
660c106233
[GPU] Performance counters fix (#7143) 2021-09-17 13:12:25 +03:00
Dmitry Pigasin
a6bdb8744f
[IE Python Speech Sample] Enable --scale_factor for multiple input files (#7482)
* Enable --scale_factor for multiple input files

* Small refactoring of getting a first utterance

* Fix mypy issue

* Update readme

Co-authored-by: Dmitry Pigasin <dmitry.pigasin@intel.com>
2021-09-17 11:59:49 +03:00
Yuan Hu
ac8db25864
Enable CPU accelerate FIL in MULTI (#7380)
* Enable CPU accelerate FIL in MULTI

Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com>

* add configure to device

KEY_PERFORMANCE_HINT_NUM_REQUESTS

Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com>
2021-09-17 11:17:54 +03:00
Sergey Shlyapnikov
1f85d4230d
Add use_device_mem option to benchmark_app (#7433) 2021-09-17 11:04:50 +03:00
Anton Pankratv
8690e14a5b
Disabled TBB Executor (#7454) 2021-09-17 10:26:23 +03:00
Ilya Lavrenov
44186c31e4
Fixed path to setupvars.sh ti readme (#7537) 2021-09-17 05:20:28 +03:00
Ilya Churaev
d2333cc012
Introduced template for OV2.0 migration guide (#7360)
* Introduced template for OV2.0 migration guide

* Fixed comments

* Fixed comments
2021-09-17 03:53:39 +03:00
Ilya Sharikov
5847b35ed2
Make time && stress tests independent from IEDeveloperPackage (#7411)
* Specify own CXX configuration for time && stress tests

* Included os_flags for build gflags

* Updated README

* Updated commands for build tests in README

* Use new cmake config
2021-09-16 12:54:41 +03:00
Dmitry Pigasin
ffa07eb6f3
Refactor code to output result after each utterance infer (#7450) 2021-09-16 12:52:10 +03:00
Alexander Shchepetov
cb80764f85
Add stress unit tests with several processes to config (#7451)
* add multiproc stress unit tests

* Add more cases

* Shorten test cases

* Update desktop_test_config.xml
2021-09-16 12:06:38 +03:00
Szymon Irzabek
57b51701fa
[GNA] Depth-wise separable convolution support (#7281)
* [GNA] Add support for DWSC, other fixes and code refactoring.

* [GNA] Change supported layout to NHWC

* [GNA] Detect bias const only on second position, move verification of dwsc to matcher
2021-09-16 11:54:51 +03:00
Anastasia Popova
10f0075e90
RandomUniformFusion transformation. (#7187)
* Added RandomUniformFusion transformation.

* Extended transformations for case with Convert, extended transformations for general min and max value case.

* Set to const unchanged variables.

* Apply suggestions from code review

Co-authored-by: Gleb Kazantaev <gleb.nnstu@gmail.com>

* Reformat code, small corrections.

* Added const shape checks.

* Fixed transformation for case of different const ranks.

* Added type checks.

* Apply suggestions from code review

Co-authored-by: Gleb Kazantaev <gleb.nnstu@gmail.com>

* United RandomUniformMulFusion and RandomUniformAddFusion to single transformation.

* Added negative tests.

* Used get_constant_from_source().

* Moved transformation to common fusions.

* Added const refs.

* Update inference-engine/src/transformations/src/transformations/common_optimizations/random_uniform_fusion.cpp

Co-authored-by: Gleb Kazantaev <gleb.nnstu@gmail.com>

* Changed to single class.

* Corrected IRs checks in layer tests.

* Small corrections.

Co-authored-by: Gleb Kazantaev <gleb.nnstu@gmail.com>
2021-09-16 11:07:19 +03:00
David Nam
790ecd54c8
Add atan to template plugin test (#7509)
* Add atan to template plugin reference test

* Remove atan.in.cpp from backend test

* Remove boolean type from atan evaluation
2021-09-16 09:33:27 +03:00
Yuan Hu
97d937c8ea
revise RNNCell RNNsequence operation class (#7335)
* revise RNNCell RNNsequence operation class

Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com>

* fix clang sytax check error

Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com>
2021-09-16 00:52:31 +03:00
Alexey Lebedev
6df94afdcb
[IE PYTHON] wait for infer callback to complete (#7374)
* test commit

* Add test

* Remove threading.event from InferRequest

* Fix wait for ExecutableNetwork
2021-09-15 22:58:48 +03:00
Nikita Demashov
5b285ed105
[LPT] MoveFakeQuantize (#6723)
* add move_fake_quantize_for_concat_transformation, mfk and mfk_function

* fix relu_transformation.cpp

* backup

* add change

* add cpu test

* [LPT] MoveFakeQuantizeTransformation: fixes

* get InferenceEngine::NotImplemented

* fix ieFuncTests

* try without new cpu_test

* fix cpuFuncTests and ieFuncTests

* fix tests

* fix lin

* add cpu test

* fix link and matcher in move_fake_quantize.cpp

* update matcher

* add gpu test

* naming fix

* move_fake_quantize.cpp add set_fr_name for new_concat

* naming new fq fix

* fix NetworkHelper::copyInfo naming

* concat.cpp naming fix

* gpu tests fix

* rm network_helper changes

* rm extra output

* resolve conversations

* resolve other conversations

* add multi inputs for concat

* fix lin

* fix move_fake_qunatize naming

* rm maxpool from mfk_function

* mkldnn update

* fix style

* rm extra change

* fix concat matcher

* rm mkldnn_plugin changes

* fix conversations

* fix interval

* fix and add isQuantizedStatic, add attribute and negative tests

* add negative plugin tests

* fix style:

Co-authored-by: Edward Shogulin <edward.shogulin@intel.com>
2021-09-15 17:15:57 +03:00
Ilya Lavrenov
0df7dab345
New IRC package structure (#6255)
* OV new package structure

* Fixes

* More fixes

* Fixed code style in ngraph tests

* Fixes

* Paths to setupvars inside demo scripts

* Fixed demo_security_barrier_camera.sh

* Added setupvars.sh to old location as well

* Fixed path

* Fixed MO install path in .co

* Fixed install of public headers

* Fixed frontends installation

* Updated DM config files

* Keep opencv in the root

* Improvements

* Fixes for demo scripts

* Added path to TBB

* Fix for MO unit-tests

* Fixed tests on Windows

* Reverted arch

* Removed arch

* Reverted arch back: second attemp

* System type

* Fix for Windows

* Resolve merge conflicts

* Fixed path

* Path for Windows

* Added debug for Windows

* Added requirements_dev.txt to install

* Fixed wheel's setup.py

* Fixed lin build

* Fixes after merge

* Fix 2

* Fixes

* Frontends path

* Fixed deployment manager

* Fixed Windows

* Added cldnn unit tests installation

* Install samples

* Fix samples

* Fix path for samples

* Proper path

* Try to fix MO hardcodes

* samples binary location

* MO print

* Added install for libopencv_c_wrapper.so

* Added library destination

* Fixed install rule for samples

* Updated demo scripts readme.md

* Samples

* Keep source permissions for Python samples

* Fixed python

* Updated path to fast run scripts

* Fixed C samples tests

* Removed debug output

* Small fixes

* Try to unify prefix
2021-09-15 16:49:11 +03:00
Anastasia Popova
08ea036a36
RandomUniform Python API. (#7373)
* Added RandomUniform python API.

* Small fix.

* Small fix.

* Code style.

* Removed xfail mark.

* Added seed checks.

* Moved test.

* Changed quotes.
2021-09-15 14:06:02 +03:00
Tomasz Jankowski
bd89f78661
[ONNX FE] Enable Place classes r-value optimization (#7485) 2021-09-15 12:42:14 +03:00
Mateusz Tabaka
c0f01cdbd1
Extend ONNX Importer for operation "If" (#7319) 2021-09-15 10:57:13 +02:00
Dmitry Pigasin
715769a31b
Remove demo_security_barrier_camera and update relevant docs (#7494)
* Remove demo_security_barrier_camera

* rename demo to samples, update python version

* update get_started docs

Co-authored-by: Vladimir Dudnik <vladimir.dudnik@intel.com>
2021-09-15 11:02:38 +03:00
Anastasia Popova
bfc6e617a7
Updated RandomUniform spec to align with the implementation. (#7491) 2021-09-15 10:26:39 +03:00
Ilya Lavrenov
7654789451
Removed QueryNetworkResult from new API (#7507) 2021-09-15 07:53:47 +03:00
Egor Shulman
bdaa44d0be
Fixed Minimum op if u8/16/32/64 data type is used (#6665) 2021-09-15 07:52:46 +03:00