Commit Graph

1596 Commits

Author SHA1 Message Date
Andrey Sokolov
4ce6e3414c
[IE][VPU][Myriad]: NMS layer optimization; support big buffers (#2839) (#2839)
* Myriad: new firmware version (1445)
2020-10-30 13:30:21 +03:00
Gladilov, Gleb
6845af5880
[IE][VPU][GT]: Fixes Eltwise+ReLU merge for dynamic networks (#2777)
Eltwise + ReLU merge is expected to be performed unconditionally
in all cases and since it does not require strides to be defined
could be performed before adjustDataLayout pass.

Unfortunately, there are cases with unexpected degradation after
such a change is introduced. In specific case it seems to be
caused by degradation in HW operation (convolution). It was not
investigated completely and reason is still unknown (convolution
itself remains unchanged in network, but for some reason works
slower).

It has been decided to introduce change only in case of dynamic
models to have performance benefit for some cases and avoid
degradations in others.

Moving mergeEltwiseAndReLU pass before adjustDataLayout for
dynamic cases allows to get additional performance gain due to
lack of extra copy stages introduced in adjustDataLayout.

Signed-off-by: Gladilov, Gleb <gleb.gladilov@intel.com>
2020-10-30 11:42:09 +03:00
Rafal Blaczkowski
797d35ef64
Improve ngraph python api in debug mode (#2836)
* Update MacOS machine

* Update setup.py

* Add debug statement

* Improvements

* Update ngraph/python/setup.py

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

* Rollback the last change

Co-authored-by: Michał Karzyński <4430709+postrational@users.noreply.github.com>
2020-10-30 11:17:58 +03:00
Ilya Churaev
a1b144d024
Removed legacy travis script (#2888)
* Removed legacy travis script

* Removed legacy variables
2020-10-30 10:18:09 +03:00
kobeyu
22e1a30294
[IE CLDNN] Fixed compilation error for tutorial samples (#430)
Co-authored-by: Kobe Yu <kobe.yu@kneron.us>
Co-authored-by: Alexander Zhogov <alexander.zhogov@intel.com>
2020-10-30 10:07:17 +03:00
Gladilov, Gleb
8ee263e7fb
[IE][VPU][GT]: Introduce Split by dynamic dimension check (#2802)
* [IE][VPU][GT]: Introduce Split by dynamic dimension check

At the moment, myriad plugin does not support split operation
by dynamic axis. To be sure there is no issue with optimized-out
split operation which should have been replaced with copy
stage - assertion before DTS transformation is introduced.

Check should be performed before loop with DTS transformations
because it requires dynamic context (dynamic dimension should be
visible as dynamic), otherwise dynamic dimension would be
replaced with upper-bound estimation and check will always pass.

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

* [IE][nGraph]: Fixes normalize_axis symbol exporting

Signed-off-by: Gladilov, Gleb <gleb.gladilov@intel.com>
2020-10-30 09:12:11 +03:00
Bartosz Lesniewski
b25d4ab065
Remove operators with existing functional tests from layer creator (#2772)
* Remove 49 operators from layer creator

* Remove debug code

* Add specificCreator for deconvolution

* add specificCreator for logical not

* Fix concat creator behavior for negative axis

* add creator for TopK, overrides for visit_attribute methods

* remove layerCreator templates for removed ops

* Disable exception check for Deconvolution and TopK

* add specificCreator for stridedSlice

* add specificCreator for DetecionOutput

* resolve conflict with batchNormInference changes

* fix detection output visit_attributes for some of the bools

* Remove Ceiling from LayerCreator

* Change detectionOutput param validation to expect bool instead of uint

* detectionOutput specificCreator to set bool params as int strings

* Add vector of integer value accessor handling to xml deserializer.

* Fix indentation
2020-10-30 07:42:27 +03:00
Mateusz Tabaka
7b45975af8
Remove obsoleted v0::ReplaceSlice (#2887) 2020-10-30 07:37:15 +03:00
Mateusz Tabaka
d6a9ef3a8f
Remove obsoleted v0::Not operator (#2846)
* Remove obsoleted v0::Not operator

* restore tests from ngraph/test/backend
2020-10-30 07:33:26 +03:00
Jozef Daniecki
34af04e1a8
Serialization of experimental and custom ops (#2862)
* Add IEGeneric node type handling.

* Remove dependency on plugin_api library.

IEGeneric type name is passed via Visiotr API as new syntetic atribute.

* Add custom operations support

* Fix charachter literals comparison.

* Pass custom opsets to CNNNetwork:serialize().

IE extensions are stored in ngraph CNNNetwork and later used to pass
custom opsets to serialization transformation.

* Refactor custom ops tests to use template_extension library.

* Add comment on __generic_ie_type__ purpose.
2020-10-30 07:31:27 +03:00
Gleb Kazantaev
251429511d
Fixed convertFunctionToCNNNetwork to support non unique names (#2864)
* Unique names normalization during nGraph to CNNNetwork conversion

* Added tests

* Code refactoring
2020-10-30 07:24:37 +03:00
Vitaliy Urusovskij
0ef1fb8a09
Update MemCheckTests OMZ part: get_testdata.py and configs (#2722) 2020-10-30 00:37:02 +03:00
Nikolay Shchegolev
50408defba
[CPU] Enable GatherND tests in ONNX. (#2904) 2020-10-29 22:53:26 +03:00
Vladimir Paramuzov
6cb71d61b4
[IE CLDNN] Added 6d crop support (#2841) 2020-10-29 21:41:05 +03:00
Anastasia Kuporosova
266f143cb2
[Python API] Remove IENetLayer class (#2755)
* [Python API] Remove IENetLayer class

* fix tests

* fix tests

* remove importing ngraph from several tests
2020-10-29 21:34:55 +03:00
Nikolay Shchegolev
257bfc9944
[CPU] GatherND implementation. (#2757) 2020-10-29 19:28:31 +03:00
Vladimir Paramuzov
6fec63862b
[IE CLDNN] Disabled fusing into eltwise node for fsv32 layout (#2844) 2020-10-29 16:01:53 +03:00
Dominik Wernberger
b92073f623
Fix visual appearance (#2148) 2020-10-29 15:27:33 +03:00
Maxim Vafin
3019a34dc8
Improve support ONNX Resize-10 created by PyTorch (#1350) 2020-10-29 15:26:23 +03:00
Aleksandr Korolev
04b7822761
[IE][VPU][TESTS] Fix vpu split with unusable outputs & test (#2718)
* Fix vpu split with unusable outputs & test

Co-authored-by: kora6 <kora6@github.com>
2020-10-29 15:12:10 +03:00
Andrew Bakalin
4043413529
[IE][VPU][DTS][Tests]: Remove WAs for networks with multiple outputs (#2828)
* Remove WAs for networks with multiple outputs
2020-10-29 13:44:52 +03:00
Ilya Lavrenov
d14a7939a6
Removed forced CMAKE_VERBOSE_MAKEFILE (#2891) 2020-10-29 13:12:01 +03:00
Ilya Lavrenov
51f97c4a34
Fixed issue #41619 (#2827)
* Fixed issue #41619

* More descriptive error message
2020-10-29 12:50:46 +03:00
Ilya Lavrenov
f1cf207663
Split java CMakeLists.txt into several ones (#2734)
* Split java CMakeLists.txt into several ones

* Replaced openjdk to OpenJDK

* Build Java library before tests
2020-10-29 12:48:03 +03:00
Ilya Lavrenov
ce037da591
Updated apiValidator rules (#2785)
* Updated apiValidator rules: added custom filter to emulate BinaryExclusions.xml

* temp

* Temp

* debug log

* Print a message about success

* Fixed file name
2020-10-29 12:38:15 +03:00
Konstantin Satunin
5493dfe5c8
Fix for collision of #1932 and #2731 (#2890) 2020-10-29 12:37:55 +03:00
Piotr Szmelczynski
0c373ba79b
Revise ReLU (#2863)
* remove relu_backprop

* Update ReLU spec

* change inputs and outputs subsections of ReLU spec

* Update Mathematical Formulation subsection

* Update Category of ReLU in spec

* Update Short description of ReLU in spec
2020-10-29 11:37:52 +03:00
Maxim Andronov
fdbfab8546
[CPU] Add tests for SetBlob + I64 (#2402) 2020-10-29 11:34:29 +03:00
Mateusz Tabaka
1144eefe4d
Remove obsoleted Min, Max operators (#2832) 2020-10-29 11:32:50 +03:00
Ilya Lavrenov
901f1e0436
Removed InferenceEngine dependency on Legacy library (#1932)
* Split libraries

* Small fixes

* Fixes after self-review

* Minimized legacy usage

* Fixed IE_CPU.onnx_prior_box

* Fixed linkage

* Temp WA for private plugins

* removed comments

* Reverted OneHot changes back
2020-10-29 10:54:57 +03:00
Mateusz Bencer
53b865eb58
ONNX Loop (#2847)
* Loop op ngraph implementation, update IE IR Reader and ngraph to cnn converter

* refactoring SubGraphOp class

* type prop unit tests

* ngraph code style

* update comment

* single layer tests for Loop operation

* fix file name

* Add SpecialBodyPorts attribute in Loop op, update single layer tests

* first debug version

* more tests

* missing test file

* removed not needed shapes from test data

* move test data to new folder

* shape infer tests

* Added execution tests

* add several new tests cases, strict checks in Loop impl, temporary disable single layer tests

* ngraph codestyle, refactoring, clone_new_args test

* resolve review remarks

* fix build

* fix tests

* more execution tests

* add a new constructor of Loop op, resolve review remarks

* execution tests

* synchro with current version

* handle scalars and more tests

* scalar test enabled

* loop reference impl

* bug fixes in tests, onnx importer part and in the ref implementation of the Loop op

* applied remarks

* handle unsupported cases

* rewrite unit tests

* update INTERPRETER manifest

* is_termination_condition_always_true simplification

* [TEST] update python models tests

* review remarks

* added xfail to tiny_yolov3

* missing model test

* revert test data

* fixed numbers of failing tests

* fixed failed test description

* fix test message

* fix xfail test

* zoo models tests clean-up

* missing comma

Co-authored-by: Ivan Tikhonov <ivan.tikhonov@intel.com>
2020-10-29 09:51:51 +03:00
Jedrzej Hajduczenia
c95d8e242d
[IE CLDNN] Fix accuracy bug in fsv16 imad conv + other minor fixes (#2876) 2020-10-29 09:33:05 +03:00
Gorokhov Dmitriy
4d84d7ed1c
[Transformations] Hswish fusion to be called before Hsigmoid fusion (#2845) 2020-10-29 09:07:51 +03:00
Zoran Zomborat
4021e144b5
[IE] Add RTTI macro to ReshapeFullyConnectedFusion ngrap pass (#2837) 2020-10-29 07:33:55 +03:00
Ilya Churaev
15c10e74fe
Added information about unsupported subgraphs for set affinity (#2872) 2020-10-29 06:22:25 +03:00
Vitaliy Urusovskij
e1f4585cb8
Add validate_test_case fixture with using of jsonschema. Specify all required fields for test cases (#2821) 2020-10-29 00:11:01 +03:00
Evgenya Stepyreva
347e1206d5
setBatchSize: getting rid of ConstantFolding (#2842)
* setBatchSize: getting rid of setBatchSize

* Trigger CI

* Feedback adressed

* Trigger CI

* f -> specialized_function
2020-10-28 22:49:12 +03:00
Artyom Anokhov
5fa569cbd5
setupvars.bat: Renamed all Python version related variables. (#2854) 2020-10-28 21:02:25 +03:00
Evgenya Stepyreva
13a9ba6a2b
[ SSR ] Transpose->MatMul (#2525)
* [ SSR ] Reshape->Softmax->Reshape

* Call DepthToSpaceFusion during SmartReshape

* rtti

* remove softmax wa
2020-10-28 20:06:42 +03:00
Bartosz Sochacki
9b4f499930
Extended test infrastructure to call per plugin configure function before running a test. The function allows to pass plugin specific configuration (#2731) 2020-10-28 14:57:46 +03:00
Vladislav Vinogradov
50645befb7
[IE][CMAKE] Fix build issues with custom configuration (#2851)
* FASTER build enabled
* MYRIAD plugin disabled
2020-10-28 12:20:26 +03:00
Jan Iwaszkiewicz
11801eadb3
[nGraph] Add opset5 ops to Python nGraph (#2833) 2020-10-28 10:18:14 +01:00
Irina Efode
1689634574
[IE TESTS][IE MKLDNN] Disable CtcLoss SLT due to sporadic failures (#2852) 2020-10-28 12:00:11 +03:00
Gladilov, Gleb
18f7e4f4f0
[IE][VPU]: Improves myriad plugin API (#2816)
LoadNetwork takes network argument by constant reference.
Myriad plugin implementation applies transformations to
given network in order to get compiled model.
Transformations take network argument by non-constant
reference, so at some point of time network copy must be
acquired. ICNNNetwork is neither copyable nor movable, so
the only way to get network copy is using special utility
returning std::shared_ptr.

Myriad plugin does not expose any ownership strategy,
so prefers to take network argument by simple reference.
Plugin also requires nGraph -> CNN conversion during
LoadNetwork implementation. Conversion utilities returns
std::shared_ptr, which makes plugin to use workaround for
lifetime of converted object (to have 2 "pointers" to
network: raw pointer to input network and smart pointer to
converted network). Such workarounds make code more
error-prone, because using wrong pointer to semantically
the same object may lead to unexpected results.

To overcome these issues API has been changed in a way to
make interfaces more clear (do not expose ownership strategy
or mutability) and get rid of unnecessary workarounds.

Signed-off-by: Gladilov, Gleb <gleb.gladilov@intel.com>
2020-10-28 11:14:14 +03:00
Gleb Kazantaev
91afa14901
Add dynamic shape checks for legacy transformations (#2783)
* Added dynamic shape checks for ConvertInterpolate pass

* Added dynamic checks for ConvertLRNToLegacy pass

* Added dynamic checks for ConvertMatMul* pass

* Added dynamic checks for ConvertPadToLegacy pass

* Updated TileIE; added dynamic checks to ConvertTileToLegacy pass

* Added dynamic checks to FCBiasFusion pass

* Added dynamic checks to Reshape1DOps pass

* Added dynamic checks to ReshapeFCFusion pass

* Added dynamic checks to ReshapeFC pass

* Updaed Reshape1DConvolution pattern
2020-10-28 10:36:16 +03:00
Vladimir Paramuzov
c7661078d9
[IE CLDNN] Removed unused DO gpu impl (#2809) 2020-10-28 09:24:22 +03:00
Gorokhov Dmitriy
abb8817cf6
[CPU] Generic JIT Eltwise implementation (#1464) 2020-10-28 09:16:28 +03:00
Mateusz Tabaka
e3ed796b2e
Remove obsoleted v0::OneHot operator (#2855) 2020-10-28 07:16:31 +03:00
Mateusz Tabaka
186e00fa2a
Remove obsoleted v0::Product op (#2860) 2020-10-28 07:12:52 +03:00
Mateusz Tabaka
2e7a17b367
fix path to code snippets in Custom_ONNX_Ops.md (#2764) 2020-10-28 06:20:52 +03:00