Commit Graph

67 Commits

Author SHA1 Message Date
Tomasz Socha
684dcf0d92 [ONNX] Add support for BF16 datatype (#5194) 2021-04-13 11:21:21 +02:00
Bartosz Sledz
94e9b632e8 Revise ONNX Mod operator (Add support for attribute fmod == 0) (#5173) 2021-04-13 10:24:51 +02:00
Tomasz Dołbniak
14e0da322e Update the XFAIL marker for a Resize onnx test (#5068) 2021-04-12 13:38:56 +02:00
Mateusz Tabaka
69e1eebf4f Fix broadcast with BroadcastType::NONE and unit dimensions (#5093)
* Fix broadcast with BroadcastType::NONE and unit dimensions

* fix issues found by flake

* fix broadcast negative test

* remove xfail_issue_49913
2021-04-12 13:06:29 +03:00
Alexandra Sidorova
325b5564f3 [CPU] Added GELU-7 support (#4800) 2021-04-07 16:01:47 +03:00
Alexey Suhov
6478f1742a Align copyright notice in python scripts (CVS-51320) (#4974)
* Align copyright notice in python scripts (CVS-51320)
2021-03-26 17:54:28 +03:00
Jan Iwaszkiewicz
8ec59ceda4 [CPU][ONNX] Convert FP64 precision to FP32 (#4681) 2021-03-19 19:28:55 +01:00
Katarzyna Mitrus
95a13e05d5 Enable MatMul 1D multiplication by transformation to GEMM (#4509)
* MatMul tests

* Tests update

* More tests

* IE tetst manifest cleanup

* Enable MatMul 1D multiplication by transofrmation to GEMM

* Add unsqueeze to transform tests

* Fix runtime info

* Update transformation condition

* Remove Xfail from python tests

* Add more tests for ignoring 1D transpose true

* Ignore transpose for 1D in MatMul transformations

* Resolve python api xfails

* Use ngraph::opset namespace

* Style apply

* Add MatMul single layer tests for 1D
2021-03-15 13:44:57 +03:00
Evgeny Lazarev
99f94ca09c Adding v7::Gelu operation (#4497)
* Added support for Gelu-6 to the MO

* Adding Gelu-6 to ngraph and python API + some tests

* Fixed typo in the Gelu approximation mode

* Fixed Gelu-6 reference implementation for Tanh mode

* Added transformation to downgrade v6::Gelu to v2::Gelu

* Added specification for the Gelu-6

* Code style fixes

* The Gelu-6 operation specification update

* Fixed compilation issue in reference implementation for Gelu

* Fix compilation issues for some OSs

* Code style fix

* One more cpplint issue fix

* Fixed Gelu6 reference implementation compilation on Windows.

* Code style fix

* Fixed various ngraph unit tests

* Code style check

* Reverted Gelu-2 to be fused op

* Fixed Gelu6 downgrade transformation

* Added unit test for Gelu6Downgrade transformation

* Update copyright year

* Updated copyright year

* Replaced tab characters with 4 spaces in IR reader tests

* Code style fixes

* Added default value for GeluApproximation mode for Gelu-6 op

* Fixed code style for Gelu-6

* Changed order of parameters for the Gelu evaluate to potentially avoid backward compatibility issues with ARM plugin

* Fixed code style

* Introduced opset7. Moved Gelu6 to opset7

* Fixed non-updated transformation

* Fixed opset version in ngraph Python API for Gelu operation

* Fixed typo in the opset number in the documentation

* Reverted some changes related to Gelu6

* Updated MO to produce Gelu7

* Updated unit tests for Gelu

* Updated Gelu7 specification

* Changed gelu reference implementation. Added opset7 to Python packages

* Updated Python API tests for Gelu operation

* Code style fix

* Marked get_approximation_mode function as const

* Added missing "const" qualifier

* Fixed code style issues in tests

* Added extractor for MxNet operation Gelu

* Spelling issues fix

* Updated MxNet supported symbols

* Added NGRAPH_OP_SCOPE for Gelu7 validate_and_infer_types

* Fixed a typo in the comment
2021-03-09 22:45:45 +03:00
Tomasz Dołbniak
cadcd7c926 Remove a duplicate xfail marker for ONNX dropout tests (#4522) 2021-03-01 07:17:29 +03:00
Bartosz Sledz
b0043bb599 ONNX Slice operator support types dynamically (#4507) 2021-02-26 16:28:51 +01:00
Ewa Tusień
f88f81c6ba OnnxBackendNodeModelTest XFAILs cleanup (#4432) 2021-02-26 15:34:24 +01:00
Maxim Andronov
f26c82bde3 [CPU] Supporting constant networks (#4379) 2021-02-19 09:38:20 +03:00
Michał Karzyński
ec9b5894fb [ONNX] Add support for BitShift operator (#4368) 2021-02-17 16:39:27 +01:00
Michał Karzyński
66634a9939 Update ONNX compliance test list (#4360)
* Update ONNX compliance test list

* Update test_backend.py
2021-02-17 07:40:47 +03:00
Tomasz Socha
185aaacc07 [ONNX] Add support for Softmax v11 in opset 7 models (#4340) 2021-02-16 11:58:39 +01:00
Jan Iwaszkiewicz
a3af43c8e4 [ONNX] Minimum op xfail updated (#4332) 2021-02-16 11:43:07 +01:00
Mateusz Bencer
d821ec47ce [ONNX] Handle optional outputs for Dropout and MaxPool (#4143) 2021-02-15 11:14:20 +01:00
Jan Iwaszkiewicz
7af2959bd0 [ONNX] Convert to integral type in OneHot op (#4229)
Co-authored-by: Tomasz Dołbniak <tomasz.dolbniak@intel.com>
2021-02-10 14:03:54 +01:00
Tomasz Socha
937c332978 [ONNX][Tests][Python][Models] Increase tolerance for some models (#4150) 2021-02-04 15:54:11 +01:00
Mateusz Bencer
b90f908c58 Enable Bersquad-10 in ONNX CI (#3889) 2021-01-27 10:22:16 +01:00
Bartosz Sledz
247606baf6 Add support for nonconstant optional NMS-5 inputs (#3640) 2021-01-26 14:41:28 +01:00
Gorokhov Dmitriy
d58b4c65c8 [CPU] Plugin migration on oneDNN (v1.6) (#3725) 2021-01-26 16:31:10 +03:00
Jan Iwaszkiewicz
647104f602 [nGraph][ONNX] WA for currently unsupported precisions (#3964) 2021-01-25 13:08:15 +01:00
Mateusz Bencer
4d98d7ceee ONNX tests mismatch error (#3836) 2021-01-18 12:39:32 +01:00
Bartosz Sledz
928201bee4 Add support for ONNX Operator ReduceSum v13 and revise other Reduce operators (#3605) 2021-01-18 10:47:40 +01:00
Tomasz Dołbniak
303c549791 nGraph copyright update for 2021 (#3832) 2021-01-13 16:43:04 +03:00
Bartosz Sledz
f6c2f3cc16 Change failing test ticket number (#3677) 2021-01-12 07:10:48 +03:00
Yury Gaydaychuk
9069781659 CPU implementation for ROIAlign (#3579) 2021-01-11 12:04:45 +03:00
Mateusz Tabaka
a8022cdbc8 Enable TinyYolo v3 in CI (#3651) 2020-12-23 12:25:54 +01:00
Mateusz Tabaka
4f14e842c1 Update ONNX models to latest master (#3658)
* Update ONNX models to 00d95ba9e5758fd0bc5e6978033fabc4f2a95e61

That version fixes yolov4 and roberta models

* remove yolov4 post processing

* remove model directory before unpacking
2020-12-22 08:04:32 +03:00
Mateusz Bencer
0b05653d7a Resolved problems with ssd_resnet34_mlperf_opset10 (#3487)
* Resolved problems with ssd_resnet34_1200

* removed debug code

* Added correct handling onnx nodes from parent graph scope

* removed unnecessary include

* fixed calcution index to replace

* fixed LoopParentParametersUsedInBody test

* added set_friendly_name

* apply Unsqueeze for each concatenated Loop output

* added handling trip count with value max_int

* merge from upstream/master

* update xfail list

* added checking is trip_count is constant
2020-12-21 14:32:15 +03:00
Katarzyna Mitrus
6d89a96d9e Ramove LSTM_Seq_lens model xfail declaration (#3635) 2020-12-17 16:20:01 +03:00
Mateusz Bencer
261cb6ecf8 Enable yolo v3 test, added post-processing step (#3510) 2020-12-16 16:52:08 +01:00
Tomasz Socha
dbf855b320 [ONNX][Python][Tests] Update ONNX to onnx 1.8 (#3557) 2020-12-11 11:57:50 +01:00
Jan Iwaszkiewicz
e1a7f7e5af [nGraph][IE] Enable FP64 data type in IE and review nGraph Python tests (#2563) 2020-12-02 12:09:28 +01:00
Mateusz Bencer
5de9e0d3d0 Add calling validate_and_infer_types to onnx Loop (#3289) 2020-11-24 06:02:11 +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
Mateusz Bencer
aa622003a8 update tests status (#3186) 2020-11-18 13:32:59 +01:00
Mateusz Bencer
393779b227 Fix accuracy problem for YoloV3 (incorrect StridedSlice nop elimination) (#3179) 2020-11-17 18:12:01 +01:00
Gleb Kazantaev
fc8df42e7e Fix NMS5 dynamism issues (#3137)
* Fixed ConvertNMS5ToLegacy conversion pass to resolve dynamism as soon as possible; fixed output precision to avoid troubles during convert_precision pass

* Added NMS5ToLegacy conversion for cldnn plugin

* Fixed NMS3 copy method

* Updated NMS5ToLegacy pass to avoid convert precision issues

* Updated nGraph reader and Functional tests

* Removing odd CF call

* removed xfail for test that is expected to pass

* Fixed Convert operations friendly_name

* Removed NMS5ToLegacy from opset1_to_legacy conversion

* Update NMS5 layer tests

* Update NMS5 DSR tests
2020-11-17 18:34:05 +03:00
Jan Iwaszkiewicz
cfe143fd33 [nGraph][ONNX] Rename xfails (#3061) 2020-11-17 10:34:33 +01: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
Katarzyna Mitrus
8dbff709fb ONNX LSTM fix get_shape error (#3033)
* ONNX LSTM get dimension only if required

* Test dynamic onnx lstm model import

* Enable LSTM_Seq_lens_unpacked_model import test

* Disable model zoo execution test "MSFT_opset9_LSTM_Seq_lens_unpacked"

* Add missed comma in xfail list

* Update error messages

* init xfail issue

* test zoo models import xfail issue

* Fix SEQ_LENGTH init

* Comments update

* Fix usage of v0::Add by overloaded operator
2020-11-13 17:31:29 +03:00
Ivan Tikhonov
c309bb77d2 Reference implementations for Loop and TensorIterator ops (#2978)
* 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

* reference implementation for ngraph::function

* update loop reference implementation

* Refactor loop reference implementation

* ngraph codestyle

* Refactoring

* Submodule update

* Skip check for Reduce ops in mkl for scalar cases, support for yolov3

* fix ngraph reader tests

* revert ceiling op, renaming

* Add allias(Ceiling) for Ceil op in mkl

* delete xfails

* fix build

* single layer tests for tensor iterarator

* Refactor TensorIterator and Loop ref impls

* revert dynamic tensor creation, disable some dynamic test cases

* fix warning

* Resolve review remarks

* revert Predefined values in Loop tests

Co-authored-by: Mateusz Bencer <mateusz.bencer@intel.com>
2020-11-10 15:49:59 +03:00
Mateusz Bencer
0baad0696c [ONNX Importer] Resolved problem with incorrect opset version set in subgraph (#2959) 2020-11-10 09:57:06 +01:00
Andrew Bakalin
8d4f8c4edd [ONNX] Return NMS-5 generation (#3003)
* [ONNX] Return NMS-5 generation

* Disable failed models
2020-11-10 09:45:14 +03:00
Rafal Blaczkowski
935ac543ac Update ONNX models preprocessing script (#2936)
* Update onnx zoo models

* Update xfail list

* Update xfails
2020-11-05 12:40:48 +03:00
Rafal Blaczkowski
fbf7cc70ab Update xfails (#2979) 2020-11-05 10:12:51 +03:00
Tomasz Socha
7c6794344c [ONNX][PyTests] Fix result datatype missmatch (#2596) 2020-11-04 12:19:40 +01:00