Commit Graph

3167 Commits

Author SHA1 Message Date
Alexey Suhov
6a16b70e0e
setupvars and demos: Fix getting script dir on macOS 10.15 with with default zsh shell (#5094) 2021-04-02 21:37:21 +03:00
Tatiana Savina
ead6040b21
Add POT how-to (#5092) 2021-04-02 18:34:40 +03:00
Irina Efode
812175268a
[IE TESTS] Fix conformance test names (#5095)
* [IE TESTS] Fix conformance test names

* sdl;

* APPLY COMMENTS FROM MIKHAIL
2021-04-02 17:46:50 +03:00
Mateusz Bencer
69e71b7287
Add get_function to ONNX Editor API (#5045) 2021-04-02 14:17:39 +02:00
Alexey Lebedev
3a6fba913c
[IE Tools] replace .format on f-string (#4970)
* replace .format on f-string in cross_check_tool

* Replace f-string on .format in utils.py

* replace f-string in benchmark tool

* Replace .format on f-string in benchmark tool

* Add f-string after update

* Fix some lines

* Fix utils
2021-04-02 14:50:57 +03:00
Patryk Elszkowski
60bd0178a4
Add more features to span and unit tests (#5002)
* Add more span util and test

* apply review suggestions

* add throw in at operator in span

Co-authored-by: Patryk Elszkowski <patryk.elszkowki@intel.com>
2021-04-02 14:47:35 +03:00
Anastasia Popova
440d2abd1f
Roll reference implementation (#4947)
* Added reference implementation for Roll operation.

* Small corrections.

* Removed duplicate test disabling.

* Changed implementation using manual data manipulation.

* Removed unnecessary function.

* Corrected tests, added converting axes and shift to int64.
2021-04-02 14:12:37 +03:00
Mikhail Treskin
89b876b592
Add constant subgrpahs handling in extractor (#5079)
* Initial summary dumper implementation

* Handle Tensoriterator body + add parser script

* Bump tox from 3.20.1 to 3.21.2 in /ngraph/python (#32)

Bumps [tox](https://github.com/tox-dev/tox) from 3.20.1 to 3.21.2.
- [Release notes](https://github.com/tox-dev/tox/releases)
- [Changelog](https://github.com/tox-dev/tox/blob/master/docs/changelog.rst)
- [Commits](https://github.com/tox-dev/tox/compare/3.20.1...3.21.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Remove extra main files

* Fix constant subgraphs on operation ports handling

* Rollback accident change of GPU device name in test_constants.hpp

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-02 12:58:45 +03:00
Vladislav Golubev
d7a2d13152
[LPT] AddTransformation fix (#5022)
* [LPT] AddTransformation fix

* [LPT][TESTS] FunctionalTests: added test-case with AddTransformation without convert
2021-04-02 12:41:53 +03:00
Irina Efode
bf1b7ef19c
[IE TESTS] Fix input generation for reduce ops (conformance) (#5070)
* [IE TESTS] Fix input generation for reduce ops (conformance)

* Apply review
2021-04-02 11:50:43 +03:00
Victor Kuznetsov
69a06f5977
Remove time-tests outliers using Inter Quartile Range (IQR) (#5014)
Change number of times to execute binary to aggregate statistics from 3 to 10.
2021-04-02 11:35:38 +03:00
Yegor Kruglov
c966aea879
Update StridedSlice extender to handle StridedSlice op with empty attributes (#4980)
* update ss extender

* change the condition

* add an assert

* fix for IR comparator tests failures
2021-04-02 09:40:46 +03:00
Elizaveta Lobanova
df5e0d68aa
[GNA] Enable convolution in height dimension for NHWC native models (#4864) 2021-04-02 09:35:50 +03:00
Evgenya Stepyreva
8d2f58caad
numpy.packbits usage for numpy 1.14.0 support (#5078) 2021-04-01 20:11:12 +03:00
Pavel Esir
1a3e9abfbe
nGraph shell implementation of Gather-7 (#4885)
* nGraph shell implementation of Gather-7

* review comments applied

* style_apply

* applied @ilyachur's comments

* style-apply

* applied @popovaan's comments

* changed ieFuncTest for Gather (now is created from op version instead of opset) added check for batch_dims

* clang_format_fix and some other corrections

* returned back opset3::Gather in ieFuncTests

* added `constexpr` to `AXIS_NOT_SET_VALUE` as @vgavrilo suggested

* removed AXIS_NOT_SET_VALUE and added proper support when axis is not specified

* clang_format_fix_all

* applied review comments: added support for dynamic axis

* applied review comments, minor corrections in gather_elements
2021-04-01 19:38:27 +03:00
Artemy Skrebkov
dca99aed64
Fix benchmark_app to update app_inputs_info correctly (#4994)
* Fix benchmark_app to set app_inputs_info

* Keep U8 precision only for images by default

* Review fixes

* Fix a typo
2021-04-01 19:20:33 +03:00
Elizaveta Lobanova
27268f008e
[GNA] Fix transformation from NCHW to NHWC for 4d concat (#4852)
Add additional checks for transformation from NCHW to NHWC
2021-04-01 18:38:30 +03:00
Dmitry Kurtaev
5272bd4ba9
Test MO wheel content (#5054) 2021-04-01 18:03:28 +03:00
Gabriele Galiero Casay
15b36ee8d1
SoftPlus specification refactoring (#5036)
* Review spec of SoftPlus operation

* Fix minor wording issues
2021-04-01 16:09:04 +03:00
Gabriele Galiero Casay
10d72a6631
Mish specification refactoring (#5035)
* Review spec of Mish operation

* Add minor changes

   * Updated reference paper to a newer version
   * Fix typo in SoftPlus op

* Minor change in example section

* Fix minor wording issues
2021-04-01 16:08:24 +03:00
Gabriele Galiero Casay
f7863847ad
Swish specification refactoring (#5015)
* Review spec of Swish operation

* Change reference link to abstract

* Minor change in example section

* Fix minor wording issues
2021-04-01 16:07:20 +03:00
Gabriele Galiero Casay
80acd27096
PReLU specification refactoring (#5016)
* Review spec of PReLU operation

* Address review comments

   * Correct second input description
   * Add note to clarify input channel dimension
   * Add additional equivalent formula for op
   * Change reference link to abstract
   * Add additional examples

* Address review comments related to wording

* Fix IR layer examples
2021-04-01 15:32:39 +03:00
Mikhail Nosov
4021cb7519
Caching support of multi-device scenario (#5040)
* Caching support of multi-device scenario

- IE_CORE: introduce CacheGuard which can create locks for specific cache identified by 'hash'
- Added functional tests for it

Fixes of Thread Sanitizer failures:
- ngraph::Serialize - m_ref[i] can create new element, casted to 'const' to avoid this
- ngraph::get_opset oprations: reworked to use std::call_once instead of double bool check

* Added docs for ie_cache_guard.hpp

* Fix Debian 9 compilation issue

* Fix build for CentOS 6

Added assert to verify that table of locked hashes is empty on destruction

* Fixed review comments
2021-04-01 14:42:48 +03:00
Aleksandr Korolev
ce5aa7dc1b
[IE][VPU]: fixing wrong threads behavior in mvnc_api.c (#5053)
Lock global mutexes while locking all inferences to prevent unlocking all inferences on all devices including just opened
2021-04-01 14:17:29 +03:00
Michał Karzyński
0f8cdfa293
Add Debug build to OpenVINO-ONNX CI (#5034) 2021-04-01 13:04:51 +02:00
Mikhail Ryzhov
8c50c3d155
[PyPI] Fixed dependency conflict (#5013)
* Minimize dependencies for openvino-dev package

* Changed numpy version to satisfy opencv-python dependency
2021-04-01 13:25:22 +03:00
Tomasz Dołbniak
3b0c6aa408
Run IR models via TestCase (#4964) 2021-04-01 11:22:31 +02:00
Sergey Lyubimtsev
b55be5594b
compression.configs.hardware config to package_data (#5044) 2021-04-01 12:20:20 +03:00
Kate Generalova
26adcd1a61
doc: update README for C samples, add comments (#4780)
* doc: update README for C samples, add comments

* samples: revert extension library settings for CPU only

* add validated image formats to samples README

* add output to c samples README

* add device check for xml config option
2021-04-01 11:11:49 +03:00
Maxim Vafin
2bed9c9277
Fix ScatterND validation and implement evaluate (#4905)
* Fix ScatterND validation and implement evaluate

* Apply review feedback

* Update scatternd.py
2021-03-31 19:01:46 +03:00
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