Commit Graph

2060 Commits

Author SHA1 Message Date
Anna Alberska
fa0c0ccd77
[GNA] Reuse CNNNetPrevLayerSkipCertain in scale factor calc (#2307)
* [GNA] CNNNetPrevLayerSkipCertain remove recurrent implementation

* fix CI tests

* [GNA] refactor CNNNetCheckNextLayerSkipCertain

* apply requested changes
2020-11-24 19:16:02 +03:00
Anton Voronov
627c5e6d0e
[CPU] fixed MergePermuteAndReorder optimization (#3318) 2020-11-24 19:14:53 +03:00
Svetlana Dolinina
843d5de611
added state API changes to doc (#3323) 2020-11-24 18:21:51 +03:00
Maksim Kutakov
cb55d1519f
[IE TESTS] Fixes to the Reduce operation single layer test. (#3263) 2020-11-24 17:34:50 +03:00
Maksim Doronin
7aa931fde8
[IE][VPU]: KW fixes in myriad plugin WW48'20 (#3312) 2020-11-24 16:44:32 +03:00
Anton Pankratv
b2714f18af
Used dynamic shape (#3234) 2020-11-24 15:50:15 +03:00
Krishna Prabhakaran
13806bf719
[IE][VPU]: Update call signature for vpu fw, update fw version (#3301)
* update call signature for vpu firmware, update the firmware version
* update hash for VPU firmware
2020-11-24 15:20:34 +03:00
Elizaveta Lobanova
a57554f769
[GNA] Fix a global buffer overflow in GNAModelSerial::Import (#3290) 2020-11-24 15:07:58 +03:00
Vitaliy Urusovskij
364bf08920
Add several new models to tgl_test_config.yml in time_tests (#3268)
* Fix wrong path for `yolo-v2-tiny-ava-0001` for time_tests

* Add several new models to `tgl_test_config.yml` in time_tests
2020-11-24 13:26:16 +03:00
Ilya Lavrenov
146d056018
Fixed links to build instruction (#3310) 2020-11-24 13:13:21 +03:00
Gleb Kazantaev
27efd1fc7e
Resolve dynamism in Serialize transformation (#3260)
* Added Interval shape inference for NMS5

* Added dynamic shape resolver for Serialize pass

* Refactored Serializatoin tests; Added tests with dynamic shapes(NMS5, ShapeOf)

* Fixed python NMS5 test

* Fixed LowLatecnyTests
2020-11-24 12:38:56 +03:00
Ilya Churaev
3d75c3e863
Relax the assert for network inputs/outputs (#3302)
Inputs can be empty for the constant networks
2020-11-24 12:32:42 +03:00
Ilya Churaev
6666e5fed3
Added pre-proc tests (#2708)
* Added pre-proc test

* Fixed mean image tests

* Disabled scale tests for CPU

* Disabled test for Myriad

* Disable tests for GPU

* Added reverse input channels test

* Disabled test for GPU

* Disable Myriad tests

* Added links to tickets
2020-11-24 10:09:54 +03:00
Bartek Szmelczynski
2c13e084ef
FunctionalOpTests (#3294)
* add 4 tests for operators based on model zoo

* fix wrong names of the models

* add functional tests for equal, lstm_cell and psroi_pooling operators
2020-11-24 06:23:14 +03:00
Roman Donchenko
a6d6203f79
benchmark_tool: replace logger.warn with logger.warning (#3291)
The former is deprecated.
2020-11-24 06:19:29 +03:00
Mateusz Bencer
5de9e0d3d0
Add calling validate_and_infer_types to onnx Loop (#3289) 2020-11-24 06:02:11 +03:00
Konstantin Satunin
9dc57d771d
Revert "Use default PDB files format (#3265)" (#3293)
This reverts commit d39f54df03.
2020-11-23 18:30:43 +03:00
Vitaliy Urusovskij
4bfb353dbd
Add fillBlobs to fix issue with negative values in image_info input layer (#3271) 2020-11-23 17:32:49 +03:00
Vitaliy Urusovskij
9f427bbf6e
Add WA for OMZ Keras models in stress tests (#3272) 2020-11-23 17:32:35 +03:00
Edward Shogulin
b5d7f236f4
[LPT] integration: issue #42391 & issue #43001 (cherry-pick to master) (#3255)
* [LPT] NetworkHelper::roundWithTolerance: removed tolerance & rename to round
[LPT] NetworkHelper::round functional tests
[LPT] ieFuncTests: updated some test-cases

* [LPT] Subtract is not used

* [LPT] AddTransformation: zero handling

* [LPT] AddTransformation test
2020-11-23 17:19:06 +03:00
Jozef Daniecki
d02223c796
Add Proposal SLT instantiation for CPU plugin. (#3284) 2020-11-23 17:09:42 +03:00
Konstantin Satunin
d39f54df03
Use default PDB files format (#3265)
* Use default PDB files format

* Leave debug flags forming to cmake
2020-11-23 17:03:17 +03:00
Dmitry Kurtaev
ca7d13e3e1
Check sha256 hash for downloaded files (#3218) 2020-11-23 16:56:14 +03:00
Maxim Andronov
eedba319ea
Fixed static analysis issues (#3280) 2020-11-23 16:54:01 +03:00
Sergey Shlyapnikov
5de04e9b94
[IE CLDNN] Gather fix (#3273) 2020-11-23 16:40:09 +03:00
Krzysztof Bruniecki
9b85d67cce
Add test for RESULT_NOT_READY returned from Wait() in async mode (#2793)
* Add shared test for RESULT_NOT_READY return from Wait() in async mode

* Instantiate test for RESULT_NOT_READY for GNA Plugin only

* Fix compile error

* Increase model size for the RESULT_NOT_READY test

* Reuse most of the test

* Apply review

  - Fix typo

* Make the test deterministic

* Use callback timestamp

* Apply review

* Use promise and future
2020-11-23 16:18:17 +03:00
Szymon Durawa
1c7cfb7c7d
Deserialization implementation for Constant op. (#2573)
* Deserialization implementation for Constant op.

* Add Cont op implementation for NodeConverter.

* Refactor functional tests, remove Const op from layer and node cretaors.

* Remove Constant op from NodeConverter.

* Refactor smoke test.

* Correct parameter in addBlob function.

* Update Constant op representation for myriad functional tests.

* Correct Const op representation for TopK model test.

* Add changes accroding to review comments.

* Refactor constant test.

* Add review changes.

* Add custom op for testing on_adapter(void*).

* Correct library path.

* Correct test fixture class for custom op test.

* Apply review remarks, remove creators from DeconvolutionIE.

* Refactored test ReadCustomAddConstNetwork, corrected on_adapter().

* Remove on_adapter() for CoordinateDiff which is specific to Convolution op.

* Apply review remarks.

* Apply teview remarks.

* Correct Const op in non_max_suppression tests.

* Resolve conflicts after rebase.
2020-11-23 15:41:59 +03:00
Maxim Andronov
a555efe287
Fixed static analysis issues (transformations) (#3281) 2020-11-23 14:16:23 +03:00
Tomasz Dołbniak
7e2305543a
Accept dynamic rank and negative axes in ONNX reduction ops (#3162) 2020-11-23 10:26:17 +01:00
Anna Alberska
f86065ce7a
[GNA] Fixed incorrect output layout for convolution (#2426)
* [GNA] add permute for NCHW Convolution H=1

* [GNA] fix permute after convolution case

* [GNA] fix Reshape1DOps transformation case

* [GNA] fix rm_cnn4a tests

* [GNA] fix wsj model tests

* quick fix

* [GNA] fix sw_exact mode

* [GNA] Add rotateOutput for convolution op instead of permute

* [GNA] fix CI

* [GNA] apply changes from review
2020-11-23 12:23:57 +03:00
Jozef Daniecki
55dd8b0a2d
Align nGraph serialization to specification & MO behaviour (#2990)
* Align MaxPool op attribute 'rounding_type' to spec.

Attribute name should be in lower case.

* Remove obsolete "cacheable" attribute from Parameter.

* Translate ReLU & SoftMax ops type names from ngraph to IR convention.

* Remove <data> node when op has no attributes.

* Translate all operation attributes values to lower case.

* Revert "Align MaxPool op attribute 'rounding_type' to spec."

This reverts commit 243eeccff3.

* Revert "Translate all operation attributes values to lower case."

This reverts commit d4c24175b3.

* Align MaxPool op attribute 'rounding_type' to spec.

Attribute name should be in lower case.

* Align auto_pad & auto_broadcast operation attributes to spec.

They should be written in lowercase.

* Rename op:PadType 'none' to 'explicit'.
2020-11-23 06:43:39 +03:00
Mateusz Tabaka
37f6c0caf9
Update xfail issue numbers for models that fail with AssertionError: … (#3246)
* Update xfail issue numbers for models that fail with AssertionError: zoo models results mismatch

* update xfail reason with model name
2020-11-23 06:39:35 +03:00
Nikolay Shchegolev
e4ec55bea4
[CPU] NormalizeL2. Support 3D layout. (#3259) 2020-11-22 20:18:14 +03:00
Nikolay Shchegolev
92ec30c54b
[CPU] NMS. Fill the rest of first out blob. (#3258) 2020-11-22 20:06:33 +03:00
Ivan Tikhonov
ff1046c0e1
Fix opset5::Loop specification for sliced input (#3230)
* Disable v10 serealizer (#3184)

* Disable v10 serealizer

* Fixed comments

* Backport of PR #3092 - TopK sorting fix (#3195)

* [IE] - Interpolate ONNX workaround (#3203)

Co-authored-by: DariaMityagina <daria.mityagina@intel.com>

* Fix NMS1/3/4 to Legacy conversion (#3210)

* Fix NMS1/3/4 to Legacy conversion

* Added functoinal tests

* [LPT] Transpose, MatMul: Klocwork fixes (#3192)

* Update install_openvino_dependencies.sh (#3196)

* [ MO TF ] TF FakeQuantize normalization fix (#3180)

* Specify sliced input of Loop op

* Enable back rpecalcu;ated ref falues for TrivialLoop tests

Signed-off-by: Alexander Peskov <alexander.peskov@intel.com>

* [NGRAPH] Add sliced input to Loop op

Signed-off-by: Alexander Peskov <alexander.peskov@intel.com>

* Add loop test with input slicing

Signed-off-by: Alexander Peskov <alexander.peskov@intel.com>

* One more test on loop

Signed-off-by: Alexander Peskov <alexander.peskov@intel.com>

* [ nG: TI ] Fix for reshaping TensorIterator

* Trigger CI

* Fix dyn auto slicing tests

* ngraph codestyle

* misprint

* style

* style

* Fix reshaping Loop

* ngraph codestyle

* delete unnecessary comments

* Revert "Disable v10 serealizer (#3184)"

This reverts commit 5abbe2fec5.

Co-authored-by: Ilya Churaev <ilya.churaev@intel.com>
Co-authored-by: Tomasz Jankowski <tomasz1.jankowski@intel.com>
Co-authored-by: Andrey Sokolov <andrey.sokolov@intel.com>
Co-authored-by: DariaMityagina <daria.mityagina@intel.com>
Co-authored-by: Gleb Kazantaev <gleb.kazantaev@intel.com>
Co-authored-by: Vladislav Golubev <vladislav.golubev@intel.com>
Co-authored-by: Dmitrii Denisov <dmitrii.denisov@intel.com>
Co-authored-by: Evgenya Stepyreva <evgenya.stepyreva@intel.com>
Co-authored-by: Alexander Peskov <alexander.peskov@intel.com>
2020-11-22 13:29:14 +03:00
Tomasz Dołbniak
6899a95e1c
ConstantFolding as a FunctionPass instead of GraphRewrite (#3065)
* Redundant op::Max CF removal

* Redundant op::Min CF removal

* Redundant op::Sum & op::Product CF removal

* CF Min and Max using evaluate()

* Arithmetic reduction CF pass removal

* Quantize op CF pass removal

* Convert op CF pass removal

* Logical reduction CF pass removal

* Select op CF pass removal

* OneHot CF pass removal

* Code formatting

* ScatterElements CF pass removal

* Gather CF pass removal

* Disable a Quantize op test that fails in CI

* CF pass cleanup

* Convert op cleanup and test adaptation to spec

* Possible fix for failing VPU tests

* Limit the types used in OneHot::evaluate

* Quantize op evaluator removal

* Refactor of Gather evaluator

* CF pass cleanup and adaptation to FunctionPass interface

* New CF pass implementation

* Fix the Tile::evaluate method for dynamic shapes

* Node shapes revalidation in CF pass

* Obsolete code cleanup

* Obsolete include removal

* Recursively fold subgraph nodes

* Obsolete include removal

* Revalidate each node in CF

* PR feedback

* Missing RTTI symbol definition
2020-11-20 20:36:05 +03:00
Evgenya Stepyreva
4b22a99a69
[ nG: TI ] Fix for reshaping TensorIterator (#3247)
* [ nG: TI ] Fix for reshaping TensorIterator

* comments

* style
2020-11-20 17:43:21 +03:00
Bartosz Sochacki
fc1a3ce2f1
[GNA] Fake quantization layer support for int-8 mode for GNA plugin (#2937)
* [GNA] added support for per-channel FakeQuantise layer

* [GNA] added quantisation types detection in FQ enabled networks, and added input scale factors detection from FQ connected to input layer

* added FakeQuantize callback that will be use to cast integer values stored as float in FakeQuantized layer

* fixed per-channel multiplier calculation for int8 case

* precision improvements for int8 fake quantization and support for propagating scale factors to activation layers

* added initial int16 support

* added support for fake quantize layer with many connected output layers and support for FQ data encoded as FP16

* added support for already quantized weights

* Shared single layer test

* Added subgraph test

* Fix comment

* int8

* Enabling FQ tests on GNA

Co-authored-by: Eugene Smirnov <eugene.smirnov@intel.com>
Co-authored-by: Andrey Dmitriev <andrey.dmitriev@intel.com>
2020-11-20 16:40:19 +03:00
Vladimir Paramuzov
27be33ba53
[IE CLDNN] Minor fixed to NMS and TopK (#3225) 2020-11-20 15:37:55 +03:00
Ilya Lavrenov
f3358ed89d
Removed typo (#3248) 2020-11-20 14:32:29 +03:00
Szymon Durawa
1e1eaa582a
Add functional tests and remove leayer creator for Add opp. (#2759)
* Add functional tests and remove leayer creator for Add opp.

* Remove batchNorm template.
2020-11-20 14:03:47 +03:00
Vitaliy Urusovskij
dee00cdc92
Add new model to tgl_test_config.yml (#3236) 2020-11-20 13:33:57 +03:00
Pavel Esir
1076d32467
[MO] cli_parser fix when input contains substring with matching scale/mean values (#3146)
* fix MO cli_parser when input contains substring with matching scale/mean values

* some additions to cli_parser unit-tests

* fixed numpy array comparisons -- added assert_ prefix

* more general solution for mean/scale cli_parser, names with only digit values are processed correctly

* minor corrections
2020-11-20 11:42:42 +03:00
Vitaliy Urusovskij
b5930eb58e
Fix "results" uploading to DB in time_tests (#3215) 2020-11-20 10:49:31 +03:00
Vladimir Paramuzov
989a910f45
[IE CLDNN] FuseBias pass + new layouts for deconvolutions (#2774) 2020-11-20 10:14:09 +03:00
Gleb Kazantaev
2ed92688dd
Fix NMS1/3/4 to Legacy conversion (#3210) (#3229)
* Fix NMS1/3/4 to Legacy conversion

* Added functoinal tests
2020-11-19 20:48:06 +03:00
Evgenya Stepyreva
84e775af29
[ MO TF ] TF FakeQuantize normalization fix (#3223) 2020-11-19 18:38:27 +03:00
Roman Kazantsev
0925d80e2a
Complete CTCGreedyDecoder implementation in nGraph and add tests (#3190)
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
2020-11-19 18:32:25 +03:00
Krzysztof Bruniecki
0342f51cd0
Remove from unwaited requests ids if request aborted (#3160) 2020-11-19 18:08:04 +03:00
Krzysztof Bruniecki
3f2ac0ff55
Print GNA lib version on error using Gna2GetLibraryVersion (#3154) 2020-11-19 18:02:51 +03:00