Commit Graph

2118 Commits

Author SHA1 Message Date
Krzysztof Bruniecki
93e270169c
Print GNA Lib function name when error code obtained (#3129) 2020-11-17 13:16:15 +03:00
Ivan Tikhonov
ea52dd2642
TI and Sequences related transformations: transition from cnn to ngraph versions (#2927)
* sequences to ti transformations, support for seq_lengths input, update reference implemetations, add new tests

* fix python api, update sequences to ti transformation

* transition from cnn to ngraph transformations for cpu, gpu, vpu plugins

* fix convert_ti_to_sequence transformation

* fix naming issue in unroll transformation

* test pure TensorIterator in vpu plugin

* fix sequences to ti transformation

* Update sequences to TI transformation: fix reverse sequence support

* update single layer tests, fix TI reference impl, fix Sequences to TI transformations

* ngraph code style

* fix build

* fix ngraph python api

* resolver review comments, refactoring

* revert vpu changes

* disable/fix tests

* refactoring

* Resolve review remarks

* optimization of LSTMSeq -> LSTMSeq IE: remove unnecessary Transpose ops

* Refactoring of transformation pipeline in cpu and gpu plugins, align GRU/RNN -> GRU/RNN IE with LSTM -> LSTM IE

* update TensorIterator tests, refactoring

* fix typo

* Fix unit tests, delete unnecessary callbacks

* Refactoring: delete commented code

* Add FullyConnected to skipConstInfer list for legacy ConstFolding

* disable legacy cnn unit tests

* delete xfail

* fix for backward compatibility with opset1::LSTMCell

* delete xfail

* fix build, remove Reshape layer from skipConstInfer list
2020-11-17 12:38:22 +03:00
Jan Iwaszkiewicz
cfe143fd33
[nGraph][ONNX] Rename xfails (#3061) 2020-11-17 10:34:33 +01:00
Vitaliy Urusovskij
070fc17087
Extend information to submit to a DB in time_tests (#3018)
* Optimize imports in time_tests conftest.py

* Extend information to submit to a DB in time_tests:
1. Add `--manifest` and `--db_metadata` CLI keys
2. Add `prepare_db_info` fixture

* Move `validate_test_case` fixture to a const schema, remove extra checks

* Add `manifest_metadata` fixture to parse and validate manifest only once

* Add OS utils to submit os info to DB
2020-11-17 12:07:40 +03:00
Maxim Vafin
a991ad926f
Fix ApplyPermutations for the case when more then 1 input with permutes (#3095) 2020-11-17 11:58:01 +03:00
Ilya Lavrenov
5bb0dba335
Removed documents which are ported to OpenVINO WiKi (#3106)
* Removed documents which are ported to OpenVINO WiKi

* More updates

* Removed getting started

* Ported more guides to OpenVINO Wiki
2020-11-17 11:46:05 +03:00
Ilya Lavrenov
9d52520a8c
Connect some ngraph and IE cmake options (#3147) 2020-11-17 11:42:34 +03:00
Roman Vyunov (Intel)
9da175c10c
[IE][TOOLS] Fix for CCT two IR mode (#3084) 2020-11-17 11:41:48 +03:00
Aleksandr Korolev
957a1f6590
[IE][VPU]: Fix condition in HW tiling (#3111)
Co-authored-by: kora6 <kora6@github.com>
2020-11-17 11:36:23 +03:00
Aleksandr Pertovsky
4e510c80c0
[ngraph] Fix compare functions for functional tests (#3161) 2020-11-17 11:32:52 +03:00
Vladimir Paramuzov
c4d39fabeb
[IE CLDNN] Fixed mem leak (#3153) 2020-11-17 11:18:48 +03:00
Mateusz Tabaka
28315cf020
Fix compilation error in gna_wait_test (#3150)
error: converting to ‘std::vector<std::tuple<unsigned int, long int,......
2020-11-17 11:08:01 +03:00
Anton Romanov
a8bdee6359
Show help message when -i or -m is not set (#3144) 2020-11-17 10:50:23 +03:00
Chenhu Wang
be044a7003
[CPU] Interpolate operation improvements (#2366)
* interpolate improvement

* JITTED cubic mode

* fix 'code is too big' when JIT

* extend test to cover tail code path

* transformation of interpolate1 to interpolate4

* add low precision transformation for interpolate4
2020-11-17 10:42:34 +03:00
Mikhail Ryzhov
23e653858b
Reduced usage of batch in python samples (#3104)
* Reduced usage of batch in python sampes

Excluded from hello_classification and object_detection samples
2020-11-17 10:12:33 +03:00
Irina Efode
dc710d6090
[IE TESTS] Move main.cpp to shared lib from plugin functional tests (#3157) 2020-11-17 10:11:17 +03:00
Irina Efode
8d855fb654
[IE TESTS][IE CPU] Add smoke prefix for broadcast SLT (#3158) 2020-11-17 10:10:45 +03:00
Maxim Andronov
a166f95acc
[IE TESTS] Added test for NMS (#2830) 2020-11-17 09:33:19 +03:00
Anton Voronov
6467a9f5b8
[CPU] added MergePermuteAndReorder optimization + added test (#2519) 2020-11-17 09:04:49 +03:00
Mateusz Bencer
98e8aa8128
Protect reading external weights from up-dir (#3098)
* introduced path sanitizing

* added tests, folders structure clean-up

* fixed test

* fixed up-dir path handling

* improved sanitizing for windows

* fix Windows test

* move sanitize impl
2020-11-17 07:16:39 +03:00
Ivan Tikhonov
b45e1a25a5
LSTM/GRU/RNN Sequences : support for seq_lengths input (#2788)
* sequences to ti transformations, support for seq_lengths input, update reference implemetations, add new tests

* fix python api, update sequences to ti transformation

* fix sequences to ti transformation

* Update sequences to TI transformation: fix reverse sequence support

* update single layer tests, fix TI reference impl, fix Sequences to TI transformations

* ngraph code style

* fix build

* fix ngraph python api

* resolver review comments, refactoring

* Resolve review remarks

* delete xfail
2020-11-17 07:04:20 +03:00
Mateusz Bencer
89f06586cf
Specification to ONNX external data feature (#2939)
* Added external weights files doc

* review remarks

* review remarks

* review remarks

Co-authored-by: Michał Karzyński <4430709+postrational@users.noreply.github.com>

* review remarks. part 2

Co-authored-by: Michał Karzyński <4430709+postrational@users.noreply.github.com>

* fixed info about nullptr

* Apply suggestions from code review

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

* review remarks. part 2

Co-authored-by: Michał Karzyński <4430709+postrational@users.noreply.github.com>
Co-authored-by: Anastasiya Ageeva <anastasiya.ageeva@intel.com>
2020-11-17 06:57:57 +03:00
Tomasz Socha
0f539cc71c
Use std::transform instead of vector constructor (#3151) 2020-11-17 06:57:00 +03:00
Irina Efode
e9de4daee7
[IE TESTS] Remove extra dependency from Shared lib (#3006)
* [IE TESTS][IE CMAKE] Add cmake option for configuration to skip tests

* [IE TESTS] Remove extra dependency from IE tests shared lib

* Revert to add flag
2020-11-16 22:29:02 +03:00
Mikhail Ryzhov
3fe371299a
Corrected "-i" argument description (#3142)
* Corrected "-i" argument description

According to their usage in samples
2020-11-16 21:48:06 +03:00
Jedrzej Hajduczenia
a735ecc401
[IE CLDNN] Add asymmetric quantization support to fsv16 imad 1x1 convolution kernel (#2941) 2020-11-16 20:56:19 +03:00
Evgeny Lazarev
0a9d883d78
Fix for Reduce extractors and normalizer (#3136)
* Fixed extractor for ONNX ReduceXXX operations and fixed ReduceAxisNormalizer transformation

* Unit test for ReduceAxisNormalizer transformation
2020-11-16 18:50:13 +03:00
Alexey Ershov
6efcdb0a21
[IE][VPU]: ExpGenerateProposals: added temporary buffer allocation (#3093)
ExpGenerateProposals: temporary buffer allocation moved from firmware to blob
* Added tmpBuffer
* Changed the amount of allocated memory
* firmware update

Co-authored-by: Ivan Poliksenov <ivan.poliksenov@intel.com>
2020-11-16 18:03:19 +03:00
Andrey Sokolov
1fd07663c9
[IE][VPU]: NMS - fix memory allocation bug (#3133) 2020-11-16 17:52:27 +03:00
Mateusz Tabaka
8f82589be0
Update tolerance values for ONNX model tests (#3131) 2020-11-16 15:23:20 +01:00
Anton Romanov
f5528a7d98
small refactor samples setBatchSize (#3053)
* small refactor samples setBatchSize
2020-11-16 17:20:54 +03:00
Bartosz Sledz
ffebfe7f41
Extend test coverage for ONNX Resize Operator (#3086) 2020-11-16 15:20:01 +01:00
Bartosz Sledz
749d70bb63
Add ceil_mode for Max and Avg pooling (#2965) 2020-11-16 15:16:24 +01:00
dependabot[bot]
5d0bfbb47f
Bump wheel from 0.34.2 to 0.35.1 in /ngraph/python (#3120) 2020-11-16 14:08:12 +01:00
Maksim Kutakov
ca36b91a73
[CPU] Broadcast check has been added to the ConvertPowerToPowerIEMatcher transformation. (#3132)
* [CPU] Added broadcast check to the ConvertPowerToPowerIE transformation.

* [CPU] Eltwise single layer test instance extended with a two inputs case.
2020-11-16 15:58:10 +03:00
Ilya Churaev
17f478d8c4
Fixed negative paddings for convolution backprop data (#3117)
* Fixed negative paddings for convolution backprop data

* Fixed code style

* Fixed comments
2020-11-16 15:30:18 +03:00
Bartek Szmelczynski
e70b2bf469
add tests for 5 ops based on model zoo (#3062)
* add tests for 5 ops based on model zoo

* remove unnecessary layers from the test

* add test case with merge_repeated=0

* remove unnecessary layers and add new test casae with do_softmax=0

* remove unnecessary layers from the test
2020-11-16 15:19:31 +03:00
Krzysztof Bruniecki
bb369f189a
Revert "Erase from unwaited requests container on QoS abort (#3125)" (#3148)
This reverts commit d7e98f605d.
2020-11-16 15:05:59 +03:00
Krzysztof Bruniecki
d7e98f605d
Erase from unwaited requests container on QoS abort (#3125) 2020-11-16 13:30:48 +03:00
Tomasz Dołbniak
fd877cd5c9
Enablement of GatherND tests (nG & ONNX) (#3013) 2020-11-16 11:09:34 +01:00
Ilya Lavrenov
0a230f829e
Fixed klockwork (#3119) 2020-11-16 12:50:03 +03:00
Anton Romanov
74f8b86e8c
Alignment model and input (#3115) 2020-11-16 12:26:04 +03:00
Rafik Saliev
9790c1253c
[BugFix] Fix compilation error caused by typo in #3109 (#3135) 2020-11-16 11:25:57 +03:00
Roman Kazantsev
10b18a00c6
Improve reshapeability of models with eltwise nodes influencing shapes (#2767)
* Fix ElementwiseInputReshape transformation

Reshape node always needs to be inserted
in order to preserve ShapeOf nodes (reshapability of a model) that can potentially be above
elementwise node.

Refactor EltwiseInputReshape_test and EltwiseInputNormalization_test since the logic of maintaining reshape for eltwise has been changed.

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Merge EltwiseInputNormalization and EltwiseInputReshape transformations

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Remove Unsqueeze from Fused_op

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Fix code after code review #1

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Fix code after review #2

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Fix code review #4

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Perform full normalization based on shapes of all inputs to eltwise

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Refactor much to avoid old API and edges with unsqueeze_dims attribute

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Fix code after review

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
2020-11-16 09:50:41 +03:00
Maksim Doronin
2a7f2f5eb6
[IE][VPU][XLink]: XLink semaphore wrappers impl (#3079)
XLink wrappers for POSIX semaphore functions (refer sem_overview for details). In the description of standard sem_destroy the following is noted:
"Destroying a semaphore that other processes or threads are currently blocked on (in sem_wait(3)) produces undefined behavior."
XLink wrappers use thread-safe reference count and destroy the semaphore only in case if there are no waiters.

* XLink semaphore wrapper impl
* Extend XLink win_synchapi
2020-11-16 02:51:46 +03:00
Ilya Lavrenov
fec3bc0990
Propogate DEVICE_ID for functions working with RemoteContext (#3109)
* Propogate DEVICE_ID for functions working with RemoteContext

* More fixes for RemoteContext

* Fixed tests compilation with VariableState
2020-11-13 19:44:40 +03:00
Anna Alberska
d87fdbe89b
[GNA] fix 4d batch size eltwise issue (#3127) 2020-11-13 19:28:02 +03:00
Alexander Perepelkin
c860f5fa7d
Enable segfaulting getAvailableDevices, ExecGraphSerializationTest.ExecutionGraph_CPU after segfaults are fixed (#3124) 2020-11-13 19:17:27 +03:00
Kamil Magierski
9f54989824
[GNA] 4D concat align pass (#2970)
* [GNA] Fix RemovePermutationsNHWCToNCHWPass in cases that permute input has many outData

* style

* [GNA] linux test fail fix
2020-11-13 18:12:45 +03:00
Maxim Andronov
9070cb865d
[CPU] fix NMS-5 CentOS7 error (#3083) 2020-11-13 17:56:20 +03:00