Commit Graph

1230 Commits

Author SHA1 Message Date
Ilya Lavrenov
a4dcfed1a9
Simplified plugin interfaces (#1745)
* Simplified plugin interface

* Allow not implemented

* Fixes

* Fixed CPU plugin tests

* Fixed tests dependencies

* Fixes

* Fixed GPU plugin compilation

* Renamed plugin

* Fixes

* Removed tests for plugin base

* Fix2

* Fix 2

* Define a macro to define plugin creation function

* Clean-up

* Fixed OSX build

* Fixed CentOS

* Fixed exception catch / throw

* Fixed clang issue

* Fixed python tests on macOsx
2020-08-14 12:11:54 +03:00
iliya mironov
0cc63cbb05
Add asinh acosh atanh to python api (#1488)
* Add asinh acosh atanh to python api
2020-08-14 10:07:58 +03:00
Ilya Churaev
d8133824b3
Deprecate FusedOp class (#1758)
* Deprecate FusedOps

* Try to fix windows

* Added temp headers
2020-08-14 06:27:58 +03:00
Alexander Zhogov
ea5bfaf8d6
Azure CI: Add IncrediBuild option: /MaxCPUS=40 (#1779)
* Azure CI: Add IncrediBuild options: /ShowTime /StopOnErrors /MaxCPUS=62

* set 48 cores

* Remove /StopOnErrors

* Set 40 cores
2020-08-14 00:55:34 +03:00
Ilya Lavrenov
a8842ec32e
Updated mock interfaces in tests (#1762)
* Updated mock interfaces in tests

* Added mock_engine dependency
2020-08-13 20:17:30 +03:00
Jan Iwaszkiewicz
680cdacc11
[nGraph] Add Manager to Py API (#1533)
* Added test

* working ManagerWrapper

* Clean-up in ManagerWrapper

* worksave

* fixed building error

* Finished test of constant folding

* remove unused param

* Added get_vector function

* clean up
2020-08-13 19:56:59 +03:00
Alexander Peskov
7c921b8b45
[CPU] Add explicit storage for MemoryNode (#895) 2020-08-13 19:06:20 +03:00
Sergey Lyalin
9a62e00674
TypeRelaxed implementation (#1561)
* RTTI base for ngraph::Node; cherry-pick from another branch, draft

* Added comments, moved code, switched to custom RTTI-based version of is_type

* Move rtti definitions in ngraph op class to the beginning of each class definition as a preparation for the next replacement

* Migrate part of operations to new RTTI

* Migrate GroupConvolution and Concat to new RTTI

* Apply code style for ngraph part

* Rename RTTI_DECLARATION/DEFINITION to NGRAPH_RTTI_DECLARATION/DEFINITION

* Reverted accidentally updated version of mkldnn

* TMP: rewrite RTTI back to constexprions as an attempt to fix static objects initialization order issue

* Apply ngraph code style

* Finalize move back to constexpr for RTTI

* Applied code-style

* TypeRelaxed template class implementation and necessary changes in ngraph + tests.

* Applied code-style

* Fix in fast algorithm in GraphRewrite, add new tests for this and other cases

* Make parent optional parameter for NGRAPH_RTTI_DECLARATION and remove Node::type_info; remove ability to have Node as a parent for type_info

* Try to resolve compilation error on Windows

* The next attempt to fix Windows build: re-introduce get_type_info_static

* Removed file that was removed in master and kept in this branch by mistake

* Next attempt to fix Windows build: externConstexpr

* Attempt to fix win build: extra public (suspect icc bug), remove get_type_info_static as useless.

* Next attempt to fix Windows: proxy const and constexpr

* Fixed constexpr

* Next attmpts: move get_type_info to cpp file

* Code stype fix

* Re-implemented RTTI without use of constexpr; run-time initialization is used; removed global definitions to avoid issues with order of static objects initialization

* Removed externConstexpr flag and removed TRANSFOMRATIONS_API for TypeRelaxed

* get_type_info_static initializes static local constant with type_info that is used for CLASS::type_info and CLASS::get_type_info

* Removed not needed debug output and useless comments

* Implemented better copy ctor for Node

* Fixed VisualizeTree issue for TypeRelaxed: stopped using < and > in type_info::name

* Better comments and names for methods

* Remove unused include

* Remove commented line

* Workaround for legacy conversion that uses Node::get_type_info().name as a type for the resulting CNNLayer leading to incorrect types for TypeRelaxed-based operations and then to fail in plugins

* Fixed typos, explicit ctor for TypeRelaxedBase, explanation for the need of get_overridden_output_type

* Fix typo

* Fixed issue with non-static name in type definition for TypeRelaxed and fixed WrapType to make it compatible with hierarchical relations between types

* Reverted default ctor for Output and reverted ability to reduce number of outputs for a Node; syntactically better debug message for a Node

* Cover methods of TypeRelaxedBase by tests

* Apply code-style
2020-08-13 18:45:37 +03:00
Andrew Bakalin
44236c5d9a
[IE][VPU][GT]: Fix different blobs for the same network (#1738)
* Use vector instead of unordered_map in order to get stable blob serialization.
2020-08-13 14:57:10 +03:00
Evgeny Lazarev
133baf23ef
Updated a link to MO FAQ (#1750) 2020-08-13 13:20:29 +03:00
Alexander Zhogov
98cf891b25
Azure CI: Add Windows job with IncrediBuild (#1761) 2020-08-13 13:10:12 +03:00
Gorokhov Dmitriy
ce90329b26
[CPU] Disable quantize ranges validation in order to avoid regressions (#1720) 2020-08-13 08:39:08 +03:00
Ilya Churaev
618c61537b
Remove some builders for old operations (#1736)
* Remove some builders

* Removed reshape v0 builder

* Fixed code style
2020-08-13 07:17:24 +03:00
Gleb Kazantaev
e752911b62
nGraph passes clean up (#1742)
* Cleanup pass::Manager;Update VisualizeTree to inherit FunctionPass; Removed deprecated tranformations types

* Removed legacy code; Updated docs
2020-08-13 06:49:51 +03:00
Andrey Zaytsev
df7fb6c069
Changed anchors (#1749) 2020-08-13 00:11:35 +03:00
azhogov
edbb54ff8a Revert "Azure CI: Add Windows job with IncrediBuild (#1282)"
This reverts commit 41c5f2d2d6.
2020-08-12 23:17:10 +03:00
Alexander Zhogov
41c5f2d2d6
Azure CI: Add Windows job with IncrediBuild (#1282)
* Azure CI: Add Windows job with IncrediBuild

* Update IB version to 9.4.6

* Fix "Clone submodules"

* Update IB version to 9.5

* Update install link

* Add debug out

* Update debug out

* Remove debug out

* Disable initiator machine from acting as helpers
2020-08-12 20:22:00 +03:00
Anna Alberska
93d3fec503
[GNA] fix scale factor issue in remove permutation test (#1740) 2020-08-12 17:37:00 +03:00
Mateusz Tabaka
df448c092e
Improve SpaceToDepth tests (#1661) 2020-08-12 16:06:09 +02:00
Ilya Churaev
819aadd981
Removed ngraph assertion (#1719) 2020-08-12 15:39:51 +03:00
Ilya Churaev
b5cf2a1f2e
Removed cpio (#1735) 2020-08-12 15:39:23 +03:00
Alexey Moskalev
750fc90293 Update issue templates
Removing wrong template
2020-08-12 13:17:34 +03:00
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