Commit Graph

1197 Commits

Author SHA1 Message Date
Mateusz Tabaka
5814bd9b98
Improve DepthToSpace tests (#1659) 2020-08-11 16:28:24 +02:00
Anastasia Kuporosova
02e5a912a2
[Tools] Install compile tool to tool directory (#1649) 2020-08-11 17:27:49 +03:00
Tomasz Dołbniak
76648b378a
Make Clip work for dynamic input (#1666) 2020-08-11 16:59:15 +03:00
Jan Iwaszkiewicz
2b6b047b43
[nGraph] Create Python API support for rt_info (#1696) 2020-08-11 15:57:31 +02:00
Vladimir Paramuzov
fb8a9cbb87
[IE CLDNN] Enabled fsv16 asymmetric first conv (#1372) 2020-08-11 16:40:52 +03:00
Ilya Churaev
c46c978c79
Remove GetOutputElement op (#1604) 2020-08-11 15:28:14 +03:00
Anna Alberska
21f2a97402
[GNA] Support of NHWC conv2d with N=1 H=1 and 1xk Kernel (#1209)
* [GNA] Support of NHWC conv2d with N=1 H=1 and 1xk Kernel

* [GNA] add test for comparing optimization outputs & cpplint fixes

* fix getInputTo() & fix cpplint

* fix tests

* revert kernel padding

* add AddConvolutionKernelPadPass & refactor

* cpplint fix

* fix CI issues & add layout sensitive dimensions

* move kernel padding issue to another branch

* add more legible error descriptions

* fix legacy tests & disable 3d input convolution tests

* change comment messages

* fix additional convolution kernel padding for PWL case
2020-08-11 15:20:19 +03:00
Egor Churaev
2caca604ca
[IE CLDNN] Fix reshape for yxfb layout (#1632)
In one of the network it was the following pipeline:
```
FullyConnected -> Reshape -> FullyConnected
```
And the output of Reshape wasn't in the same order as input for this
layer. I found that the problem was connected with format of the layers.
During optimization passes this pipeline was transformed to the
following:
```
FullyConnected -> Reorder -> Reshape -> Reorder -> FullyConnected
```
Both `FullyConnected` layers works with `yxfb` format.  This is why
Reorder layer after the Reshape has output layout with format `yxfb` and
`reshape_in_layout.format` returns `yxfb` format. But in this case we
have to convert Reshape to `bfyx` format because in this case we won't
change the order of elements.
I replaced `reshape_in_layout.format` (which returns `yxfb`) and
explicitly set `bfyx` format.

JIRA: 35288
2020-08-11 14:52:04 +03:00
Pavel Rodionov
129376f609
[GNA] Bump GNA2 version to 1047 (#1629) 2020-08-11 14:37:40 +03:00
Pavel Rodionov
f47bd72301
[GNA] Remove empty PWL (#1224) 2020-08-11 14:35:39 +03:00
Anna Alberska
d8b366c573
[GNA] Add Basic_LSTM_S test (#805)
* add Basic_LSTM_S test

* add comparing with model with unrolled TI

* move computing reference output to overridden CalculateRefs()
2020-08-11 12:46:27 +03:00
Gleb Kazantaev
10d1cd3162
Removed CNNNetwork BlobTransformer (#1709)
* Removed CNNNetwork BlobTransformer

* Removed inference_engine_lp_transformations dependency for GNA and VPU plugins
2020-08-11 12:14:14 +03:00
Denis Orlov
8c122f4ea0
[GNA] Fixes in checks, asserts, etc. (#903) 2020-08-11 12:13:06 +03:00
Ilya Churaev
3c9fc72b58
Changed structure of nGraph core library (#1658) 2020-08-11 11:11:33 +03:00
Rafal Blaczkowski
0721761492
Enable Model Zoo in OpenVINO-ONNX CI (#1660) 2020-08-11 09:28:55 +02:00
Katarzyna Mitrus
0be11a462f
HSwish operation specification (#1708)
* HSwish specification init

* Update docs/ops/activation/HSwish_4.md

Co-authored-by: Michał Karzyński <4430709+postrational@users.noreply.github.com>

* Update docs/ops/opset4.md

Co-authored-by: Michał Karzyński <4430709+postrational@users.noreply.github.com>
2020-08-11 09:54:08 +03:00
Ilya Znamenskiy
6cccbcf28a
[IE CLDNN] Gemm fp16/fp32 optimized kernel (#1646) 2020-08-11 09:54:00 +03:00
Evgenya Stepyreva
2d2a6dbfd8
[ MO ] Fixed layout interpretation for 4/5D tensors calculated from ShapeOfs (#1634) 2020-08-11 09:34:04 +03:00
Jan Iwaszkiewicz
2b474c8a47
Fixed access to the data of FP16 IRs with nGraph Python API (#1707) 2020-08-11 07:16:11 +03:00
Ilya Lavrenov
51b564e9d8
Moved plugin-specific utils from blob_factory.hpp (#1710) 2020-08-11 07:06:24 +03:00
Dmitry Kurtaev
2b9ffd9ff8
Add python executable for RPI compilation Docker (#1530) 2020-08-10 23:10:46 +03:00
Maxim Vafin
a6efc86a6a
[MO] Support ONNX QuantizeLinear (#1451)
* [MO] Support ONNX QuantizeLinear

* Update docs

* Fix cast type

* Fix error messages
2020-08-10 21:10:45 +03:00
Ilya Lavrenov
e2e2785131
Moved legacy API to legacy/ subfolder for include (#1677) 2020-08-10 18:33:25 +03:00
Ilya Churaev
a60f1d4633
Removed onnx_import folder from src (#1706) 2020-08-10 18:25:44 +03:00
Ilya Lavrenov
f95f756929
Changed ICNNNetwork to CNNNetwork in QueryNetwork (#1704) 2020-08-10 18:24:54 +03:00
Ilya Churaev
3928f8806d
Fixed input/output shape initialization (#1695)
* Fixed input/output shape initialization

* Use template_extension library in tests
2020-08-10 18:24:25 +03:00
Gleb Kazantaev
97842212c3
Removed transformations _tbl.hpp files (#1700) 2020-08-10 16:32:03 +03:00
Evgeny Lazarev
318d38770b
Enable swish (#1682)
* Draft version of the Swish nGraph operation and fusing transformations for different approaches to express the operation

* Swish fusing transformation refactoring

* Added Swish operation and extractor for TF. Removed unfolding transformation for the operation.

* Added SwishIE. Implemented transformation to convert Swish to SwishIE.

* Code style fixes

* Updated Swish reference implementation. Added tests for shape and value inference


* Fixed code style for Python API

* Fixed unit test

* Apply review comments

* Use matcher_pass_callback

* Make m_alpha attribute protected in the SwishIE operation

* Fixed Swish op PythonAPI test
2020-08-10 15:51:21 +03:00
Ilya Lavrenov
600ad8d180
Fixed CPU performance (#1702) 2020-08-10 15:43:25 +03:00
Evgenya Stepyreva
3cc7896e42
[ MO ] Extended Const->Result replacer (#1688)
* [ MO ] Extended Const->Result replacer
2020-08-10 15:36:05 +03:00
Kamil Magierski
cb8892ca2b
[GNA] Fix cases when Gna2ModelGetLastError() returns unknown error (#1255)
Co-authored-by: kmagiers <kmagiers@intel.com>
2020-08-10 15:23:25 +03:00
Mateusz Bencer
f5884231d3
Extend dynamic shape support for ops which use auto padding mode (#1432) 2020-08-10 13:48:18 +02:00
Mateusz Bencer
e88c7b5ed7
Check if input of Unsqueeze is parameter during NopElimination (#1622) 2020-08-10 13:45:58 +02:00
Mateusz Bencer
ae48d9deb8
Test calculation output shape for Broadcast op, relax restrictions for partially dynamic input data (#1247) 2020-08-10 13:39:14 +02:00
Pavel Rodionov
ffe8599c30
[GNA] Remove old GNA1 from Cmake scripts (#1686) 2020-08-10 14:38:11 +03:00
Alexandra Sidorova
50e003cded
[CPU] Added Mish activation (#1555) 2020-08-10 13:59:17 +03:00
Evgenya Stepyreva
1eac9e3932
[ KALDI ] Disable KSO (#1689) 2020-08-10 12:22:42 +03:00
Pavel Esir
7e82728130
remove TestMode restriction for batchnorm in Kaldi (#1697) 2020-08-10 12:21:53 +03:00
Pavel Esir
75d2d88b61
Reshape able slice (#1241)
* Added Caffe Slice_ext

* Added TFSlice, AttributedSlice (both with extractors and replacers), corrected SliceConverter and added unittests for all cases

* added comments to each type of Slice operation; optimized shape inference; moved mxlice inside of slice.py; renamed slice_replacers

* removed type annotation for get_shape_after_slice routine

* replaced zeros_like with zeros

* Corrected preserving node names, renamed attributes names, added tests fro slice_replacer onnx phase

* Renamed slice_replacers.py

* added more unittest cases

* added type annotations, moved to more relevant place routines for shape calculation, and some other minor corrections

* corrected a typo `normalize_slice_indices` comment

* corrected shape calculation for Nonconstant inputs

* corrected a few typos

* corrected type declarations

* corrected shape inference with rounding

* refactored unit-tests for front transforms of Slice

* added error raising for negative and zero shapes

* removed magic_num

* corrected AttributedSlice, clarified comments

* fixed unit-test for AttributedSliceToSlice

* typo in type hints corrected

* removed supported_attrs

* returned back default None for attrs of Slice
2020-08-10 12:19:08 +03:00
Vladislav Volkov
5883a232c3
Performance counters for nGraph and additional ITT libraries on Linux (#1665) 2020-08-10 06:58:01 +03:00
Gleb Kazantaev
1c062b6e92
Updated ConvertPrecision transformation to be executed for TI Body (#1673)
* Updated ConvertPrecision transformation to be executed for TI Body

* Added type fusion for GenericIE operation

* Added test for TensorIterator body precision conversion
2020-08-08 21:33:07 +03:00
Ilya Churaev
135e7c0aba
Move downgrade passes to pass folder (#1675) 2020-08-07 21:46:13 +03:00
Maxim Andronov
4054364fbf
[NGraph] Add scatterNDUpdate and scatterUpdate reference implementations (#1494) 2020-08-07 16:09:28 +03:00
Konrad Dobros
caa38130b9
[IE CLDNN] Extend resample int8 packing optimization (#1662)
This extends resample optimization for 8-bit types that uses feature
packed to mode to process multiple features in one work-item to features
not being multiple of packing factor.

For nearest resampling it is safe to copy extra feature padding for
blocked formats, so this change only removes this condition.
2020-08-07 16:08:40 +03:00
Alexander Trifonov
3becdf8a5e
docs contribution guides (#1535)
* docs contribution guides

* Fixed link to documentation_guidelines.md

Co-authored-by: Alexander1 Trifonov <alexander1.trifonov@intel.com>
Co-authored-by: Andrey Zaytsev <andrey.zaytsev@intel.com>
2020-08-07 15:33:11 +03:00
iliya mironov
52ad786b6c
Add convert GluonCV docs (#1413)
* Add convert GluonCV docs
2020-08-07 14:37:55 +03:00
iliya mironov
c8d74632f9
Add mxnet extractors (#1667)
* Add mxnet extractors for hyperbolic functions
2020-08-07 14:36:41 +03:00
Ilya Churaev
6085c797d3
Moved frontends to separate folder (#1657) 2020-08-07 13:08:38 +03:00
Ilya Lavrenov
f832453d9d
Added compilation of Plugin API headers with strict flags (#1654)
* Minimized ngraph headers inclusion

* Added compilation of plugin api headers with strict flags

* Fixed -WPedantic issue in ngraph headers

* Fixed compilation

* Trying to fix Windows

* Fixed GNA unit tests compilation

* Disabled WX test on Windows
2020-08-07 12:06:47 +03:00
Rafal Blaczkowski
054a7cdf8d
Enable ngraph python tests in OpenVINO-ONNX CI (#1603)
* Enable ngraph python tests

* Refactor and unify ngraph with onnx python tests

* Revert deprecated test cases

* Set ngraph and onnx python tests as a one test suite execution

* Change unstrict Xfails to strict ones

* Update after review:
 - add model zoo to onnx tests,
 - improvements of tests

* Revert mounting zoo models dir

Co-authored-by: Michał Karzyński <4430709+postrational@users.noreply.github.com>
2020-08-07 09:58:57 +03:00