Commit Graph

1158 Commits

Author SHA1 Message Date
Alexey Moskalev
8d196e1e6d Update issue templates
removing wrong templates
2020-08-12 13:16:22 +03:00
Alexey Moskalev
31d45061d4 Update issue templates
First version
2020-08-12 13:13:41 +03:00
Ilya Lavrenov
2b81b947dc
Define a macro to define plugin creation function (#1727) 2020-08-12 12:00:30 +03:00
Konrad Dobros
21bef4ed39
[IE CLDNN] Add asymmetric dw convolution improvements (#1251)
This change adds full support for asymmetric quantization to optimized
depthwise convolution, adds slm optimization and other minor
improvements.

Issue: CVS-25122
2020-08-12 09:01:19 +03:00
Roman Kazantsev
2ccd9b0bc8
Add requirements_tf2.txt to package_BOM.txt (#1728) 2020-08-12 08:55:56 +03:00
Ilya Churaev
40ce418eab
Removed constant folding pass for reverse (#1716) 2020-08-12 06:57:38 +03:00
Dmitry Kurtaev
f25c8843dc
size_t on 32bit OS (#1721) 2020-08-12 06:56:19 +03:00
Andrey Zaytsev
a0581d3d8f
Merging Documentation updates for 2020.4 (#1672) (#1726) 2020-08-11 19:10:56 +03:00
Evgenya Stepyreva
9c1f479a61
[ MO ] Turning GNMT KSO OFF (#1718) 2020-08-11 18:47:27 +03:00
Ivan Tikhonov
abab645c42
Unroll transformation for TensorIterator (#1259)
* unroll ti transformation, lstm sequence ie, rnn sequence ie

* Update unroll ti transformation, added GRUSequenceIE op, fixed several ti e2e tests

* apply ngraph codestyle

* fix naming after unroll transformation

* Added default constructor for RNNCellBase, fix conversions

* copy runtime info

* added UnrollTI unit tests

* clean up, move sequence ops in a separate PR

* clean up, ngraph code style

* temporary disable ngraph reader unit tests for ti

* fix unit tests on windows

* naming: use name of tensor after unroll tensor iteration transformation

* apply transformations to tensor iterator body, separate pass for ti transformations, fix naming issue

* fix build

* remove TensorIterationTransformations pass

* fix includes

* resolve conflicts

* fix build: incorrect includes

* remove split/concat for single iteration of TI, update to opset4, unit tests

* use matcher pass instead of graph rewrite

* try to enable UnrollTI transformation for all plugins

* disable unrollTI transformation for cpu plugin

* resolve review comments, enable unit tests

* update transformation description

* fix unit tests

* update transformation pipeline

* clean up

* clean up

* resolve review comments
2020-08-11 18:46:57 +03:00
Roman Kazantsev
b4b03b14f7
Separate MO configuration for TensorFlow 2 model conversion (#1685)
* Separate MO configuration for TensorFlow 2 model conversion

Also, it updates documentation including steps to convert
TF2 model with a custom layer in Keras H5 format into SavedModel

* Do fixes based on the first-round code review
2020-08-11 18:02:05 +03:00
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