Commit Graph

5273 Commits

Author SHA1 Message Date
Anastasia Kuporosova
58d845f351
[IE Python API] Add set_config for executable_network (#7796)
* [IE Python API] Add set_config for executable_network

* fix test

* fix test comment
2021-11-01 12:12:31 +03:00
Alexey Lebedev
6c00da6e48
[IE PYTHON] Fix sporadic test (#8192)
* Fix sporadic test

* set switch interval before starting a thread

* remove assert
2021-11-01 11:52:02 +03:00
Mikhail Letavin
03106e0cd9
[GPU] Fix some performance degradations from breaking GPU pipeline into explicit stages (#8084) 2021-11-01 10:57:29 +03:00
Ilya Churaev
4122ef50d6
Introduce OV Extension base api (#7562)
* Moved so loader to utils

* Fixed extension tests

* Fixed tests and style

* Fixed style and tests

* Fixed ARM build

* Fix windows

* Fix ieFuncTests

* Wrap runtime exception

* Fixed tests

* Added separate new extension

* Fixed unicode extension loading

* Try to fix windows

* Fixed windows

* Fixed macro

* Fixed doc

* Fixed build

* Fixed comments

* Try to fix build

* Fixed build

* Fixed build

* Fixed shared_from_this

* Temp commit

* Changed extension

* Fixed merge conflicts

* Removed ngraph namespace from new extensions

* Fixed code style

* Added core add_extension methods and tests

* Added new tests

* Implement tile operation

* Enabled new extensions support

* Fixed build

* Fixed code style

* Try to fix windows

* Changed base extension class

* Removed redundant Ptr

* Fixed comments

* Fixed friend decl

* Fixed Windows export

* Fixed centos

* Added template add_extension method

* Move destructor to public

* Removed BaseExtension class

* Added variadic add_extension methods

* Fixed doc and typo

* Added BaseOpDestructor

* Allow to create new extension only for new operations

* Revert tests

* Fixed comments

* Fixed comments

* Fixed comment

* Added SO Extension wrapper
2021-11-01 10:36:30 +03:00
Jan Iwaszkiewicz
d8f9445a96
Add new init to Tensor from array, add tests and helper methods for openvino tests (#8306) 2021-11-01 10:16:35 +03:00
Min, Byungil
74562e5ae6
Modify reorders for onednn impl of first conv (#8154)
Signed-off-by: Min, Byungil <byungil.min@intel.com>
2021-11-01 16:04:20 +09:00
Ilya Churaev
94206b9e2d
Removed redundant evaluate methods (#8283)
* Removed redundant evaluate methods

* Added If to eval map

* Disable unsupported test cases
2021-11-01 09:08:32 +03:00
Wilson Seok
3775efd54a
Migrate ngraph backend test/detection output (#8111)
* Remove fp16 of Convert layer test from skip_tests.config.cpp as it works now

* update repo

* add op reference test of detection_output

* update op reference test and remove ngraph backend test

* make up the reference test data
2021-11-01 07:21:28 +03:00
Steve Yoo
ff713a5e01
Migrate Movement 1 Operations (Transpose-1) (#8135)
* Migrate Transpose-1

* Skip dynamic shape tests

* Add shapes to tensors
2021-11-01 05:52:14 +03:00
Steve Yoo
05dfee0a70
Migrate Movement 1 Operations (VariadicSplit-1) (#8091)
* Migrate VariadicSplit

* Skip dynamic shape tests

* Add shapes to tensors
2021-11-01 05:42:10 +03:00
Evgenya Stepyreva
d50a40cd09
Shape inference (#8307)
* Convolution update

* Adds pragma once

* Reductions shape infer

* Shape nodes

* style
2021-11-01 05:39:57 +03:00
Wilson Seok
f912a8102d
Migrate ngraph backend test/psroi pooling/deformable psroi pooling/proposal (#8152)
* Remove fp16 of Convert layer test from skip_tests.config.cpp as it works now

* update repo

* add op reference test of psroi_pooling and deformable_psrio_pooling

* update op reference test

* remove ngraph backend test

* add op reference test of proposalV1 and proposalV4

* update skip_test_config.cpp to avoid failure of accuracy drop in fp16/bf16 test case of proposal
2021-11-01 04:47:42 +03:00
Irina Efode
79afa8a3e5
[IE TESTS] Provide correct generation of tensors in new SLT base class (#8326)
* [IE TESTS] Provide correct generation of tensors in SLT

* Try to solve float

* Update data_utils.hpp

* Fix

* rremove debug
2021-11-01 03:15:30 +03:00
Irina Efode
834d90588a
[IE TESTS][IE CONFORMANCE] Add Config to the conformance tests (#8260)
* [IE TESTS][IE CONFORMANCE] Add Config to the conformance tests

* Try to fix build

* Fix separator
2021-11-01 01:35:53 +03:00
Elizaveta Lobanova
c01ffa6932
[GNA] Fixed Log segments calculation for internal algorithm (#8317) 2021-10-31 13:21:32 +03:00
Ilya Lavrenov
661d436325
Static plugins: preprocessing and AUTO (#8265)
* 1. Removed explicit SHARED from libraries
2. Fixed double definition for ie_layer_validators

* Fixed SEG in unit-test: order of initialization for global vars

* Added an ability to find plugins.xml from static IE

* Fixes in unit-test

* Migrated to new macro for import / export

* Minimized number of custom dllexport

* Don't use IR v7 for static libraries

* Revert for merge

* Don't enable tests with dlopen for static libraries

* Code style

* Added condition for export

* Revert format_reader

* Removed forward decalaration with external linkage

* Fixed IE linkage on Windows

* Reverted back 2 flags

* Minimal RRTI for cpuFuncTests

* Minimal RRTI for cpuFuncTests

* Still need IR v7 reader

* Fixed build

* Fixed compilation

* clang-format fix

* Removed BUILD_AS_IS and used USE_STATIC_IE

* Enable IR v7 reader as static library

* Fixed compilation for GPU plugin

* Trying to build plugins as static library

* Plugins are able provide their own name for CreatePluginEngine function

* Fixed CPU

* Fixed comments

* Fixed ENABLE_IR_V7_READER usage

* Fixed VPU

* clang-format

* Fixes

* Fix

* Load multiple plugins at once

* Fixed interpreter undefined symbols

* Trying to dynamically register static plugins

* Reverted some ngraph changes

* Fixed cpuUnitTests compilation

* Fixed compilation

* Fixed myriad

* Fixed custom_opset tests

* Reverted linker flags

* Support both static and dynamic plugins

* Fixed compilation of myriadFuncTests

* Removed duplication

* Preprocessing library

* Fixes after self-review

* Fixed linkage for preprocessing

* Fixed preprocessing plugin build

* Windows fix #2

* Fixed linkage for preprocessing

* Proprocessing linkage

* Fixes for Windows

* Added optimizing libker flags to executables as well

* Fixed creation of global ov::Core

* AUTO plugin is static

* Fixed case of build+_shared_libs

* Removed some global variables from ngraph

* Fixes

* Fixed link issue on Windows

* Fixed cmake options

* Fix

* Fix

* Fix 2
2021-10-30 22:08:44 +03:00
David Nam
cc457e003e
Migrate normalization to template plugin test (#8240)
* Migrate normalization to template plugin test

* Migrate result, parameter to template plugin test
2021-10-30 17:58:33 +03:00
Ilya Churaev
f4530516c7
Use new evaluate API in CPU plugin (#8297) 2021-10-29 16:39:52 +03:00
Ilya Churaev
98e7063e4b
Fixed downgrade ov Function version (#8294)
* Fixed downgrade ov Function version

* Fixed build
2021-10-29 16:36:25 +03:00
Vladislav Volkov
fc000e5853
Migrating to the new tbbbind library version 2.5 (#8262) 2021-10-29 15:46:06 +03:00
Yegor Kruglov
90a140ae98
Extend MO/nGraph for operation MaxPool-8 (#6776)
* MO update for MaxPool-8

* using attrs in op constructor

* remove pads_value attr and pad fusing

* added axis and index_element_type parameters

* updated mo maxpool-8

* added maxpool-8->maxpool-1 transformation, disabled Pad to MaxPool fusing

* added remove_values_output to pooling extractors

* moved remove_values_output attribute to pooling infer function

* fixed ir_comparator tests

* disabled pad to maxpool fusing test

* added downgrade transformation test

* downgrade transformation update

* updated ir reader and tf pooling layer tests

* updated onnx pooling layer tests and MO infer unit test

* updated ir reader extender

* uncommented layer tests code

* disabled MaxPool-8 python binding test

* comment resolving, removed PadMaxPool fusing

* removed test

* downgrade transformation fix, MO codestyle changes

* removed axis check from downgrade transformation

* mark max_pool_test as xfail

* updated downgrade transformation test

* using OPENVINO_RTTI
2021-10-29 14:47:00 +03:00
David Nam
a429044038
Migrate signals to template plugin test (#8279)
* Migrate signals to template plugin test

* Use AutobroadcastType::NONE instead of AutobroadcastSpec::NONE

* Remove unused variable

* Fix cpplint error

* Remove unused variable
2021-10-29 13:01:42 +03:00
David Nam
b2b9d9f2c7
Migrate MatMul to template plugin test (#8253) 2021-10-29 13:00:30 +03:00
Steve Yoo
5c2ef7268b
Migrate Movement 1 Operations (Reverse-1, Split-1) (#8079)
* Migrate Reverse-1 and Split-1

* Separate classes for each exception test case
2021-10-29 12:49:41 +03:00
Irina Efode
c9e7e60a84
[IE TESTS] LayerTestCommon2.0 (#7945)
* Init

* try adopt softmax

* fix size of expected

* Fix cpuFuncTests

* Add configure model

* Remove extra

* fix softmax

* Adopt eltwise

* Eltwise

* Remove old dynamism

* fix oss build

* Remove In,OutPrecision

* Remove incorrect OPENVINO_ASSERT, correct eltwise tests and fix threshold

* Apply Maxim's comments

* Fix build

* ieFuncTests

* return in, out, prc

* fix tests

* Fix tests

* Fixes according to new api

* skip gpu

* try to fix myriad

* Fix myriad

* cpu fix
2021-10-29 12:00:45 +03:00
Anton Voronov
b8fb666dbc
[CPU] fixed dw conv fusing (#8193) 2021-10-29 11:09:51 +03:00
Maksim Kutakov
9eb8b9e0f8
[CPU] Native dynamic shapes support in the MatMul node (#7896) 2021-10-29 10:19:01 +03:00
Vladimir Paramuzov
e56e4154a7
[GPU] Fix Convert primitive (#8096) 2021-10-29 09:02:50 +03:00
Taylor Yeonbok Lee
4f4bb2b727
[GPU] Restore program node sort w.r.t the buffer size for buffer reuse (#8258)
* Restore program node sort w.r.t the buffer size for buffer reuse efficiency

* Fixed allocation type decision criteria w.r.t the total alloc for a single primtivie:
Previously it was checking alloc type of predecessors.
However not that the allocation order is sorted w.r.t the buffer size,
input is possibly not allocated yet.
(This might be resolved by separating alloc type decision process from actual allocation.)
2021-10-29 09:01:53 +03:00
Yuan Hu
cf180d7b8d
fix performance issue in AUTO:CPU mode (#8251)
* fix CPU performance problem with loading by AutoPlugin

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

* add and modify comment

Signed-off-by: Hu, Yuan2 <yuan2.hu@intel.com>
2021-10-29 08:13:13 +03:00
Ivan Tikhonov
519951a4a9
Get rid of legacy PriorBox (Clustered) transformations and ops (#5646)
* get rid of legacy prior transformations

* enable prior box unit tests

* fix build

* revert deleted file

* fix unit tests

* delete redundant includes
2021-10-28 19:55:50 +03:00
Gleb Kazantaev
83193d37a3
Remove Reshape0DToSqueeze from MO (#8233) 2021-10-28 19:55:05 +03:00
Piotr Szmelczynski
c729a6bfca
[PYTHON] Expose Layout class (#7578)
* Create binding for Layout class

* add import of Layout to __init__

* add Layout to pyngraph.cpp

* create test for Layout

* fix typo

* fix style

* clean file

* fix style

* add Layot import to ngrapph init

* remove const char* init

* style fix

* move Layout from pyngraph/ to pyopenvino/graph

* style fix

* add doc() and args to Layout

* add Layout to openvino init

* fix style

* change import name

* fix import

* add __str__ impl

* remove duplicate

* style fix

* update test_layout

* add eq and ne operators

* create test for eq and ne operators

* fix style

* update copyright year
2021-10-28 19:46:50 +03:00
Ilya Lavrenov
73e3e79709
Make some global variables const (#8275) 2021-10-28 16:10:35 +03:00
Sergey Shlyapnikov
8ba66e79f5
[GPU] Optimize first reorder in case of chain of reorders (#8234) 2021-10-28 16:10:16 +03:00
Mikhail Nosov
a62897dc93
Fix disabled caching functional tests: (#8271)
- Create new objects of 'mock' executabl networks on each 'LoadNetwork'
- This allows creation of moc nets with different Input/Output Info
- Lock mutex during creation of mock objects in different threads. This is due to gmock stores 'mock' objects in non-thread-safe way
- Added comments of how to reproduce sporadic problems on disabled tests
- Enabled all disabled tests as problems are not observed anymore
2021-10-28 16:03:30 +03:00
Kelvin Choi
fd83e0bf2d
[IE CLDNN] Removed fused_conv_eltw primitive and kernels (#6832) 2021-10-28 15:28:59 +03:00
Tomasz Dołbniak
e8e7cdf306
Python 3.6.9 crash fix (#8273) 2021-10-28 14:49:06 +03:00
Nikita Demashov
f743fee0fd
fix fake quantize constants (#8244) 2021-10-28 13:08:23 +03:00
Vladimir Dudnik
6ac571e12a
eliminate odd memory copy (#8093) 2021-10-28 12:58:08 +03:00
Yury Gaydaychuk
ab6f9c670e
[CPU][DS] Dynamic shapes support for Range (#7929) 2021-10-28 12:54:01 +03:00
Vladimir Paramuzov
c1a352a136
[GPU] Fixed AS_TYPE macro usage (#8276) 2021-10-28 12:21:53 +03:00
Ilya Lavrenov
8fb699a42c
Static compilation for inference plugins (#8197)
* 1. Removed explicit SHARED from libraries
2. Fixed double definition for ie_layer_validators

* Fixed SEG in unit-test: order of initialization for global vars

* Added an ability to find plugins.xml from static IE

* Fixes in unit-test

* Migrated to new macro for import / export

* Minimized number of custom dllexport

* Don't use IR v7 for static libraries

* Revert for merge

* Don't enable tests with dlopen for static libraries

* Code style

* Added condition for export

* Revert format_reader

* Removed forward decalaration with external linkage

* Fixed IE linkage on Windows

* Reverted back 2 flags

* Minimal RRTI for cpuFuncTests

* Minimal RRTI for cpuFuncTests

* Still need IR v7 reader

* Fixed build

* Fixed compilation

* clang-format fix

* Removed BUILD_AS_IS and used USE_STATIC_IE

* Enable IR v7 reader as static library

* Fixed compilation for GPU plugin

* Trying to build plugins as static library

* Plugins are able provide their own name for CreatePluginEngine function

* Fixed CPU

* Fixed comments

* Fixed ENABLE_IR_V7_READER usage

* Fixed VPU

* clang-format

* Fixes

* Fix

* Load multiple plugins at once

* Fixed interpreter undefined symbols

* Trying to dynamically register static plugins

* Reverted some ngraph changes

* Fixed cpuUnitTests compilation

* Fixed compilation

* Fixed myriad

* Fixed custom_opset tests

* Reverted linker flags

* Support both static and dynamic plugins

* Fixed compilation of myriadFuncTests

* Removed duplication

* Fixes after self-review

* Fixed linkage for preprocessing

* Fixes for Windows

* Fixes

* Fixed cmake options

* Fix

* Fix

* Fix 2
2021-10-28 11:33:56 +03:00
Anton Romanov
a91725cedd
Fix build C samples on windows (#8274) 2021-10-28 11:31:54 +03:00
Mikhail Nosov
5cb2174721
Layout: add _idx suffix for helper getters (#8196)
'layout::width' -> 'layout::width_idx', etc
2021-10-28 11:26:55 +03:00
Maxim Andronov
6416b73855
[CPU] MVN, FQ, Convert dynamic nodes (#7817) 2021-10-28 10:52:14 +03:00
Artyom Anokhov
6908023a42
config.py: Updated routing due to new place of DM tool. (#8230)
config/*.json: Updated list of files due to current layout
2021-10-28 10:50:09 +03:00
David Nam
d198d57fe1
Migrate pooling to template plugin test (#8136)
* Migrate pooling to template plugin test

* Fix clang format

* Fix clang style error

* Fix clang style error

* Remove unused variable

* Fix cpplint error

* Fix CI build error

* Remove max_pool.in.cpp
2021-10-28 09:45:12 +03:00
Sergey Shlyapnikov
db9fbcbec2
[GPU] Fix output format for FP16/FP32 Convolution output (#8223) 2021-10-28 09:37:25 +03:00
Ilya Znamenskiy
262c87c6e1
[GPU] New OneDNN post-ops optimizations and fusing tests (#8056)
* [GPU] New OneDNN post-ops optimizations and fusing tests

* [GPU] Code refactoring by github comments

Failing test disabled in #8109
2021-10-28 09:30:08 +03:00