platform/upstream/dldt.git
4 years ago[MO] Support ONNX QuantizeLinear (#1451)
Maxim Vafin [Mon, 10 Aug 2020 18:10:45 +0000 (21:10 +0300)]
[MO] Support ONNX QuantizeLinear (#1451)

* [MO] Support ONNX QuantizeLinear

* Update docs

* Fix cast type

* Fix error messages

4 years agoMoved legacy API to legacy/ subfolder for include (#1677)
Ilya Lavrenov [Mon, 10 Aug 2020 15:33:25 +0000 (18:33 +0300)]
Moved legacy API to legacy/ subfolder for include (#1677)

4 years agoRemoved onnx_import folder from src (#1706)
Ilya Churaev [Mon, 10 Aug 2020 15:25:44 +0000 (18:25 +0300)]
Removed onnx_import folder from src (#1706)

4 years agoChanged ICNNNetwork to CNNNetwork in QueryNetwork (#1704)
Ilya Lavrenov [Mon, 10 Aug 2020 15:24:54 +0000 (18:24 +0300)]
Changed ICNNNetwork to CNNNetwork in QueryNetwork (#1704)

4 years agoFixed input/output shape initialization (#1695)
Ilya Churaev [Mon, 10 Aug 2020 15:24:25 +0000 (18:24 +0300)]
Fixed input/output shape initialization (#1695)

* Fixed input/output shape initialization

* Use template_extension library in tests

4 years agoRemoved transformations _tbl.hpp files (#1700)
Gleb Kazantaev [Mon, 10 Aug 2020 13:32:03 +0000 (16:32 +0300)]
Removed transformations _tbl.hpp files (#1700)

4 years agoEnable swish (#1682)
Evgeny Lazarev [Mon, 10 Aug 2020 12:51:21 +0000 (15:51 +0300)]
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

4 years agoFixed CPU performance (#1702)
Ilya Lavrenov [Mon, 10 Aug 2020 12:43:25 +0000 (15:43 +0300)]
Fixed CPU performance (#1702)

4 years ago[ MO ] Extended Const->Result replacer (#1688)
Evgenya Stepyreva [Mon, 10 Aug 2020 12:36:05 +0000 (15:36 +0300)]
[ MO ] Extended Const->Result replacer (#1688)

* [ MO ] Extended Const->Result replacer

4 years ago[GNA] Fix cases when Gna2ModelGetLastError() returns unknown error (#1255)
Kamil Magierski [Mon, 10 Aug 2020 12:23:25 +0000 (14:23 +0200)]
[GNA] Fix cases when Gna2ModelGetLastError() returns unknown error (#1255)

Co-authored-by: kmagiers <kmagiers@intel.com>
4 years agoExtend dynamic shape support for ops which use auto padding mode (#1432)
Mateusz Bencer [Mon, 10 Aug 2020 11:48:18 +0000 (13:48 +0200)]
Extend dynamic shape support for ops which use auto padding mode (#1432)

4 years agoCheck if input of Unsqueeze is parameter during NopElimination (#1622)
Mateusz Bencer [Mon, 10 Aug 2020 11:45:58 +0000 (13:45 +0200)]
Check if input of Unsqueeze is parameter during NopElimination (#1622)

4 years agoTest calculation output shape for Broadcast op, relax restrictions for partially...
Mateusz Bencer [Mon, 10 Aug 2020 11:39:14 +0000 (13:39 +0200)]
Test calculation output shape for Broadcast op, relax restrictions for partially dynamic input data  (#1247)

4 years ago[GNA] Remove old GNA1 from Cmake scripts (#1686)
Pavel Rodionov [Mon, 10 Aug 2020 11:38:11 +0000 (14:38 +0300)]
[GNA] Remove old GNA1 from Cmake scripts (#1686)

4 years ago[CPU] Added Mish activation (#1555)
Alexandra Sidorova [Mon, 10 Aug 2020 10:59:17 +0000 (13:59 +0300)]
[CPU] Added Mish activation (#1555)

4 years ago[ KALDI ] Disable KSO (#1689)
Evgenya Stepyreva [Mon, 10 Aug 2020 09:22:42 +0000 (12:22 +0300)]
[ KALDI ] Disable KSO (#1689)

4 years agoremove TestMode restriction for batchnorm in Kaldi (#1697)
Pavel Esir [Mon, 10 Aug 2020 09:21:53 +0000 (12:21 +0300)]
remove TestMode restriction for batchnorm in Kaldi (#1697)

4 years agoReshape able slice (#1241)
Pavel Esir [Mon, 10 Aug 2020 09:19:08 +0000 (12:19 +0300)]
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

4 years agoPerformance counters for nGraph and additional ITT libraries on Linux (#1665)
Vladislav Volkov [Mon, 10 Aug 2020 03:58:01 +0000 (06:58 +0300)]
Performance counters for nGraph and additional ITT libraries on Linux (#1665)

4 years agoUpdated ConvertPrecision transformation to be executed for TI Body (#1673)
Gleb Kazantaev [Sat, 8 Aug 2020 18:33:07 +0000 (21:33 +0300)]
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

4 years agoMove downgrade passes to pass folder (#1675)
Ilya Churaev [Fri, 7 Aug 2020 18:46:13 +0000 (21:46 +0300)]
Move downgrade passes to pass folder (#1675)

4 years ago[NGraph] Add scatterNDUpdate and scatterUpdate reference implementations (#1494)
Maxim Andronov [Fri, 7 Aug 2020 13:09:28 +0000 (16:09 +0300)]
[NGraph] Add scatterNDUpdate and scatterUpdate reference implementations (#1494)

4 years ago[IE CLDNN] Extend resample int8 packing optimization (#1662)
Konrad Dobros [Fri, 7 Aug 2020 13:08:40 +0000 (15:08 +0200)]
[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.

4 years agodocs contribution guides (#1535)
Alexander Trifonov [Fri, 7 Aug 2020 12:33:11 +0000 (15:33 +0300)]
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>
4 years agoAdd convert GluonCV docs (#1413)
iliya mironov [Fri, 7 Aug 2020 11:37:55 +0000 (14:37 +0300)]
Add convert GluonCV docs (#1413)

* Add convert GluonCV docs

4 years agoAdd mxnet extractors (#1667)
iliya mironov [Fri, 7 Aug 2020 11:36:41 +0000 (14:36 +0300)]
Add mxnet extractors (#1667)

* Add mxnet extractors for hyperbolic functions

4 years agoMoved frontends to separate folder (#1657)
Ilya Churaev [Fri, 7 Aug 2020 10:08:38 +0000 (13:08 +0300)]
Moved frontends to separate folder (#1657)

4 years agoAdded compilation of Plugin API headers with strict flags (#1654)
Ilya Lavrenov [Fri, 7 Aug 2020 09:06:47 +0000 (12:06 +0300)]
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

4 years agoEnable ngraph python tests in OpenVINO-ONNX CI (#1603)
Rafal Blaczkowski [Fri, 7 Aug 2020 06:58:57 +0000 (08:58 +0200)]
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>
4 years ago[CPU] Add support 4th and 5th input DetectionOutput (#1290)
Maxim Andronov [Fri, 7 Aug 2020 06:05:41 +0000 (09:05 +0300)]
[CPU] Add support 4th and 5th input DetectionOutput (#1290)

* [CPU] Add support 4th and 5th input DetectionOutput

* fix any comments

* move reference to ngraph

* some changes for mx nms

* change namespace for ref impl

4 years agoMoved caseless to Plugin API (#1664)
Ilya Lavrenov [Fri, 7 Aug 2020 03:24:28 +0000 (06:24 +0300)]
Moved caseless to Plugin API (#1664)

4 years agoInitial nGraph Transformations type info (#1635)
Gleb Kazantaev [Fri, 7 Aug 2020 03:06:32 +0000 (06:06 +0300)]
Initial nGraph Transformations type info (#1635)

4 years agoLink CMAKE_DL_LIBS to IE (#1663)
Ilya Lavrenov [Thu, 6 Aug 2020 15:49:17 +0000 (18:49 +0300)]
Link CMAKE_DL_LIBS to IE (#1663)

4 years agoAdd mish fusion transformation (#1399)
iliya mironov [Thu, 6 Aug 2020 12:55:12 +0000 (15:55 +0300)]
Add mish fusion transformation (#1399)

* Add mish fusion transformation

* Add mish op to python api

4 years agoAdd CTCLoss op to nGraph Python API (#1642)
Roman Kazantsev [Thu, 6 Aug 2020 12:03:39 +0000 (15:03 +0300)]
Add CTCLoss op to nGraph Python API (#1642)

4 years ago[CPU] Add check to reduce for scalar dims (#1577)
Maxim Andronov [Thu, 6 Aug 2020 11:44:29 +0000 (14:44 +0300)]
[CPU] Add check to reduce for scalar dims (#1577)

4 years agoFixed extractor for MVN from ONNX (#1653)
Evgeny Lazarev [Thu, 6 Aug 2020 10:53:16 +0000 (13:53 +0300)]
Fixed extractor for MVN from ONNX (#1653)

* Fixed extractor for MVN from ONNX

* Updated MVN extractor from ONNX

* Code style

4 years agoENABLE_PROFILING_ITT option is ignored if ITT library not found (#1647)
Vladislav Volkov [Thu, 6 Aug 2020 10:20:35 +0000 (13:20 +0300)]
ENABLE_PROFILING_ITT option is ignored if ITT library not found (#1647)

4 years agoReduce number of ops generated by ngraph::pass::BatchNormDecomposition (#1569)
Mateusz Tabaka [Thu, 6 Aug 2020 09:14:08 +0000 (11:14 +0200)]
Reduce number of ops generated by ngraph::pass::BatchNormDecomposition (#1569)

Number of ops went down by 4.
Also fewer floating point operations improves precision here, so we're able
to unblock some test cases from ngraph's suite.

4 years agoImplement unicode conversion using Windows native functions (#1590)
Ilya Lavrenov [Thu, 6 Aug 2020 09:01:34 +0000 (12:01 +0300)]
Implement unicode conversion using Windows native functions (#1590)

* Implement unicode conversion using Windows native functions

* NOCPPLINT

* Fixed deprecated c++ api usage in tests

* Moved impl to cpp

* Moved Unicode utils to Plugin API

* Added missed include for Windows

* Fixes for unit tests; CentOS fixes

* Fixed Windows compilation

* Fixed unit tests on Unix

* Fixed unix 2

4 years ago[PP GAPI] - U16toF32 conversion kernel (#1298)
Anton Potapov [Thu, 6 Aug 2020 03:26:49 +0000 (06:26 +0300)]
[PP GAPI] - U16toF32 conversion kernel (#1298)

- the kernel itself is not yet used in the Preprocessing graph
- tests

4 years agoRemoved not-used file utils (#1644)
Ilya Lavrenov [Thu, 6 Aug 2020 03:18:48 +0000 (06:18 +0300)]
Removed not-used file utils (#1644)

4 years agoMoved QueryNetworkResult to ie_common.h (#1648)
Ilya Lavrenov [Thu, 6 Aug 2020 03:17:29 +0000 (06:17 +0300)]
Moved QueryNetworkResult to ie_common.h (#1648)

4 years agoRemove JSON serializer (#1638)
Ilya Churaev [Thu, 6 Aug 2020 02:51:05 +0000 (05:51 +0300)]
Remove JSON serializer (#1638)

4 years ago[IE CLDNN] Add push / pop macro for OpenCL header (#1645)
Ilya Lavrenov [Wed, 5 Aug 2020 20:55:42 +0000 (23:55 +0300)]
[IE CLDNN] Add push / pop macro for OpenCL header (#1645)

4 years agoAdd support for /INTEGRITYCHECK flag on Windows (#1390)
Andrey Somsikov [Wed, 5 Aug 2020 19:37:16 +0000 (22:37 +0300)]
Add support for /INTEGRITYCHECK flag on Windows (#1390)

* Build dlls with INTEGRITYCHECK flag if ENABLE_INTEGRITYCHECK=ON

INTEGRITYCHECK flag enforces digital signature before loading the binary in Windows.
Also, refine /guard:cf flag enabling - MSCV, Intel, clang compilers does support /guard:cf.

4 years agoAzure CI: Update metadata API version (#1652)
Alexander Zhogov [Wed, 5 Aug 2020 15:42:50 +0000 (18:42 +0300)]
Azure CI: Update metadata API version (#1652)

* Azure CI: Update metadata API version

* Set -NoProxy

* Fix issue

4 years ago[IE CLDNN] Support IC={1,2,4} in the first convolution kernel (#1583)
Alexander Chaiko [Wed, 5 Aug 2020 15:32:32 +0000 (17:32 +0200)]
[IE CLDNN] Support IC={1,2,4} in the first convolution kernel (#1583)

4 years ago[IE][VPU][GT]: Added support for SoftPlus & Swish layers (#1612)
Alexey Ershov [Wed, 5 Aug 2020 15:28:04 +0000 (18:28 +0300)]
[IE][VPU][GT]: Added support for SoftPlus & Swish layers (#1612)

* Implement SoftPlus stage
* Implement Swish stage

4 years ago[IE CLDNN] Implement nGraph function support in QueryNetwork() (#1601)
Mikhail Letavin [Wed, 5 Aug 2020 15:26:14 +0000 (18:26 +0300)]
[IE CLDNN] Implement nGraph function support in QueryNetwork() (#1601)

4 years agoUpdated documentation for HETERO plugin (#1643)
Ilya Lavrenov [Wed, 5 Aug 2020 15:04:35 +0000 (18:04 +0300)]
Updated documentation for HETERO plugin (#1643)

4 years agoRefactored nGraph operator tests to use TestCase (#1623)
Bartosz Lesniewski [Wed, 5 Aug 2020 14:27:18 +0000 (16:27 +0200)]
Refactored nGraph operator tests to use TestCase (#1623)

4 years agoFix missprint
Alexander Peskov [Mon, 3 Aug 2020 10:20:30 +0000 (13:20 +0300)]
Fix missprint

Signed-off-by: Alexander Peskov <alexander.peskov@intel.com>
4 years agoAdd fallback for TBB version without NUMA-aware API
Alexander Peskov [Tue, 14 Jul 2020 10:49:49 +0000 (13:49 +0300)]
Add fallback for TBB version without NUMA-aware API

Signed-off-by: Alexander Peskov <alexander.peskov@intel.com>
4 years agoExternal TBB support on cmake script level
Alexander Peskov [Tue, 14 Jul 2020 10:37:54 +0000 (13:37 +0300)]
External TBB support on cmake script level

Signed-off-by: Alexander Peskov <alexander.peskov@intel.com>
4 years agoFix clang build
Alexander Peskov [Fri, 10 Jul 2020 11:06:15 +0000 (14:06 +0300)]
Fix clang build

Signed-off-by: Alexander Peskov <alexander.peskov@intel.com>
4 years ago[IE][VPU]: Optimizations for Broadcast & ROIAlign (#1641)
Andrew Bakalin [Wed, 5 Aug 2020 13:45:19 +0000 (16:45 +0300)]
[IE][VPU]: Optimizations for Broadcast & ROIAlign (#1641)

* Update firmware

4 years ago[IE TESTS] Add VariadicSplit in SingleLayerTest (#1468)
Anton Zaytsev [Wed, 5 Aug 2020 12:06:55 +0000 (15:06 +0300)]
[IE TESTS] Add VariadicSplit in SingleLayerTest (#1468)

* [IE TESTS] add variadic split

* [IE TESTS] update  variadic split

* [IE TESTS] update instance variadic split

* [IE TESTS] update variadic_split.cpp

4 years agoReference implementation to Split op (#1526)
Mateusz Bencer [Wed, 5 Aug 2020 11:32:14 +0000 (13:32 +0200)]
Reference implementation to Split op (#1526)

* first version

* fixed lower_bounds

* Added unit test

* Added support of negative axis

* Added more tests

* Slice refactor in order to reduce binary size

* remvoed unused headers

* added eveluate method to split

* review remarks. part 1

* review remakrs. part 2

* review remarks

* sync with master

4 years agoAzure CI: Install monitoring (#1640)
Alexander Zhogov [Wed, 5 Aug 2020 09:44:37 +0000 (12:44 +0300)]
Azure CI: Install monitoring (#1640)

* Azure CI: Install monitoring

* Fix cleaning

4 years ago[Stress] Define `--timeout` in run_memcheck.py used in gtest-parallel (#1576)
Vitaliy Urusovskij [Wed, 5 Aug 2020 09:33:01 +0000 (12:33 +0300)]
[Stress] Define `--timeout` in run_memcheck.py used in gtest-parallel (#1576)

4 years agoRemoved CMAKE_DL_LIBS from OpenVINO ITT wrapper (#1637)
Ilya Lavrenov [Wed, 5 Aug 2020 09:28:24 +0000 (12:28 +0300)]
Removed CMAKE_DL_LIBS from OpenVINO ITT wrapper (#1637)

4 years agoUpdate xfail status of onnx python tests (#1639)
Rafal Blaczkowski [Wed, 5 Aug 2020 09:20:07 +0000 (11:20 +0200)]
Update xfail status of onnx python tests (#1639)

4 years agoChange working directory in setup.py (#1624)
Michał Karzyński [Wed, 5 Aug 2020 09:07:04 +0000 (11:07 +0200)]
Change working directory in setup.py (#1624)

Co-authored-by: Alexander Zhogov <alexander.zhogov@intel.com>
4 years agoImprove node name with port resolving (#1581)
Maxim Vafin [Wed, 5 Aug 2020 08:31:17 +0000 (11:31 +0300)]
Improve node name with port resolving (#1581)

* Improve node name with port resolving

* Fix IE remove Convert on output

* Address feedback

4 years agoEnable NGRAPH_DEPRECATED (#1617)
Ilya Churaev [Wed, 5 Aug 2020 08:13:05 +0000 (11:13 +0300)]
Enable NGRAPH_DEPRECATED (#1617)

* Enable NGRAPH_DEPRECATED

* Try to fix Windows

* Added NGRAPH_SUPPRESS_DEPRECATED_END for headers

* Removed tests on downgrade/upgrade passes

4 years agoMark evaluate method as constant (#1628)
Ilya Churaev [Wed, 5 Aug 2020 05:39:00 +0000 (08:39 +0300)]
Mark evaluate method as constant (#1628)

4 years agoRemoved public dependency on CMAKE_DL_LIB (#1633)
Ilya Lavrenov [Wed, 5 Aug 2020 03:11:13 +0000 (06:11 +0300)]
Removed public dependency on CMAKE_DL_LIB (#1633)

4 years agoAdded conversion of execution graph to old representation (#1626)
Ilya Lavrenov [Tue, 4 Aug 2020 17:30:35 +0000 (20:30 +0300)]
Added conversion of execution graph to old representation (#1626)

* Added conversion of execution graph to old representation

* Fixed compilation on Windows

4 years ago[PYTHON][nGraph] add get_type_name for element type (#1513)
Nadezhda Ageeva [Tue, 4 Aug 2020 16:01:12 +0000 (19:01 +0300)]
[PYTHON][nGraph] add get_type_name for element type (#1513)

4 years agoAllow descendants to reuse LayerTestsCommon (#1625)
Alexander Perepelkin [Tue, 4 Aug 2020 15:10:29 +0000 (18:10 +0300)]
Allow descendants to reuse LayerTestsCommon (#1625)

4 years agoAdd asinh acosh atanh extractors (#1600)
iliya mironov [Tue, 4 Aug 2020 11:56:15 +0000 (14:56 +0300)]
Add asinh acosh atanh extractors (#1600)

* Add asinh acosh atanh extractors

* Add asinh acosh atanh ext for tf

* Update docs

4 years agoUpdate ONNX Python tests (#1514)
Rafal Blaczkowski [Tue, 4 Aug 2020 10:26:32 +0000 (12:26 +0200)]
Update ONNX Python tests (#1514)

4 years agoNgraph unit tests refactoring: part 2 (#1518)
Gabriele Galiero Casay [Tue, 4 Aug 2020 09:56:46 +0000 (11:56 +0200)]
Ngraph unit tests refactoring: part 2 (#1518)

4 years agoAlign with the specification SpaceToBatch, BatchToSpace ops (#1140)
Ivan Tikhonov [Tue, 4 Aug 2020 09:35:24 +0000 (12:35 +0300)]
Align with the specification SpaceToBatch, BatchToSpace ops (#1140)

* Aligned SpaceToBatch/BatchToSpace with the spec, converted from fused_op to op

* Implemented transformation to decompose STB/BTS

* Added unit tests

* Added new mode (INTERPRETER_TRANSFOMATIONS) for functional tests

4 years agoFeature/ar24 int8 optimizations (#1208)
Marcin Penkowski [Tue, 4 Aug 2020 09:09:23 +0000 (11:09 +0200)]
Feature/ar24 int8 optimizations (#1208)

4 years ago[nGraph] Public Py API to get function from cnnnetwork (#1567)
Jan Iwaszkiewicz [Tue, 4 Aug 2020 07:39:37 +0000 (09:39 +0200)]
[nGraph] Public Py API to get function from cnnnetwork (#1567)

4 years agoRemoved constant folding for Tile op (#1595)
Ilya Churaev [Tue, 4 Aug 2020 04:42:23 +0000 (07:42 +0300)]
Removed constant folding for Tile op (#1595)

4 years agoRemove reverse op from pyAPI. (#1538)
Ewa Tusień [Tue, 4 Aug 2020 03:39:29 +0000 (05:39 +0200)]
Remove reverse op from pyAPI. (#1538)

4 years agoHierarchical extension to nGraph RTTI (#1245)
Sergey Lyalin [Tue, 4 Aug 2020 03:35:58 +0000 (06:35 +0300)]
Hierarchical extension to nGraph RTTI (#1245)

* 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

* 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

* Remove already unncecessary compiler flag for Windows

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

* Rewrite commens for NGRAPH_RTTI_... macros, remove not used header

4 years agoRemoved reshape and transpose constant folding passes (#1598)
Ilya Churaev [Tue, 4 Aug 2020 02:44:25 +0000 (05:44 +0300)]
Removed reshape and transpose constant folding passes (#1598)

* Removed template code from reshape implementation

* Removed constant foldyng for transpose and dyn reshape

4 years agongraph::pass::ConvertPrecision transformation (#1312)
Gleb Kazantaev [Mon, 3 Aug 2020 19:21:38 +0000 (22:21 +0300)]
ngraph::pass::ConvertPrecision transformation (#1312)

* In this PR I'll add ngraph::pass::ConvertPrecision transformation and change only CPU Plugin to decrease number of changes. Other plugins will be updated in separate PR.

* This PR also includes changes for TI body transformations. We need to call the same sequence of transformations including ConvertPrecision for TI body.

4 years agoITT library usage fixes (#1613)
Vladislav Volkov [Mon, 3 Aug 2020 18:50:26 +0000 (21:50 +0300)]
ITT library usage fixes (#1613)

4 years ago[ nG GRUCell ] Allowed dynamic input shape (#1606)
Evgenya Stepyreva [Mon, 3 Aug 2020 16:55:22 +0000 (19:55 +0300)]
[ nG  GRUCell ] Allowed dynamic input shape (#1606)

4 years agoUse clone_function instead of specialize_function (#1523)
Ilya Churaev [Mon, 3 Aug 2020 15:23:02 +0000 (18:23 +0300)]
Use clone_function instead of specialize_function (#1523)

* Try to use clone_function instead of specialize_function

* Try to fix stress tests

* Remove redundant specialize_function

* Fixed TI clone

* Removed redundant code

* Uncomment threading tests

* Fixed docs

* copy function friendly name too

* Fixed copy rt_info

* Fixed comments

4 years ago[IE CLDNN] Added fsv16 and int8 support in BatchToSpace and SpaceToBatch (#1381)
Roman Lyamin [Mon, 3 Aug 2020 12:04:49 +0000 (15:04 +0300)]
[IE CLDNN] Added fsv16 and int8 support in BatchToSpace and SpaceToBatch (#1381)

4 years ago[ MO GroupNorm ] Covered float Multiplication with Converts (#1602)
Evgenya Stepyreva [Mon, 3 Aug 2020 11:45:39 +0000 (14:45 +0300)]
[ MO GroupNorm ] Covered float Multiplication with Converts (#1602)

4 years agoHide implementation of SharedObjectLoader to cpp files (#1556)
Ilya Lavrenov [Mon, 3 Aug 2020 11:01:56 +0000 (14:01 +0300)]
Hide implementation of SharedObjectLoader to cpp files (#1556)

* Hide implementation of SharedObjectLoader to cpp files

* Fixed GPU tests compilation

* Fixes for Unix; check OpenCL headers with strict flags

* Fixed Windows

* More fixes for Windows

* Fixed Unit tests

* Enabled compilation with libVA for new GPU tests

* Fixes for case when libVA is not available

* Removed useless NOMINMAX

* Useless include

* Fix

* Fixes

* Fixes for Intel compiler

* Fix for Windows + Intel compiler

* Fixed samples compilation with Intel compiler

4 years agoDisabled JSON library (#1599)
Ilya Churaev [Mon, 3 Aug 2020 10:59:20 +0000 (13:59 +0300)]
Disabled JSON library (#1599)

4 years ago[nG][Python]Make model runner compatibile with python 3.5 (#1578)
Tomasz Socha [Mon, 3 Aug 2020 10:56:59 +0000 (12:56 +0200)]
[nG][Python]Make model runner compatibile with python 3.5 (#1578)

4 years agoRemoved dirty skip from tests definitions (#1591)
Ilya Lavrenov [Mon, 3 Aug 2020 10:22:13 +0000 (13:22 +0300)]
Removed dirty skip from tests definitions (#1591)

4 years ago[Stress] Remove --env_conf at all after deprecation (#1582)
Vitaliy Urusovskij [Mon, 3 Aug 2020 09:58:27 +0000 (12:58 +0300)]
[Stress] Remove --env_conf at all after deprecation (#1582)

4 years agoCommon library to trace using Intel ITT and new performance counters (#1479)
Vladislav Volkov [Mon, 3 Aug 2020 09:53:00 +0000 (12:53 +0300)]
Common library to trace using Intel ITT and new performance counters (#1479)

4 years agoRemoved ie_parallel include from task executors (#1588)
Ilya Lavrenov [Mon, 3 Aug 2020 07:56:44 +0000 (10:56 +0300)]
Removed ie_parallel include from task executors (#1588)

4 years ago[IE CLDNN] Added HSwish-4 operation (#1585)
Roman Lyamin [Mon, 3 Aug 2020 07:15:43 +0000 (10:15 +0300)]
[IE CLDNN] Added HSwish-4 operation (#1585)

4 years ago[IE CLDNN] Gather 5d/6d support (#1553)
Lukasz Debski [Mon, 3 Aug 2020 07:05:53 +0000 (09:05 +0200)]
[IE CLDNN] Gather 5d/6d support (#1553)

4 years ago[IE][VPU]: Use the string size, including the null-terminated character, to serialize...
Nikita Kudriavtsev [Fri, 31 Jul 2020 13:21:55 +0000 (16:21 +0300)]
[IE][VPU]: Use the string size, including the null-terminated character, to serialize the DataNode name (#1496)

4 years agoFix typo. (#1571)
Adam Osewski [Fri, 31 Jul 2020 12:05:53 +0000 (14:05 +0200)]
Fix typo. (#1571)

4 years agoRemoved v0 convolution and group convolution (#1512)
Ilya Churaev [Fri, 31 Jul 2020 10:00:28 +0000 (13:00 +0300)]
Removed v0 convolution and group convolution (#1512)

4 years agoRun nGraph code style check in the root of repo (#1573)
Alexander Zhogov [Fri, 31 Jul 2020 09:19:12 +0000 (12:19 +0300)]
Run nGraph code style check in the root of repo (#1573)