Commit Graph

954 Commits

Author SHA1 Message Date
Nikolay Tyukaev
361dec7362 Docs to Sphinx (#8151)
* docs to sphinx

* Update GPU.md

* Update CPU.md

* Update AUTO.md

* Update performance_int8_vs_fp32.md

* update

* update md

* updates

* disable doc ci

* disable ci

* fix index.rst

Co-authored-by: Andrey Zaytsev <andrey.zaytsev@intel.com>
2021-10-24 17:43:00 +03:00
Yury Gaydaychuk
b86ab12f0f [CPU][Release 2021.4.1] Fix roipooling border proposal computation for 2021.4 (#7116)
* roi_pooling handles border props correctly

* fix adapted for old test infrastructure
2021-08-17 23:20:54 +03:00
Maria Kaglinskaya
f03763defe Pruning for 2021.4 release (#6987)
* Fix Pruning for case with INT8 GroupConvolution operation (#6872)

* Added i8, u8 precisions in Gather constant folding (#6195)

Co-authored-by: Gleb Kazantaev <gleb.kazantaev@intel.com>
2021-08-13 18:23:35 +03:00
Ilya Lavrenov
eaa5a22979 Fixed build with cmake 3.21 (#6757) 2021-07-22 19:55:38 +03:00
Ivan Tikhonov
3bedd051dc processing sinks in hetero plugin, update single layer tests (#6090) 2021-06-09 19:03:38 +03:00
Konstantin Satunin
ec1134532a Align logic and feature flag name (#6107) 2021-06-09 18:52:44 +03:00
Evgeny Talanin
8dd914477c Pin mypy dependency (#6098) 2021-06-09 15:06:21 +03:00
Ivan Tikhonov
aa0c93300c Update for Python API to create networks with Memory layers (#6079)
* Update python API for Memory

* Run unit tests on CPU only

* add missed import

* Update tests

* fix py tests
2021-06-09 12:19:36 +03:00
Andrey Somsikov
f0cf1dffa7 Add ENABLE_STRICT_DEPENDENCIES for faster parallel builds (#5473) 2021-06-09 08:21:03 +03:00
Ilya Lavrenov
246932a5d3 Py code style (#6086)
* GitHub CI: Enable Python for Code style

* Update formatting

* Fix

* Add cython

* Add upgrade pip

* Update to src/requirements-dev.txt

* Fixed clang code style

Co-authored-by: azhogov <alexander.zhogov@intel.com>
2021-06-08 20:24:11 +03:00
Ilya Churaev
d171b5c4b7 Removed version.in.hpp from nGraph package (#6081) 2021-06-08 19:55:36 +03:00
Katarzyna Mitrus
bc7f61be24 PRelu reference implementation and ReshapePRelu transformation alignment (#5915)
* Apply  ReshapePRelu transformation only to const slope input

* Remove xfail from onnx backend prelu_broadcast test

* Fix and add Prelu SLT

* Update PRelu mkldnn transformation to extend broadcast support

* Fix and update PRelu reference implementation

* ONNX Prelu tests

* Add prelu backend tests

* Update ie tests manifest

* Comments clean up

* Fix STL Fill leakyslope blob

* Code refactor

* Unify layer tests slope input values generation
2021-06-08 06:51:41 +03:00
Mikhail Treskin
56ada41bd0 Add get_constant_from_source capability to pyngraph (#6018) 2021-06-07 18:19:52 +03:00
Ivan Tikhonov
c1608628d4 LowLatency v2 ngraph transformation (#5160)
* LowLatency 2.0: transformation and unit tests

* low latency 2.0: unit tests

* documentation and ngraph codestyle

* update CNN Interface of LowLatency transformation

* fix build on Windows

* fix build on Windows

* investigation of a failed build on Win OS

* ngraph codestyle

* fix build (werrors)

* New unit tests, refactoring

* update functional tests for Memory

* update LowLatency functional tests

* extend Memory tests to cover LowLatency v2 transformation

* clean up, code style

* fix unit tests

* update and fix unit tests, add feature to apply LLTv2 after LLTv1

* update docs, refactoring

* add several gna tests to skip config

* fix python api tests

* update python api, rename LowLatency_v2 to LowLatency2

* deprecate LowLatency v1

* Deprecate LowLatency v1 in IE

* fix wrong merge, codestyle

* resolve review comments

* fix python test

* update skip config

* apply online review notes, fix unit tests

* clean up, code style

* fix docs

* Use debug_messages instead of exceptions in llt v2

* fix unit tests

* Resolve review remarks
2021-06-07 15:13:41 +03:00
Tomasz Socha
f9b27c3714 [ONNX] 🛠️🕸️ Fix softmax opsets (#5959) 2021-06-07 14:01:20 +03:00
Mikhail Nosov
9fd73b4f1a [nGraph] Enable 'clang' for frontend-related unit tests (#6024)
* [nGraph] Enable 'clang' for frontend-related unit tests

* Moved frontend sources and headers before 'clang' definitions
2021-06-07 13:43:32 +03:00
Ilya Lavrenov
1fa225e7bf Python in OpenVINO: improvements (#6027)
* enable make clean to remove ie_wheel artifacts

* ./setup.py:132:1: E302 expected 2 blank lines

* fix CI build issue

* Removed not-needed components from ie_wheel

* Use explicit python3 vresion in ngraph pythpn

* Use python3 everywhere

* Reuse python3 more

* Added function to build with Py_LIMITED_API

* Sync 2 cmake python modules

* Fix for tools

* Fixed typo

* Enable python by default

* Enable python build iff python-dev is found

* More migration to Python3_VERSION

* Install wheel requirements

* Fixed ngraph Python separate build

* Fixed cython compilation

* Revert to old packages

* Added suffix

* Specify python version explicitly

* Don't depend on python interp to build python itself

* More improvements

* Revert offline transformations back to ie_wheel

* Refactoring

* Trying to build wheel independently on C++ runtime

* Build wheel only with main OpenVINO

* Fixed typo in test_utils cmake lists

* Adding link stage

* small fix

* git diff

* Try to fix python tests

Co-authored-by: Sergey Lyubimtsev <sergey.lyubimtsev@intel.com>
2021-06-07 10:52:48 +03:00
Gleb Kazantaev
46bef80cbf Fix ConvertPrecision for Constants (#6041)
Co-authored-by: Gleb Kazantaev <gleb@nncv666el.inn.intel.com>
2021-06-07 05:21:38 +03:00
Roman Kazantsev
5e8d1ccf92 Implement Einsum reference in nGraph interpreter (#5923)
* Implement Einsum reference in nGraph interpreter

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Apply code-style patch and fix build issues

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Fix CI build

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Fix fast build and apply code review feedback

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Add visitor API tests, check for input type and reduce memory consumption

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Apply code style

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>

* Add visitor API tests

Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
2021-06-04 11:08:30 +03:00
Ilya Lavrenov
11400135de Developer package update (#5970)
* Updated developer package generation

* Try to fix

* Reuse find_package(InferenceEngine) inside DeveloperPackage

* Fixes for ARM

* Fixed double InferenceEngineDeveloperPackage include

* WA for OpenCV
2021-06-03 12:45:12 +03:00
Mikhail Nosov
e5622738e7 Exposing 'Dimension' class to Python nGraph API (#5997) 2021-06-03 08:46:34 +03:00
Ilya Churaev
d56cf51c81 Reshape should support reshape to zero shapes (#5828)
* Reshape should support reshape to zero shapes

* Fixed comments

* Fixed backward compatible check

* Fixed myriad tests

* Removed header

* Fixed myriad tests

* Disabled Myriad tests

* Fix tests

* Fixed evaluate

* Fixed comments

* FIxed tests

* Fixed tests

* Fixed code style

* Fixed Myriad tests

* Added more tests
2021-06-03 06:26:30 +03:00
Mateusz Bencer
f28c8b199a do not move temporary object (#5962) 2021-06-02 17:17:14 +02:00
Tomasz Dołbniak
3bb91c4e5a Fix of some nGraph python tests (#5778) 2021-06-02 12:57:57 +02:00
Ewa Tusień
c77a13ae20 Add support for SparseTensor in Constant op (#5871) 2021-06-02 12:30:33 +02:00
Ilya Churaev
34b02a5254 Fixed KW issues (#5977) 2021-06-02 12:35:27 +03:00
Ilya Churaev
df331381e7 Fixed get_all_data_elements_bitwise_identical() method (#5873) 2021-06-02 11:14:02 +03:00
Szymon Durawa
662a8e6db3 Remove redundant constructor_validate_and_infer_types() calls. (#5832) 2021-06-02 10:15:53 +03:00
Jozef Daniecki
143fc069a6 Fix 'operands of different size in bitwise operation' klockwork issue. (#5914)
* Fix 'operands of different size in bitwise operation' klockwork issue.

* Changed 'byte_idx' type to size_t.
2021-06-02 08:50:10 +03:00
Mikhail Nosov
5765a7e35c NGraph FrontEnd Manager - Basic API (#5470)
* NGraph - FrontEndManager - common API
Added Mock frontend for unit testing

* Comment out installation rules

* Fixed review comment
Introduced environment variable OV_FRONTEND_PATH for frontend paths

* Additional cmake cleanup

* More fixes of cmakelists

* Changing template file name for frontends

* Changed copyrights

* Reuse ngraph-utils for file-related operations

* Correct of frontend file extension for macos
More code coverage

* Renamed all methods to according to ngraph-style
In case of unset or empty OV_FRONTENT_PATH - load plugins from current working directory

* Fix review comments
Add clang format target for frontend_manager and mock frontend plugin

* Update docs for FrontEndCapabilities

* Use constants for flags instead of 'enum'

* clang style fix

* Fix comment: using namespace ngraph...

* Fix comment: use replace "frontend_manager" with ${TARGET_NAME} in CMakeLists.txt

* Comment fix: rename 'generic' folder to 'frontend_manager'

* Update documentation comments

* Set FrontEndManager class as 'final'

* Apply review comments

* renamed get_place_by_name_and... to get_place_by_operation_name_and...

* Separated frontend_manager.hpp into 4 header files
2021-06-01 18:25:48 +03:00
Ilya Lavrenov
53ca9b26bb Windows build fix against prebuilt package (#5957)
* Revert "Fixed nGraph lib files for Windows (#5904)"

This reverts commit 442bb4e23a.

* Added inference_engine_transformations.lib back on Windows
2021-06-01 18:21:50 +03:00
Ilya Churaev
442bb4e23a Fixed nGraph lib files for Windows (#5904)
* Fixed nGraph lib files for Windows

* Fixed comments
2021-05-31 16:24:53 +03:00
Evgenya Stepyreva
749fed6805 ExperimentalDetectron* dynamic shape propagation (#5872) 2021-05-28 12:15:53 +03:00
Maxim Andronov
9424272cce [CPU] Fix QueryNetwork for ReferenceNode (#5809)
* has_evaluate() was added
2021-05-28 09:24:38 +03:00
Jozef Daniecki
04f42d8442 Fix IE_CPU.exp_* nGraph UT on Mac (#5796)
* Revert "Azure CI: Exclude IE_CPU.exp_* nGraph UT on Mac"

This reverts commit c9672ee9ec.

* Increased tolerance in exp_* backend tests.
2021-05-28 08:36:51 +03:00
Tomasz Dołbniak
ef5ded7878 Obsolete tests removed (#5786) 2021-05-28 07:48:38 +03:00
Tomasz Socha
87a47aa117 🦒Nonzero-adjustment (#5863) 2021-05-27 17:42:52 +03:00
Tomasz Socha
62d15ed59c [nGraph] Make make_broadcast dynamic (#5834) 2021-05-27 15:41:32 +02:00
Vladimir Gavrilov
fe8443d9f8 Implement reference nGraph implementation for operations "ExperimentalDetectronDetectionOutput", "ExperimentalDetectronPriorGridGenerator" (#4004)
Implemented reference nGraph implementation for operations "ExperimentalDetectronDetectionOutput" and "ExperimentalDetectronPriorGridGenerator" #43928
2021-05-27 15:17:09 +03:00
Mateusz Bencer
55c73abd7e add editor tests to CI (#5812) 2021-05-27 00:04:39 +03:00
Vladimir Gavrilov
91fd2574df Implement reference nGraph implementation for the operation "ExperimentalDetectronTopKROIs" (#5675)
* Started to write nGraph reference implementation of the operation ExperimentalDetectronTopKROIs.

* Written cpp-file for the nGraph reference implementation of the operation ExperimentalDetectronTopKROIs.

* Code style fixes.

* Started to write evaluate() (in evaluates_map.cpp) for the nGraph operation ExperimentalDetectronsTopKROIs.

* Code style fixes.

* Written evaluate() for ExperimentalDetectronTopKROIs.

* Small fixes.

* Written test for ExperimentalDetectronTopKROIs evaluation.

* Small fix.

* Fixed Apache license header.

* Some changes.

* int64_t was replaced with size_t in the body of ngraph::runtime::reference::experimental_detectron_topk_rois().

* Added more test for evaluation of ExperimentalDetectronTopKROIs.
2021-05-26 17:49:33 +03:00
Egor Duplensky
e754a6b46f [CPU] Fix RegionYolo (v3) node and Ngraph reference implementations (#5748) 2021-05-26 11:44:36 +03:00
Anastasia Kuporosova
b5c5b6b974 [Python API] Add MemoryState API (#5731)
* [Python API] Add MemoryState API

* use inferRequest instead of IInferRequest

* implement VariableState through cpp

* small fixes + add tests for preprocess_info
2021-05-26 10:46:44 +03:00
Evgenya Stepyreva
94f814bf4e Squeeze with scalar axis (#5811) 2021-05-26 00:41:57 +03:00
Jan Iwaszkiewicz
c3ca8d048e [ONNX] ArgMin/ArgMax support for select_last_index (#5661)
* Add Reverse Op to opset

* Worksave with Reverse path

* Add last_index support

* refactor argminmax factory

* Remove old xfail, add new one

* Fix proto file for argmax

* Rewrite test for select_last_index

* Add CPU tests to Manifest

* Update manifest

* Remove Reverse from opset7

* Refactor arg_min_max factory

* Added example comment in arg_min_max

* Codestyle changes
2021-05-25 20:37:07 +03:00
Mateusz Tabaka
d509fe64ab [ONNX] Use Reshape instead of Broadcast in v6 operators: Add, Div, Mu… (#5711) 2021-05-25 15:30:01 +02:00
Bartosz Lesniewski
2d0707dd1a Revise Result Op (#5637)
* Add type prop tests for shape and type propagation

* Add visitor test

* Add SLT test class for result op

* Add SSLT for result op

* Add CPU SLT

* Add backend test

* Applying review comments - fix typo in slt, replace type info with NGRAPH_RTTI_DEFINITION

* Applying changes after review comments

* Add result to trusted ops list

* fix adding redundant nodes in slt
2021-05-25 07:06:04 +03:00
Ilya Lavrenov
11af0bd904 CVS-56141 (#5746)
* CVS-56141

* Added dev component for C API
2021-05-25 02:31:15 +03:00
Katarzyna Mitrus
eba2410411 Remove deprecated legacy transpose ref function (#5765) 2021-05-24 20:05:29 +03:00
Ivan Tikhonov
0c30ccc120 Single layer tests for Assign/ReadValue ops (#5735)
* add single layer tests for Assign/ReadValue ops

* fix windows build, revert debug changes
2021-05-24 18:58:48 +03:00