* scripts/install_dependencies/install_NEO_OCL_driver.sh: code style (#15484) * scripts/install_dependencies/install_NEO_OCL_driver.sh: code style * scripts/install_dependencies/install_NEO_OCL_driver.sh: code style warnings * scripts/install_dependencies/install_NEO_OCL_driver.sh: add missing ! * [PyOV] Fix UserWarning in setup.py (#15334) * [Tools] Support NumPy 1.24 (#14728) * [Tools] Avoid use of NumPy deprecated types Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com> * Revert "[Tools] Avoid use of NumPy deprecated types" This reverts commit21ffc167d1. * Move to 1.24 Numpy Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com> * [PyOV] Change default opset9->opset10 (#15238) * Meiyang/paddle 2.4 (#15177) * PaddlePaddle 2.4.1 support * Update src/frontends/paddle/tests/requirements.txt lowering PDPD version * update paddlepaddle to 2.4.0 Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com> * Update README.md (#15504) Just a small typo. * Throw an exceptions in case of incorrect pointers in Model creation (#15492) * [C++] Fix coverity issues (#15348) * [C++] Fix coverity issues * Merge master with this branch * [C++] Reapply changes that got eaten during merge * Update samples/cpp/benchmark_app/main.cpp Co-authored-by: Ilya Churaev <ilyachur@gmail.com> * [C++] Add missing const keyword --------- Co-authored-by: Ilya Churaev <ilyachur@gmail.com> * [Tests] Fix rest of NumPy deprecated types (#15245) Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com> Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com> * Bump paddlepaddle from 2.4.0 to 2.4.1 in /src/frontends/paddle/tests (#15190) Bumps [paddlepaddle](https://github.com/paddlepaddle/paddle) from 2.4.0 to 2.4.1. - [Release notes](https://github.com/paddlepaddle/paddle/releases) - [Changelog](https://github.com/PaddlePaddle/Paddle/blob/develop/RELEASE.md) - [Commits](https://github.com/paddlepaddle/paddle/compare/v2.4.0...v2.4.1) --- updated-dependencies: - dependency-name: paddlepaddle dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * [nGraph]: fix fused names for ShuffleChannelsFusion transformation (#15150) * [nGraph]: fix fused names for ShuffleChannelsFusion transformation * Review comments * [MO] Activate pylint checker in CI (#15012) * Fixed mo workflow * Update pylint config with import os * Update .github/workflows/mo.yml * Install extras for pylint checker * Fix pylint reported errors * Add torch to the environment * Add torch into whitelist * Ignore torch * Localize torch code * Fix syntax error * Remove MO unit-test from Pylint flow Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com> * [PyOV] Allow `numpy` patch releases (#15265) * Update reqs * test, minor change * [LPT] clang merge warning fix (#15502) * Trying to fix debian packages (#15508) * Trying to fix debian packages * Added conflicts for samples for RPM * updated mo/requirements.txt * updated python/requirements.txt * updated compatibility/requirements.txt * Ipdated more places * Revert "scripts/install_dependencies/install_NEO_OCL_driver.sh: code style (#15484)" This reverts commit36106d9c45. * Apply suggestions from code review * Added policy --------- Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Zlobin Vladimir <vladimir.zlobin@intel.com> Co-authored-by: Jan Iwaszkiewicz <jan.iwaszkiewicz@intel.com> Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com> Co-authored-by: Anastasia Kuporosova <anastasia.kuporosova@intel.com> Co-authored-by: mei, yang <yang.mei@intel.com> Co-authored-by: kyo <113977534+kyo-takano@users.noreply.github.com> Co-authored-by: Ilya Churaev <ilya.churaev@intel.com> Co-authored-by: Piotr Krzemiński <piotr.krzeminski@intel.com> Co-authored-by: Ilya Churaev <ilyachur@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Nadezhda Ageeva <nadezhda.ageeva@intel.com> Co-authored-by: Przemyslaw Wysocki <przemyslaw.wysocki@intel.com> Co-authored-by: Edward Shogulin <edward.shogulin@intel.com>
OpenVINO Python API
OpenVINO Python API is a part of the OpenVINO library. The component is responsible for:
- Bindings of OpenVINO - allowing users to use the OpenVINO library in their Python code. Python API provides bindings to basic and advanced APIs from OpenVINO Runtime.
- Extending OpenVINO with pythonic features - on top of direct translations from C++, Python API component:
- Adds specific extensions to support numpy-based data.
- Provides support for external frameworks inputs.
- Provides shortcuts and helpers with more pythonic design.
- Allows to apply advanced concepts, like shared memory, to take full advantage of OpenVINO.
OpenVINO Python API uses the common codestyle checks which are adjusted to project needs.
Key contacts
If you have any questions, feature requests or want us to review your PRs, send us a message or ping us on GitHub via openvino-ie-python-api-maintainers. You can always directly contact everyone from this group.
Components
OpenVINO PYTHON API has the following structure:
- docs - folder that contains developer documentation and code examples.
- src - folder with all source files for Python API.
- src/compatibility - sources for compatibility API, including older modules like
ngraphandopenvino.inference_engine. - src/openvino - Python sources for current API.
- src/pyopenvino - C++ sources for current API.
- src/compatibility - sources for compatibility API, including older modules like
- tests - tests directory for current API.
- tests_compatibility - tests directory for compatibility API.
- thirdparty - folder that contains third-party modules like
pybind11. - wheel - wheel-specific directory that contains all specific requirements and files used during wheel creation.
Tutorials
If you want to contribute to OpenVINO Python API, here is the list of learning materials and project guidelines:
- How to contribute
- How to extend OpenVINO Python API
- How to test OpenVINO Python API
- How to upgrade local Python version