Commit Graph

820 Commits

Author SHA1 Message Date
Eugene Smirnov
fecc7eac90 [GNA] fixed conversion from fp16 to fp32 networks in case of const blobs (#2446) 2020-09-29 19:44:12 +03:00
helmutg
266d275293 don't attempt to install an external tbb (#2390)
Co-authored-by: Vladislav Vinogradov <vlad.vinogradov@intel.com>

Co-authored-by: Helmut Grohne <helmut.grohne@intenta.de>
Co-authored-by: Vladislav Vinogradov <vlad.vinogradov@intel.com>
2020-09-29 19:22:41 +03:00
Anna Alberska
1cfa47cde8 [GNA] clear input scale factor from configuration for imported model (#2172)
* [GNA] clear input scale factor from configuration for imported model

* add test

* [GNA] add warning for using imported scale factors
2020-09-29 18:32:09 +03:00
Eugene Smirnov
2be6032c8d [IE][TESTS] Test params generator: fixed conversion from map of vectors into vectors of pairs in case of empty vector. (#2445) 2020-09-29 14:02:01 +03:00
Ilya Lavrenov
a5c01343c1 Added link options for cross-compilation (#2399) 2020-09-28 18:59:48 +03:00
Vladislav Vinogradov
d28a5d6c4f [CMAKE] Introduce FASTER_BUILD experimental feature (#2438)
It uses CMake 3.16 built-in utilities to speed up build time:

* Unity builds
* Precompiled headers

The feature is controlled via `ENABLE_FASTER_BUILD` CMake option (disabled by default).
The option avaialble only on CMake >= 3.16.
The feature is enabled per-target via `ie_faster_build` function.

Some observations:

* Don't have actual numbers for compile time, but subjectively can see
  speed up locally with VS 2019.
* Unity builds gives much more effect, but has some restriction on source files,
  so are not used everywhere.
2020-09-28 18:53:11 +03:00
Andrey Markelov
63fbe78d76 Fix tile layer test header (#2315) 2020-09-28 17:13:49 +03:00
Evgeny Latkin
4dd1d57ccf [IE][VPU]: Disables data type check of temp buffer in LSTMCell (#2423) 2020-09-28 12:36:44 +03:00
Anton Pankratv
c8233b7b7c Fixed canStartSeveralAsyncInsideCompletionCallbackWithSafeDtor (#2404) 2020-09-28 11:08:34 +03:00
Krzysztof Bruniecki
a14e12ee63 Return REQUEST_NOT_READY if GNA Wait returns busy status (#2401)
* Return REQUEST_NOT_READY if GNA Wait returns busy status

* Apply fixes from review
2020-09-28 10:22:23 +03:00
Anton Pankratv
863a7bd663 Holder test thread safe for all (#2425) 2020-09-25 21:12:24 +03:00
Andrew Bakalin
03d184726a [IE][VPU]: Supports I32 for some eltwise precisions + tests (#2364) 2020-09-25 18:29:34 +03:00
Aleksandr Korolev
eda9498b79 [IE][VPU]: Reduce tests execution time (#2378)
* [IE][VPU]: Reduce tests execution time

* [IE TESTS] Remove 'ConfigurePlugin()' from 'memory_LSTMCell.hpp'

* [IE VPU TESTS] Myriad conv layer tests was changed

Co-authored-by: Maksim Doronin <maksim.doronin@intel.com>
Co-authored-by: kora6 <kora6@github.com>
2020-09-25 14:24:12 +03:00
Gladilov, Gleb
10df5907b5 [IE][VPU]: Fixes addCopyForOutputsInsideNetwork (#2393)
* [IE][VPU]: Fixes addCopyForOutputsInsideNetwork

In case of dynamic output with consumer pass tries
to connect output's shape with new intermediate data
twice: one at the moment of duplicateData call (successful)
and once more at the end of the pass manually. The second
try leads to error since child data is already connected.

Signed-off-by: Gladilov, Gleb <gleb.gladilov@intel.com>

* [IE][VPU]: Introduces tests on addCopyForOutputsInsideNetwork

Signed-off-by: Gladilov, Gleb <gleb.gladilov@intel.com>
2020-09-24 12:40:10 +03:00
Andrey Sokolov
cfb6fae2c9 [IE][VPU]: Reduces memory consumption by temporary buffers (#2317) 2020-09-24 12:27:44 +03:00
Ilya Lavrenov
071485b81d Fixed docs build on Windows (#2398) 2020-09-24 12:13:27 +03:00
Evgenya Stepyreva
97fad1cb35 [ nG transformation ] Const -> FQ -> Reshape fuse (#2388)
* [ nG transformation ] Const -> FQ -> Reshape fuse
	Ticket: 39124

* fix dtype incompatibility: uint64 vs size_t

* Review comments adressed
2020-09-24 11:44:08 +03:00
Liubov Batanina
f8a17a1317 Changed pad data type (#2354) 2020-09-23 13:10:58 +03:00
Gleb Kazantaev
1afeb8470f Apply transformations to TI body recursively (#2114)
* Apply transformations to TI body recursively

* Add missing header
2020-09-23 09:46:28 +03:00
helmutg
2e6c95f389 fix hetero to stop using deprectaed pugixml methods (#2362)
Co-authored-by: Helmut Grohne <helmut.grohne@intenta.de>
2020-09-22 19:05:34 +03:00
Alexey Varyzgin
193bdb3195 [CPU BF16] FP32 exception was removed (#2326) 2020-09-22 18:19:50 +03:00
Anton Potapov
2ea02b2012 [PP GAPI] Split/Merge kernels; support for 8S, 16U, 16S, 32S (#2276)
- introduced type_dispatch primitive
 - refactored SplitX and MergeX kernels to use type_dispatch
 - extended SplitX and MergeX to support 8S, 16U, 16S, 32S types
2020-09-22 18:18:26 +03:00
Kamil Magierski
4ac8ac943b [GNA] Fix sporadic failures in IE tests (#2336)
* [GNA] Fix sporadic failures in IE tests
review comments impl

* [GNA] fix GNA1 segfault

* [GNA] GNA1 build fixes
2020-09-22 18:14:20 +03:00
Kamil Magierski
9fca26b21e [GNA] LSTMCell fixes (#2080) 2020-09-22 18:13:28 +03:00
Anton Potapov
f9c8b692fb [PP GAPI] Extended preprocessing graph to support precision conversions (#2290)
- not yet visible via plugin interface
- for resize non U8 input is converted to  FP32
- tests
2020-09-22 17:40:01 +03:00
Eugene Smirnov
079bf2b092 support for conversion between fp32 and fp16 types for ngraph_helpers (#2357) 2020-09-22 13:21:06 +03:00
Evgeny Latkin
171bf0fcc5 [IE][VPU]: Enables check of parameters count for LSTMCell (#2335) 2020-09-22 12:06:25 +03:00
Eugene Smirnov
f0b10bf071 [GNA] fake quantize single layer tests for GNA plugin (#2060)
* fake quantize single layer test for GNA plugin

* implemented fakequantize for fp32 case as an activation function

* added proper seed randomisation within single test run

* [GNA] [FAKEQUANTIZE] fixed ref-fp32 implementation on GNA to use nearbyint instead of roundf

* [GNA] [FAKEQUANTIZE] restored random seed

* [GNA][FAKEQUANTIZE] disabled 4d and integer tests for FakeQuantize

* [GNA][FAKEQUANTIZE]updated ngraph FakeQuantize builder to accept seed

* [GNA][FAKEQUANTIZE]aligned FP calculations order on GNA with reference ngraph - this however gives more error

* [CPU]build of FakeQuantise tests restored

* [TESTS][FAKEQUANTIZE] ignore extra inferRequests for disabled tests

* [GNA] Fixed legacy unit test failuers appeared due to extra check for possible segfault in import frames

* [GNA] adopted fuse multiple identities for FakeQunatize layer

* [GNA]fp32 runtime code review
2020-09-21 14:22:14 +03:00
Tomasz Dołbniak
dda6d9136b Backport of FQ+Mul transform to master (#2214)
* Backport of FQ+Mul transform to master

* Accept any type of input to FQ in the transformation

* Test the fusion when all FQ inputs are non-const

* Fusion test when only one output limit is const

* Test passing the output of FQ to second input of Mul
2020-09-21 13:21:27 +03:00
Alexander Perepelkin
c13ec24e1e Specify in and out precisions separately, add layouts for convolution (#2211)
* Specify in and out precisions separately, add layouts for convolution

* Align convolution layer tests instantiations with updated definition

* Align convolution layer tests instantiations with updated definition for template plugin

* net, in, out prcs

Co-authored-by: Mikhail Treskin <mikhail.treskin@intel.com>
2020-09-21 13:03:01 +03:00
Liubov Batanina
6839ef7699 Add TopK tests (#2165) 2020-09-21 11:37:22 +03:00
Ivan Tikhonov
61a7cdde23 Introduce opset5, include GRU/RNN/LSTM Sequences to opset5 (#2265)
* introduce new opset5, include GRU/RNN/LSTM Sequences to opset5

* resolve review remarks
2020-09-18 21:26:21 +03:00
Anastasia Kuporosova
58d8de98cc [Python API Tests] Update ngraph and iecore tests (#2329)
Co-authored-by: Alexander Zhogov <alexander.zhogov@intel.com>
2020-09-18 19:42:36 +03:00
Evgeny Talanin
fe99e055f2 Bump cmake version to 3.13 (#2258) 2020-09-18 18:58:12 +03:00
Andrey Sokolov
676ce76650 [IE][VPU]: Makes ROIAlign to use 2 stage pipeline (to support ma2485) (#2123) 2020-09-18 18:12:16 +03:00
Ilya Lavrenov
147a508a51 fixes for UWP (#2255)
* UWP fixes

* Commented code for compilation with UWP

* Current state: compiled for DESKTOP_APP

* Fixes

* Added toolchain

* Enabled ONNX imported for Windows Store

* Updated toolchain

* Fixes

* Disable ONNX in case of UWP

* Fix for Windows Driver

* Applied style check

* Dynamic loading of GetDLLDirectory symbols

* Clean-up in the toolchain

* Updated mkldnn plugin cmake
2020-09-18 17:13:27 +03:00
Mateusz Tabaka
a34b6e38f3 ConvertPrecision - saturate Constant's value to std::numeric_limits<dst… (#2206)
* ConvertPrecision - saturate Constant's value to std::numeric_limits<dst_type>::lowest() if it's below that limit.

* Remove clamping to std::numeric_limits<int32_t>::lowest() in U32/U64 case
2020-09-18 10:56:11 +03:00
Ivan Tikhonov
1b7dfc6e4c Fix bidirectional mode in reference implementations of GRU/LSTM/RNN Sequences (#2264)
* fix bidirectional case in references of sequences ops, enable decomposition of bidirectional cases in CommonOptimizations

* introduce new opset5, include GRU/RNN/LSTM Sequences to opset5

* Revert "introduce new opset5, include GRU/RNN/LSTM Sequences to opset5"

This reverts commit 73c22a11db.
2020-09-18 10:14:01 +03:00
Ilya Lavrenov
73a31bad15 Fixed compilation without OpenCV (#2309) 2020-09-18 06:30:29 +03:00
Maksim Doronin
b0308d91a5 [IE][VPU]: Enable some DSR+Op tests (#2118)
* Introduced a new way to test DSR+Op cases
* Enabled DSR_Reduce, DSR_VariadicSplit, DSR_TopK, DSR_Scatter, DSR_Unsqueeze tests
* Other disabled tests are still disabled until reference function is implemented. Added related comments
* Reduce DSR+Op tests execution time via reducing tensor shapes
2020-09-17 23:52:16 +03:00
Andrew Bakalin
8ebd3440c7 [IE][VPU]: Enable DTS for some eltwise operations (#2242)
* Enable DTS for Maximum, Minimum, Less, LogicalNot
2020-09-17 15:28:33 +03:00
Vladislav Vinogradov
60ad6edf32 [IE][CMAKE] Add some libraries to ie_developer export list (#2279)
The following libraries:

* `vpu_common_lib_test_static`
* `ieTestHelpers_s`

Those libraries might be helpful for standalone plugins tests.
2020-09-17 15:24:19 +03:00
Vladimir Gavrilov
f30656ed6d Fixing bugs in nGraph reference implementation of Interpolate-4 (#2204)
* Now coordinate_transformation_mode used for all axes in the 'nearest' mode.

* Temporarily added tests for Interpolate-4 evaluate().

* Deleted temporarily added tests.

* Fixed documentation for the 'nearest' mode.

* Small fixes.

* Disabled Interpolate-4 layer tests for CPU.

* Disabled some Interpolate-4 CPU tests.

* do not change index table when execute each time

* layout check added

* interpolate for no batch size even scale is 1

* coordinate transformation with div scale, not multiple 1/scale, for higher accuracy

* disable tests temporal

* test modification

* Some changes.

* Enabled some tests.
2020-09-17 14:15:57 +03:00
Mikhail Ryzhov
dbf8fbf9c6 Fixed c samples build (#2278)
* Fixed c samples build

fixed CVS-38816 - Failure to build samples in C

* Fixed issue with gflags
2020-09-17 13:51:23 +03:00
Anton Pankratv
34636ba7dd Default Infer leads to correct infer request state (#1562) 2020-09-17 11:57:11 +03:00
Ivan Tikhonov
379158fc11 Move PriorBox to PriorBoxIE transformation from CommonOptimization pass (#2185)
* move PriorBox to PriorBoxIE transformation from CommonOptimization pass

* call initNodeInfo transformation before PriorToPriorIE

* update comments
2020-09-17 11:45:45 +03:00
Maxim Shevtsov
6b9376e0c6 Reverting devicePriorities to be vector and respect the order, as opposed to the incorrect (re (#2249)
cent?) refactoring that introduced the unordered_map that effectively ignores the priorities
2020-09-17 09:31:42 +03:00
Nikolay Shchegolev
5e4377b250 [CPU] RNN layer. Blobs precision validation. (#2223) 2020-09-16 18:19:14 +03:00
Nikolay Shchegolev
1e5edf86a1 Statically analyzed issues. (#2274) 2020-09-16 18:09:59 +03:00
Irina Efode
12abb2eb49 [IE TESTS] CoreThreading_LoadNetwork tests were disabled for GPU plugin (#2245) 2020-09-16 16:46:02 +03:00