Commit Graph

148 Commits

Author SHA1 Message Date
Ilya Lavrenov
0250f62d11 Revert inference precision to be a hint (#16634) 2023-03-29 18:59:33 +04:00
Mateusz Tabaka
556d469f6b [PADDLE] add paddle opextension support (#16439)
* add opextension support

* support opconversion

* fix test contructor ambiguous

* fix ci fail

* add tag to avoid compiler ambiguous

* move tests to layer_tests & remove PaddleTag

* static cast

* use create_ov_node_by_name

---------

Co-authored-by: Luo Cheng <cheng.luo@intel.com>
2023-03-29 12:23:47 +04:00
Mateusz Tabaka
1df14c6a6c Add docs for OPENVINO_FRAMEWORK_MAP macro (#14928)
* Add docs for OPENVINO_FRAMEWORK_MAP macro

Ticket: 98762

* Apply suggestions from code review

Co-authored-by: Piotr Krzemiński <piotrkrzeminski1234@gmail.com>

---------

Co-authored-by: Piotr Krzemiński <piotrkrzeminski1234@gmail.com>
2023-03-26 22:00:43 +04:00
River Li
d86d94edad [DOC][CAPI] document for remote tensor (#16408)
* [DOC][CAPI] document for remote tensor

* Update

* Update minor

* Update GPU_RemoteTensor_API.md

---------

Co-authored-by: Sebastian Golebiewski <sebastianx.golebiewski@intel.com>
2023-03-22 01:55:51 +04:00
Ilya Churaev
2739a01d64 Update Variable State doc (#16358)
* Update Variable State doc

* Fixed build

* Try to fix build

* Remove error

* Fixed doc

* Fixed links

* Try to fix doc
2023-03-20 10:14:06 +04:00
Xuejun Zhai
a9bd5f741d Xuejun/remove api model (#15924)
* [Remove APIs] remove api m_transformation_callback

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* [Remove APIs] remove api run_on_function(), replaced by run_on_model()

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* [Remove APIs] remove set_callback(), use get_pass_config() to configure transformation pipeline

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* [Remove APIs] remove api add_matcher()

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* Fix format issue

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* [Remove APIs] Fix review comments

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* Fix formast issue

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* Fix merge master error

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* Fix CI compiler error

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* Update ONNX Runtime from rel-1.8.1 to rel-1.14.0

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* Revert "Update ONNX Runtime from rel-1.8.1 to rel-1.14.0"

This reverts commit e31a9e04b7.

---------

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>
2023-03-17 10:44:28 +04:00
Ilya Lavrenov
f080a0d9cf Added NCC style for frontends sources (#16200)
* Ability to provide several source dirs for ncc-style checks

* Fixed include headers; added NCC to TF common

* Fixed NCC for frontends

* Fixed NCC for frontends

* Extra fixes

* Fixest push --f

* Clang-format

* Apply comments

* Add an option to specify required clang-format version

* Update src/frontends/tensorflow/src/decoder_proto.cpp

* Update src/frontends/tensorflow/src/decoder_proto.cpp
2023-03-13 14:54:00 +00:00
Karol Blaszczak
3dbea43ef1 [DOCS] remove mentions of myriad throughout docs (#15690)
* remove ov::device::thermal

ov::device::thermal was only supported on myriad

* additional cleanup

* remove myriad from AUTO and MULTI

auto n multi n hetero

+ remove mentions of listing myriad devices

* two final fixes

* Update ov_auto.py

---------

Co-authored-by: Ilya Churaev <ilya.churaev@intel.com>
2023-03-08 17:29:08 +04:00
Ilya Churaev
7c8dc76223 Rename template config and move transformations to code snippets (#16133)
* Rename template config and move transformations to code snippets

* Fixed documentation

* Rename template config
2023-03-08 07:12:05 +00:00
Sebastian Golebiewski
1bd1eca8d9 [DOCS] Integrate OpenVINO with your application article - add TF Lite (#16020)
* fix snippets

* add tflite

* update tab directives

* Update integrate_with_your_application.md
2023-03-07 23:01:56 +04:00
Anastasia Kuporosova
b130b73f80 [Docs][PyOV] Add docstrings for transformations + python examples for stateful model (#15978)
* [Docs][PyOV] Add docstrings for transformation + python examples for stateful

* add snippets + small improvements
2023-03-03 17:07:34 +01:00
Ilya Lavrenov
2e12af27e4 Improved GA precommit to track docs regressions (#16027) 2023-03-01 18:08:29 +04:00
Ilya Lavrenov
bde65c25c4 Fixed typo in docs (#16022) 2023-03-01 15:36:37 +04:00
Sebastian Golebiewski
21ac61fef5 [DOCS] Tensorflow models support in 23.0 update (#15974)
* tensorflow support update
adding tensorflow to main snippet

Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
2023-03-01 10:16:09 +01:00
Ilya Lavrenov
0988c2b813 Fixed compilation of docs snippets (#16004) 2023-02-28 20:53:31 +04:00
Karol Blaszczak
f9a8d9132d update NV12 (#15370)
* update NV12 docs and snippets

add single-plane input information
create single-plane cpp snippet
menu fix
update formatting for sphinx directives

Co-Authored-By: Ilya Churaev <ilyachur@gmail.com>
Co-Authored-By: Vladimir Paramuzov <vladimir.paramuzov@intel.com>

* additional snippet fixes

---------

Co-authored-by: Ilya Churaev <ilyachur@gmail.com>
Co-authored-by: Vladimir Paramuzov <vladimir.paramuzov@intel.com>
2023-02-28 17:58:08 +04:00
Wang Wangwang
9e3b3e0566 Docs: Update the doc on execution devices property and enable_startup_fallback property (#14750)
* Docs: Update the doc on default hint and execution devices property (#14836)

* Docs: Update to LATENCY as default hint
* Docs: Update the doc on execution devices property
* Update auto_device_selection.md

Co-authored-by: Yuan Xu <yuan1.xu@intel.com>

* Update docs/OV_Runtime_UG/auto_device_selection.md

* Update docs/OV_Runtime_UG/auto_device_selection.md

* Update docs/OV_Runtime_UG/auto_device_selection.md

Co-authored-by: Yuan Xu <yuan1.xu@intel.com>

* Update docs/OV_Runtime_UG/auto_device_selection.md

Co-authored-by: Yuan Xu <yuan1.xu@intel.com>

* Update docs/OV_Runtime_UG/auto_device_selection.md

Co-authored-by: Yuan Xu <yuan1.xu@intel.com>

* Update docs/OV_Runtime_UG/auto_device_selection.md

* Update docs/OV_Runtime_UG/auto_device_selection.md

---------

Co-authored-by: Yuan Xu <yuan1.xu@intel.com>
2023-02-21 11:24:19 +08:00
Ilya Lavrenov
ed5fa69b41 Fixed compilation on CI (#15787) 2023-02-17 22:28:48 +04:00
Ilya Lavrenov
672522492e Changed sample's format_reader libraries type from dynamic to static (#15756) 2023-02-17 09:30:19 +04:00
Ilya Lavrenov
1f3e469c5e Added -Wall for Clang and GCC (#15513)
* Added -Wall for Clang and GCC

* Fixes

* Don't use /J

* Fixed warnings

* Fixed warnings

* More fixes

* Fixed for MSVC

* Fixed more warnings on Windows

* Suppressed some warnings in template plugin

* Update src/tests/functional/plugin/shared/include/behavior/plugin/caching_tests.hpp

* Added suppression for PT FE

* Suppressed warnings in TF FE

* Suppressed warnings on Core unit tests

* Suppress warnings in python

* Suppressed Windows warning for 3rd party modules

* Suppresed one more warning
2023-02-08 15:01:00 +04:00
Ilya Lavrenov
de1631d67d Generalized OpenCL handling (#15253)
* Squashed commit of the following:

commit 62c992f6a0bc3a2f559faac6912be9c5632a359f
Author: Ilya Lavrenov <ilya.lavrenov@intel.com>
Date:   Sun Jan 22 11:38:18 2023 +0400

    Generalized OpenCL handling

* Updates

* Fixes

* Update thirdparty/CMakeLists.txt

test

* Fixed build with CL/cl2.hpp

* Fixes

* Fixes

* Fixed compilation flags

* Fixed build with target OpenCL 120

* Don't use cache
2023-02-03 15:36:47 +00:00
Ilya Lavrenov
0970bc8fcf Moved legacy library and deprecated tests to GNA (#15244) 2023-01-25 11:36:22 +04:00
Tomasz Jankowski
988847f559 Transformation component transition to OV namespace (phase 4) (#13558)
* Use openvino pass graph_rewrite

* Replace use of ngraph::pass to ov::pass

* Remove ngraph::pass aliases

* Update after rebase

* Fix post merge conflicts

* Apply code style

* Apply code style

* Remove bypassing inclusion

* Apply code style
2023-01-25 01:02:35 +03:00
Vladimir Paramuzov
2201a5f83e Added common ov::execution_mode hint (#15048)
* [GPU] Added common exec mode hint and gpu support

* Add ov::inference precision and update usages. Deprecate ov::hint::inference_precision property

* [GPU] Execution mode tests and fixes

* Fixed code style

* Moved execution_mode test to common. Fixes for python API

* Remove deprecations for hint::inference_precision and just keep both

* Fix test
2023-01-18 20:13:00 +04:00
Ilya Lavrenov
c4eeecfec5 Remove myriad plugin (#15131)
* Removed Intel MYRIAD plugin

* Removed Intel MYIAD from CI files

* Removed Intel MYRIAD from cmake folder

* Removed MYRIAD, HDDL from samples

* Removed MYRIAD, HDDL from scripts folder

* Removed MYRIAD from bindings folder (C and Python API)

* Removed MYRIAD tests

* Removed MYRIAD from tests folder

* Removed MYRIAD from tools folder

* Removed HDDL (VAD), MYRIAD (NSC2) from documentation

* Fixed build for AUTO unit tests

* Fixed clang code style

* Fixed comments and issues

* removed MYRIAD from AUTO tests

* Disabled MULTI tests in CI

* Update docs/OV_Runtime_UG/auto_device_selection.md

Co-authored-by: Yuan Xu <yuan1.xu@intel.com>

* Update docs/get_started/get_started_demos.md

Co-authored-by: Yuan Xu <yuan1.xu@intel.com>

* Update docs/OV_Runtime_UG/deployment/local-distribution.md

Co-authored-by: Yuan Xu <yuan1.xu@intel.com>

Co-authored-by: Yuan Xu <yuan1.xu@intel.com>
2023-01-18 15:19:44 +04:00
Ilya Churaev
0c9abf43a9 Updated copyright headers (#15124)
* Updated copyright headers

* Revert "Fixed linker warnings in docs snippets on Windows (#15119)"

This reverts commit 372699ec49.
2023-01-16 11:02:17 +04:00
Ilya Lavrenov
53e9d7acea Fixed compilation on Linux (#15127) 2023-01-16 11:01:33 +04:00
Ilya Lavrenov
372699ec49 Fixed linker warnings in docs snippets on Windows (#15119) 2023-01-16 07:29:44 +04:00
Julio Morero
ee58a7aa38 Change device order in MULTI python snippet (#15057) 2023-01-12 20:27:58 +04:00
Giovanni Saponaro
e07bd74f38 Fix inference pipeline C++ doc: refer to the correct input blob (#14709) 2023-01-05 01:20:05 +04:00
Mateusz Tabaka
90d3448d1b Update frontend extension docs with python examples (#14778)
Ticket: 98857
2022-12-23 07:44:25 +01:00
Anton Voronov
63e0b47a7d [DOCS][CPU] Added sparse weights decompression feature description (#14730)
* [DOCS][CPU] Added sparse weights decompression feature description

* sparsity documentation fix

* fixed code snippet names

* moved code snippets into cpu folder

* review changes

* review fixes 2

* review fixes 3

* code style fix

* small fix
2022-12-20 22:15:44 +01:00
Maksim Kutakov
1f84eabcec [CPU][DOCS] Remove recommendation to use partially defined shapes (#14674) 2022-12-19 21:49:46 +04:00
Xuejun Zhai
19d9ecd1ba [C API][DOC] fix error c 2.0 api in 1.0 doc (#14588)
Signed-off-by: xuejun <Xuejun.Zhai@intel.com>

Signed-off-by: xuejun <Xuejun.Zhai@intel.com>
2022-12-13 06:52:26 +04:00
Vladimir Paramuzov
fdf504738d [GPU] Replace cl2.hpp with opencl.hpp in cmake search for docs and benchmark_app (#14158) 2022-11-25 11:37:51 +04:00
Xuejun Zhai
0bc67ce1a7 [C API][DOC][PPP] Extend user documentation for new preproprocess api (#14008)
* [C API][DOC] correct the doxy group for ppp

Signed-off-by: xuejun <Xuejun.Zhai@intel.com>

* [C API][DOC] improve the C API doc with new PPP interface

Signed-off-by: xuejun <Xuejun.Zhai@intel.com>

Signed-off-by: xuejun <Xuejun.Zhai@intel.com>
2022-11-17 19:23:08 +03:00
Ilya Churaev
6da7ee3431 Updated documentation for serialize model (#14022) 2022-11-16 14:50:59 +04:00
Mateusz Tabaka
e752ff753b Simplify dequantization sub-graph detection (#13906)
DisableConvertConstantFoldingOnConstPath was renamed to MarkDequantizationSubgraph
and modified such that it also marks Subtract and Multiply from dequantization subgraph
with 'DequantizationNode' attribute.

Ticket: 65489

Co-authored-by: Michal Lukaszewski <michal.lukaszewski@intel.com>
2022-11-16 14:30:24 +04:00
Vladimir Paramuzov
fd961d6e56 [GPU] Allow devices which don't support OOO queue (#13900) 2022-11-15 17:51:09 +04:00
Ilya Churaev
63e24773ee Added documentation for get_layout API (#13937)
* Added documentation for get_layout API

* Fixed typo
2022-11-10 18:10:07 +03:00
Vladimir Paramuzov
ced0eebd13 [GPU] Silence ocl include pragma message (#13789) 2022-11-03 18:02:23 +04:00
Xuejun Zhai
1cc4c17daf [C API DOC][MIGRATION] Add C API migration info from 1.0 to 2.0 (#13424)
* [C API DOC] Add C API doc about migration from 1.0 to 2.0

Signed-off-by: xuejun <Xuejun.Zhai@intel.com>

* [C API DOC] clarify migration related docs

Signed-off-by: xuejun <Xuejun.Zhai@intel.com>

* [C API DOC] add call inputs_aligned/outputs_aligned

Signed-off-by: xuejun <Xuejun.Zhai@intel.com>

Signed-off-by: xuejun <Xuejun.Zhai@intel.com>
Co-authored-by: Ilya Churaev <ilya.churaev@intel.com>
2022-10-25 10:59:59 +04:00
Ilya Churaev
85d78a3ef0 Build code snippets together with doc (#13541)
* Build code snippets together with doc

* Added separate step for code snippets

* Try to enable CI step

* Disabe myriad

* Try to fix Windows

* Detect number of cores

* Reduced build time of code snippets
2022-10-21 06:29:19 +03:00
Xuejun Zhai
b7d956b2df [DOC][C API][DYNAMIC SHAPE] Add doc for C API dynamic shape (#13397)
* [C API DOC] C API user guide for dynamic shape

Signed-off-by: xuejun <Xuejun.Zhai@intel.com>

* [C API DOC][Dynamic shape] add resource free for dynamic shape doc

Signed-off-by: xuejun <Xuejun.Zhai@intel.com>

* [C API DOC][Dynamic shape] free char *

Signed-off-by: xuejun <Xuejun.Zhai@intel.com>

* [C API DOC][Dynamic shape] clarify code

Signed-off-by: xuejun <Xuejun.Zhai@intel.com>

Signed-off-by: xuejun <Xuejun.Zhai@intel.com>
Co-authored-by: River Li <river.li@intel.com>
2022-10-20 07:04:14 +04:00
Vladislav Golubev
a25c2ba665 [LPT] Precision restrictions extending (#13172)
* [LPT] Precision restrictions extending

* Compilation error fixed

* Markup for SubgraphOps fixed

* cleanup

* Review fixes: removed vector<size_t> wrapper in PrecisionRestriction class

* Review fixes: added comments

* docs compilation fix
2022-10-19 12:29:32 +02:00
Xuejun Zhai
c638171853 [C API DOC] fix mac doc build error caused by ov_output_const_port_t (#13521)
* [C API DOC] fix mac doc build error caused by ov_output_const_port_t vs ov_output_port_t

Signed-off-by: xuejun <Xuejun.Zhai@intel.com>

* [Only for Test] validate mac build error fix, need to revert before merge

Signed-off-by: xuejun <Xuejun.Zhai@intel.com>

* Revert "[Only for Test] validate mac build error fix, need to revert before merge"

This reverts commit 1082ab32ba.

Signed-off-by: xuejun <Xuejun.Zhai@intel.com>
2022-10-19 12:59:31 +04:00
Xuejun Zhai
830cc6ed73 [C API DOC] fix mac build error, caused by compiled model doesn's provide api to get input port with nan const (#13488)
Signed-off-by: xuejun <Xuejun.Zhai@intel.com>

Signed-off-by: xuejun <Xuejun.Zhai@intel.com>
2022-10-14 18:51:51 +04:00
Xuejun Zhai
4c329fbe5a [C API DOC] update C API user guide pipeline (#13290)
* [C API DOC] update C API user guide pipeline

Signed-off-by: xuejun <Xuejun.Zhai@intel.com>

* [C API DOC] C API user guide pipeline add Link & Build part for C

Signed-off-by: xuejun <Xuejun.Zhai@intel.com>

* [C API DOC] C API user guide pipeline add objects release for C

Signed-off-by: xuejun <Xuejun.Zhai@intel.com>

* [C API DOC] C API user guide pipeline clear annotates

Signed-off-by: xuejun <Xuejun.Zhai@intel.com>

* [C API DOC] fix build error

Signed-off-by: xuejun <Xuejun.Zhai@intel.com>

* [C API DOC] Reconstruct the guide about integration with OpenVINO Runtime for C

Signed-off-by: xuejun <Xuejun.Zhai@intel.com>

* Revert "[C API DOC] Reconstruct the guide about integration with OpenVINO Runtime for C"

This reverts commit 9552054e7e.

* [C API DOC] split project structure & Cmake

Signed-off-by: xuejun <Xuejun.Zhai@intel.com>

* [C API DOC] using correct input shape

Signed-off-by: xuejun <Xuejun.Zhai@intel.com>

* [C API DOC] align with C++ code example

Signed-off-by: xuejun <Xuejun.Zhai@intel.com>

* [C API DOC] fix build error

Signed-off-by: xuejun <Xuejun.Zhai@intel.com>

Signed-off-by: xuejun <Xuejun.Zhai@intel.com>
2022-10-14 07:27:40 +04:00
Ilya Churaev
8a9c19e3eb Warning as error for Windows (#13291)
* parent 6e7016ccda
author Ilya Churaev <ilya.churaev@intel.com> 1664281499 +0400
committer Ilya Churaev <ilya.churaev@intel.com> 1664510018 +0400

Fixed warnings on local machine

* Added CMAKE_COMPILE_WARNING_AS_ERROR usage

* Fixed style

* Fixed merge conflicts

* Fixed typo

* Fixed myriad build for macOS

* Fixed warning

* Fixed tests

* Disabled incorrect test

* Try to fix linux tests

* Revert "Try to fix linux tests"

This reverts commit 29224c93ff.

* Fixed tests

* Revert logic with incorrect cast

* Fixed log softmax

* Disable warning as error for cuda

* Try to fix inference_engine_s

* Fixed cmake

* Revert "Fixed cmake"

This reverts commit 87e9e4e674.

* Revert "Try to fix inference_engine_s"

This reverts commit a1adca8b05.

* WA for static symbols in inference_engine_s test library

* Fixed code style

* Fixed static definition for master

* Revert "Fixed static definition for master"

This reverts commit 20d00d215a.

* Revert "Fixed code style"

This reverts commit 0eb2362543.

* Revert "WA for static symbols in inference_engine_s test library"

This reverts commit 75ef86a79d.

* Fixed linker issue for Windows

* Disable WaE by default

* Disable warning as error in the developer package

* Try to fix dev package

* Try to fix Windows Jenkins

* Revert old behavior for tread_warn_as_err variable
2022-10-06 13:44:21 +04:00
Ilya Churaev
943f77d9ec Move template plugin to plugin folder (#13269)
* Moved template_plugin

* Move template extension

* Changed cmake configs

* Try to fix build

* Moved plugin to standalone folder and fixed build

* Try to fix doc

* Try to fix doc

* Update CMakeLists.txt

* Moved extensions to src/core
2022-10-03 15:47:20 +04:00