openvino/src/bindings/python
Roman Kazantsev 37f61551a3
[TF FE][TF Hub] Use ConcreteFunc input and output signatures (#19690)
* [TF Hub][TF FE] Preserve outputs of ConcreteFunction from signature and their names

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

* Fix naming and complete TODO

* Apply code-review: extra assert to check input_signature

* Fix inputs for fw

* Fix input data preparation and import convert_model

* Correct variable detection among all inputs

* Handle special input and output signature

* Fix adjust_saved_model_names

---------

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
2023-09-10 03:46:01 +00:00
..
docs [DOCS] Update PYTHONPATH in docs (#18961) 2023-08-03 11:46:34 +02:00
src [TF FE][TF Hub] Use ConcreteFunc input and output signatures (#19690) 2023-09-10 03:46:01 +00:00
tests [PyOV] clean up in tests (#19091) 2023-08-30 13:40:14 +02:00
tests_compatibility [PyOV] try to run add_extension_test (#18900) 2023-08-02 11:14:03 +04:00
thirdparty Added a WA for running Python API in debug mode (#18848) 2023-07-28 17:29:09 +04:00
wheel Add upper bound for setuptools (#19672) 2023-09-08 11:56:39 +04:00
.clang-format Rename runtime to src (#8842) 2021-11-27 11:28:25 +03:00
.gitignore [PyOV] Making offline_transformations a private module (#13213) 2022-09-28 18:38:52 +02:00
CMakeLists.txt resolve gil (#19631) 2023-09-06 10:04:52 +02:00
README.md [DOCS] Link adjustment for dev docs + fix to build.md CPU link for master (#17744) 2023-05-31 13:27:20 +04:00
constraints.txt Add upper bound for setuptools (#19672) 2023-09-08 11:56:39 +04:00
pyproject.toml [PYTHON API] Check new config (#11402) 2022-06-13 10:21:04 +02:00
requirements.txt Corrected telemetry imports, increased telemetry version in requirements. (#18712) 2023-07-22 02:38:43 +04:00
requirements_test.txt [PyOV] Add `sympy` dependency for torchvision preprocessor tests (#19112) 2023-08-11 12:03:59 +02:00
setup.cfg [PyOV] Add torchvision to OpenVINO preprocessing converter (#17934) 2023-08-02 16:44:30 +04:00

README.md

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.
  • 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:

See also