Commit Graph

28 Commits

Author SHA1 Message Date
Mateusz Tabaka
fd80873fca Add support for custom ONNX GroupNorm operator (#2267) 2020-09-30 16:17:15 +02:00
Mateusz Bencer
3e2a131441 Added support of external data for ONNX Importer (#2303) 2020-09-28 11:08:36 +02:00
Katarzyna Mitrus
8f843c620a [ONNX] Update ONNX importer to use RNN/GRU Sequence ops (#2035) 2020-09-23 10:11:34 +02:00
Bartosz Lesniewski
9af49a7f95 Reference ROIAlign-3 implementation (#2128) 2020-09-21 14:04:39 +02:00
Tomasz Dołbniak
a0da3d360c Accept ONNX Constants with empty tensors (#2287) 2020-09-18 10:08:29 +02:00
Mateusz Tabaka
926be83568 Add support for custom onnx operators: DetectionOutput, Normalize and… (#2064) 2020-09-10 11:27:12 +02:00
Katarzyna Mitrus
54a24b0e40 [ONNX] Enable ScatterND operator in ONNX importer (#1987)
* Enable ONNX scatter_nd

* Tests update
2020-09-01 12:10:03 +03:00
Mateusz Tabaka
a6076a1fd6 Introduce Quantize-Dequantize to FakeQuantize transformation (#1849)
* Introduce Quantize-Dequantize to FakeQuantize transformation

* Revert changes in DequantizeLinear

* apply code format

* Changes after review:

- description for transformation
- remove NGRAPH_CHECK and move some checks from callback to predicates in pattern
- check if out_low/high are broadcastable for FQ's first input
- fix params to copy_runtime_info

* Add type_matches and type_matches_any predicates

* Use get_single_value

* Changes after review:

- add brief description of transformation
- use get_pattern_value_map instead of get_pattern_map
- change opset1 to opset4
- fix params to copy_runtime_info

* Check result of dynamic_pointer_cast
2020-08-26 11:51:51 +03:00
Tomasz Dołbniak
067d29a3f0 Accept empty initializers from ONNX models (#1776)
* Accept empty initializers from ONNX models

* Create dummy constants instead of null nodes

* Code formatting

* Test the empty initializers handling in onnx importer
2020-08-21 15:15:27 +03:00
Mateusz Bencer
ea80bc3d6f Add ONNX Round op (#1605) 2020-08-18 12:10:23 +02:00
Mateusz Tabaka
df448c092e Improve SpaceToDepth tests (#1661) 2020-08-12 16:06:09 +02:00
Mateusz Tabaka
5814bd9b98 Improve DepthToSpace tests (#1659) 2020-08-11 16:28:24 +02:00
Mateusz Bencer
5ff59eb711 Add support (limited, based on Interpolate-1) to Resize-11 ONNX op (#1364)
* Implementation of Resize-11

* Added support to sizes input

* Add tests to sizes input

* Added missing comment

* fixed tests

* fixed tests

* Fixed test. part 2.

* review remaks. part 1.

* review remarks. part 2.

Co-authored-by: Tomasz Socha <tomasz.socha@intel.com>

* Added more tests

Co-authored-by: Tomasz Socha <tomasz.socha@intel.com>
2020-07-27 16:42:00 +03:00
Mateusz Tabaka
2ac35247ea Add tests for ArgMin/ArgMax with float inputs (#1429) 2020-07-27 12:40:27 +02:00
Adam Osewski
173ce2c907 [ONNX] Exception handling refinements. (#1266) 2020-07-15 14:02:18 +02:00
Adam Osewski
ed4bbb3a0a [ONNX] Quantize linear using FakeQuantize (#1169) 2020-07-14 10:55:07 +02:00
Adam Osewski
b16c8faceb Enable importing of TF_NASNet_Mobile (#1252) 2020-07-14 10:54:39 +02:00
Tomasz Dołbniak
130238f509 ONNX Imagescaler op (#1262)
* ONNX ImageScaler op

* UT for ImageScaler op
2020-07-09 12:19:40 +02:00
Tomasz Dołbniak
ae6cfe12bb ONNX DequantizeLinear op (#1123)
* DequantizeLinear 10 as a subgraph

* Enable DequantizeLinear from opset 13

* Exclude the failing tests

* Re-enable dequantize linear UTs

* Validation helper
2020-07-07 14:08:08 +03:00
Katarzyna Mitrus
e3e13b9bd8 Add FakeQuantize op to ONNX importer (#1099) 2020-07-03 18:28:33 +02:00
Katarzyna Mitrus
38335b1883 [ONNX importer] Add more Resize-10 tests (#1026) 2020-07-03 13:43:46 +02:00
Adam Osewski
1fb2172457 [ONNX] Support for dynamic shapes for InstanceNormalization (#1076) 2020-06-26 09:38:15 +02:00
Mateusz Bencer
d9076c29a2 Enabled importing ONNX Yolo v3, added Loop op (#957) 2020-06-26 09:18:24 +02:00
Katarzyna Mitrus
5a2df9ebe7 [ONNX importer] Add support for Usample-8 and Upsample-9 (#967) 2020-06-23 13:11:46 +02:00
Adam Osewski
3a80f0476b [ONNX] GRU and RNN operators. (#607)
* Create generic RecurrentSequenceDirection enum.

* Helper class RecurrentSequenceOp.

* Add ONNX GRU & RNN operators.

* Use OutputVector.

* Update doc.

* Add UTs for GRU and skip them on IE_CPU

* Add UT for bidirectional mode and fix it.

* Normalize activation function name case.

* Add unit-tests for RNN operator.

* UT for GRU with linear_before_reset set to true.

* Fix ONNX GRU for linear_before_reset case.

* Remove unnecessary symbol export macro.

* Fix CentOS error.

* Update UTs.

- Update few tests accuracy tolerance
- Update rnn_fwd_activations with new reference values and model.

* Review comment: add check for static shape

* Add UT for RNN with constant inputs W, R.

* Skip UT with const W,R on IE_CPU
2020-06-03 12:01:56 +03:00
Ewa Tusień
b4893945c7 [ONNX] Add Range op to ONNX importer (#548)
* Added Range op to ONNX importer.

* Disable tests for IE.
2020-06-01 05:59:39 +03:00
Alexey Suhov
deb008a26f publish master branch snapshot, revision 8d31237e2c3f673cbb0f0ba110fc10f5cce1d2bb 2020-05-22 02:23:12 +03:00
Alexey Suhov
f30dcc218c publish master branch snapshot, revision 9df5eb1f84e13a35720a918f88324561222ab114 2020-05-20 01:13:06 +03:00