Commit Graph

3037 Commits

Author SHA1 Message Date
Gabriele Galiero Casay
224dfd6520
Gelu specification refactoring (#5001)
* Review spec of Gelu operation

* Address review comments related to wording
2021-03-31 18:43:07 +03:00
Gabriele Galiero Casay
d3933bd316
Selu specification refactoring (#5039)
* Review spec of Selu operation

* Fix path for Selu op in opset files

* Remove unnecessary line in example

* Address review comments related to wording
2021-03-31 18:42:25 +03:00
Gabriele Galiero Casay
6f9544007f
Elu specification refactoring (#5012)
* Review spec of Elu operation

* Change reference link to abstract

* Address review comments related to wording
2021-03-31 18:41:46 +03:00
Gabriele Galiero Casay
4dad5bc0b8
Exp specification refactoring (#5033)
* Review spec of Exp operation

* Minor change in example section

* Address review comments related to wording
2021-03-31 18:41:28 +03:00
Krzysztof Bruniecki
77d4fbc286
[GNA] Disable AddFakeQuantizeFusion (#5037)
* issue 52034
   * as per-channel quantization not supported in FQ layer in GNAPlugin
2021-03-31 18:21:04 +03:00
Tomasz Socha
320009d3b2
[nGraph][ONNX Importer] Bunch of small fixes (#4990) 2021-03-31 15:36:42 +02:00
Sergey Nesterov
542a35794f
Remove old code which isn't needed anymore (#5024) 2021-03-31 15:56:20 +03:00
Elizaveta Lobanova
2f7c505aea
[GNA] Update documentation regarding splits and concatinations support (#4785) 2021-03-31 15:18:16 +03:00
Szymon Irzabek
1128a0c2e6
[GNA] Remove HW version enforcement when exporting a model (#5005)
* [GNA] Remove HW version enforcement when exporting a model

* [GNA] Use output index constant instead of literal
2021-03-31 14:11:57 +03:00
Bartosz Lesniewski
5363c8dc70
Compression of constants during serialization (#4846) 2021-03-31 13:10:24 +02:00
Bartosz Lesniewski
c49564c93e
Squeeze specification refactoring (#5030) 2021-03-31 13:09:25 +02:00
Mikhail Letavin
e05e05ccf3
[IE CLDNN] Add normalizing reshapes after LSTMCell outputs (#4755) 2021-03-31 14:01:22 +03:00
Svetlana Dolinina
ffa467a5ad
fix batch adding to init value of read value (#4187)
* fix batch adding to init value of read value

* fix for batch in Kaldi models

* added broadcast to be able reshape in IE

* test fixes, added batch broadcasting to created constants

* pep fixes

* move all changes to 1 transformation

* added unit test and fix insertSelect transformation

* added comments

* remove unneeded params search

* fix element_size to send correct batch

* fix update batch in element_size

* couple fixes

* update BOM file

* fix review comments

* review fixes

* review fixes

* fix license headers
2021-03-31 11:32:36 +03:00
Taylor Yeonbok Lee
b58c648d2d
[IE CLDNN] Build time optimization for OCL kernels (#4725)
Build OCL kernel batches of different buckets in parallel

Co-authored-by: Donghyeon Jeong <donghyeon.jeong@intel.com>
2021-03-31 10:22:19 +03:00
Patryk Elszkowski
d674eebd52
add backend tests for ScatterNdUpdate (#4963) 2021-03-31 09:07:31 +02:00
Pavel Esir
6477e8ec01
[MO] Fix fp16 in shapeof subgraphs (#4524)
* Initial working solution

* moved bfs_search_apply_on_shapeof_subgraph_nodes from utils/graph.py to MarkShapeOfSubgraphDataType.py

* Reused bfs from MarkSubgraphsWithCorrectLayout.py

* fixed e2e precomit issues: specified correct const data_types, fixed BFS search staring point to avoid nodeless shapeof subgraphs

* fixed mxnet_rnnt: added converting all Const nodes in ShapeOf subgraph in MarkAndChangeDataTypeInShapeOfSubgraphs.py, revised Const values in transformations that affect ShapeOf subgraph nodes

* reverter ReverseV2ToReverseSequence.py and DecomposeBidirectionalRNNSequence.py

* in MarkSubgraphsWithCorrectLayout BFS search beauty applied

* apply review comments, returned back 'in_shape_subgraph' attribute

* graph condition added

* MO IR reader fix for mixed FP16 models, added replacer order placement comment

* moved to back phase

* new solution with marking nodes from bottom to top (WIP)

* successfully tested on back phase

* corrected unittest

* removed check for start nodes size in bfs

* fix transformations that insert f64 to f32 in shape subgraph

* corrected log.warning -> log.debug

* revised list if shape input operations added unittest for Const shape inputs

* applied @lazarevevgeny's comments

* licence head corrections
2021-03-30 23:16:32 +03:00
Alexey Suhov
e072c96237
fix test_missed_intel_header fail in mo\__main__.py (#5047) 2021-03-30 22:46:14 +03:00
Dmitry Kurtaev
47cf3bdc35
Use MO as module (#4801)
* Use MO as module

* Add legal notice
2021-03-30 18:11:58 +03:00
Patryk Elszkowski
61f7791b16
fix not initialized value - reported by klocwork (#4998)
Co-authored-by: Patryk Elszkowski <patryk.elszkowki@intel.com>
2021-03-30 17:31:45 +03:00
Mateusz Tabaka
0c38a9e4d3
Fix MulFakeQuantizeFusion with output low/high other than f16 (#5006)
Ticket: 51964
2021-03-30 16:53:59 +03:00
Tomasz Dołbniak
170223d842
DeformableConv2D custom ONNX op (#4816) 2021-03-30 14:44:44 +02:00
Mateusz Tabaka
acf778d655
Disallow SoftmaxFusion when input rank is greater than 5 (#5028) 2021-03-30 14:43:35 +02:00
Victor Kuznetsov
83ec2d321a
Add json file with tests ids to CC tests (#4425) 2021-03-30 15:31:40 +03:00
Anastasia Kuporosova
a26aad1cfa
[Python API] Skip several tests if device is ARM (#4646) 2021-03-30 15:16:48 +03:00
Liubov Batanina
2f257a2955
Added GenerateInput to Reduce tests (#5004)
* Added GenerateInput to Reduce tests

* Skip ReduceProd CPU tests
2021-03-30 15:06:36 +03:00
Dmitry Kurtaev
41f0eb51c5
Enable mo.front.common.extractors module (#5018)
* Enable mo.front.common.extractors module

* Update package_BOM.txt
2021-03-30 13:56:49 +03:00
Dmitry Kurtaev
a2a7320d74
[MO] Fix EfficientDet conversion (#5029) 2021-03-30 12:28:18 +03:00
Irina Efode
b4a2ac9d1c
[IE TESTS] Fix issue with report merge (#5031) 2021-03-30 12:14:35 +03:00
Anastasia Kuporosova
38bb66741f
[Python API] use parametrize in blob tests (#5020)
Co-authored-by: anastasia.kuporosova <akuporos@akuporos.inn.intel.com>
2021-03-30 11:45:05 +03:00
Mikhail Ryzhov
d314a7c350
Added version.txt to MO wheel (#4982) 2021-03-30 10:46:35 +03:00
Gabriele Galiero Casay
902a89b582
Revise Clamp reference implementation (#4813)
* Operation class review

* Remove clamp from FusedOp
* Add node validation checks
* Add type_prop unit tests

* Move backend unit tests into a separate file

* Remove unnecessary includes

* Add support for i8, i16, u8, u16 and bf16 precisions

* Refactor backend unit tests

   * Remove instance with f64 precision
   * Move dynamic shape tests to op_eval
   * Group failing tests into manifest

* Add single layer tests and serialization tests

* Skip tests with conversion due to plugin misbehavior

* Add unit tests fails to manifest with documented issues

* Fix centos7 test to skip slt cpu instances of integer precision

* Enable dynamic test for float element type

* Address review comments
2021-03-29 22:53:34 +03:00
Helena Kloosterman
8ad8b6b9b3
Update README for PIP install with correct validation command and note about python/python3 (#4791) 2021-03-29 21:08:57 +03:00
Kate Generalova
713709b478
script: add git-lfs to install_build_deps (#4811) 2021-03-29 20:31:23 +03:00
Michał Karzyński
657a633ee9
Update ngraph/python test dependencies (#4989) 2021-03-29 15:26:11 +02:00
Rafal Blaczkowski
8dbfaf2773
Update version (#5007) 2021-03-29 16:02:30 +03:00
Rafal Blaczkowski
9f330d28bd
Add onnx runtime tests to CI (#4861)
* change docker approach

* Experiment with run onnx runtime tests over MS Azure

* experiment to run bnaries directly

* enable all tests

* Set tests execution as separated scripts

* Configurations update:
- Add new yml file for onnx_runtime check
- Add specific tag to checkout for onnx runtime

* Rename according to conventions

* Change OpenVINO release version
2021-03-29 14:19:31 +03:00
Anton Voronov
4d112b1f90
[CPU] returned old behavior for fp32 avx2 1x1 conv with dw conv fusing (#4484) 2021-03-29 13:55:13 +03:00
Mateusz Bencer
1a6b823e5a
Rnable "Round" tests (#4988) 2021-03-29 11:17:42 +02:00
Ilya Churaev
de50ecfa32
Fix int4 conversion (#4983)
* Fix int4 conversion

* Simplify logic
2021-03-29 10:28:30 +03:00
Ilya Churaev
007078de49
Added coverage cmake script for nGraph (#4979)
* Added coverage cmake script for nGraph

* Added common GCDA folder
2021-03-28 20:05:45 +03:00
Egor Duplensky
1ffeb24a41
Prevent unloading libraries at runtime for sanitizer builds (#4986)
Otherwise sanitizer is not able to resolve libraries symbols
at the end of binary execution
2021-03-27 23:11:57 +03:00
Mikhail Nosov
65bad6c3a8
[Hetero plugin] Model caching support (#4977)
* [Hetero plugin] Model caching support

- Enable IMPORT_EXPORT_SUPPORT metric
- Introduce internal FORCE_DISABLE_CACHE flag to avoid caching of subnetworks
- Added test for hetero with plugins which don't support caching
- Added test for hetero with plugins supported different cache architecture

* Hetero plugin - support DEVICE_ARCHITECTURE

Test setup:
mock.1 - mock.9 returns "one" for DEVICE_ARCHITECTURE
mock.10 - mock.99 returns "two"

Test:
Load "HETERO:mock.1,mock.51".
Load "HETERO:mock.2,mock.52" - cache shall be reused

* Fixed review comments

Covered use case case
ie.SetConfig({{"TARGET_FALLBACK", "CPU"}}, "HETERO");
ie.LoadNetwork(network, "HETERO");

* Fixed more comments and failed tests

Don't propagate FORCE_DISABLE_CACHE to plugins as they can throw exception
Fixed case with set TARGET_FALLBACK from core with different architectures of one plugin

* Fix unit tests

Add 'FORCE_DISABLE_CACHE' config key only for LoadExeNetwork
It is not needed to have in in QueryNetwork and other places

* Attempt to fix failed func test on Windows
2021-03-27 22:39:10 +03:00
Mateusz Bencer
a0b06303cf
Ignore unused-variable for libprotoc (#4948)
* ignore unused-variable for libprotoc

* move apply Wno-unused-variable

* apply Wno-unused-variable only if libprotoc is available
2021-03-27 15:49:18 +03:00
Ilya Lavrenov
8a3ff9aeae
Removed not needed suppressions for deprecated API in ngraph (#4992)
* Removed not needed suppressions for deprecated API in ngraph

* Fixed compilation with deprecated API in 3rd party with MSVC
2021-03-27 14:32:17 +03:00
Mateusz Bencer
eb4840e078
apply --ignore-space-change --ignore-whitespace for onnx patch (#4987) 2021-03-27 11:15:31 +03:00
Alexey Suhov
a2bf62f488
Align copyright notice in sh, bat, cl, cc, pyx source files (#4995) 2021-03-27 01:26:27 +03:00
Ilya Churaev
54aacd48f7
Refactored attributes tests (#4981) 2021-03-26 20:26:38 +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
Alexandra Sidorova
b47ca664c1
[CPU] Fixed Pad 1D case (#4828) 2021-03-26 16:28:32 +03:00
Liubov Batanina
69b76f188c
Fixed transpose reference (#4688) 2021-03-26 16:27:47 +03:00