OpenVINO™ is an open source toolkit for optimizing and deploying AI inference
C++ aicomputer-visiondeep-learningdeploy-aidiffusion-modelsgenerative-aigood-first-issueinferencellm-inferencenatural-language-processingnlpopenvinooptimize-aiperformance-boostrecommendation-systemspeech-recognitionstable-diffusiontransformersyolo
[PyOV] Add GHA action to validate `.pyi` files in pre-commit (#29888)
Przemyslaw Wysocki33dcaa9ec0b3
diff --git a/.github/actions/validate_pyi_files/action.yml b/.github/actions/validate_pyi_files/action.ymlnew file mode 100644index 00000000000..a3c5065535c--- /dev/null+++ b/.github/actions/validate_pyi_files/action.yml@@ -0,0 +1,14 @@+name: 'Verify that Python stub .pyi files are up to date'+description: 'Generates .pyi files and compares them to the committed files'+runs:+ using: 'composite'+ steps:+ - name: Verify .pyi files+ shell: bash+ if: runner.os != 'Windows'+ run: |+ python3 action_root/src/bindings/python/scripts/generate_pyapi_stubs.py \+ "${{ runner.temp }}/generated_pyi_files"+ python3 action_root/.github/actions/validate_pyi_files/compare_pyi_files.py \+ "${{ runner.temp }}/generated_pyi_files" \+ "action_root/src/bindings/python/src"diff --git a/.github/actions/validate_pyi_files/compare_pyi_files.py b/.github/actions/validate_pyi_files/compare_pyi_files.pynew file mode 100644index 00000000000..4227767b5a1--- /dev/null+++ b/.github/actions/validate_pyi_files/compare_pyi_files.py@@ -0,0 +1,123 @@+# -*- coding: utf-8 -*-+# Copyright (C) 2018-2025 Intel Corporation+# SPDX-License-Identifier: Apache-2.0++# This script is used in the CI to compare the generated .pyi files with the committed .pyi files++import os+import sys+import filecmp+import difflib+from typing import List, Set++# Due to numerous issues with stub generation reproducibility we need some skips.+# The inconsistencies between generations most likely come from different environment/CMake setups.+SKIPS = [+ # This file contains constant.def_buffer(), which pybind11-stubgen generates methods for on CI+ # but not locally (__buffer__(), __release_buffer__())+ "openvino/_pyopenvino/op/__init__.pyi",++ # The IOType class sometimes has a docstring, breaking the CI check+ "openvino/tools/ovc/moc_frontend/extractor.pyi"+]++def find_pyi_files(directory: str) -> Set[str]:+ """Recursively find all .pyi files in a directory."""+ pyi_files: List[str] = []+ for root, _, files in os.walk(directory):+ for file in files:+ if file.endswith(".pyi"):+ relative_path = os.path.relpath(os.path.join(root, file), directory)+ pyi_files.append(relative_path)+ return set(pyi_files)+++def compare_pyi_files(generated_dir: str, committed_dir: str) -> None:+ """Compare .pyi files between two directories."""+ # Find all .pyi files in both directories+ generated_files: Set[str] = find_pyi_files(generated_dir)+ committed_files: Set[str] = find_pyi_files(committed_dir)++ # Assert that the number of .pyi files matches+ if len(generated_files) != len(committed_files):+ # TF FE stubs can be generated on not depending on the CMake flags in CI+ committed_files = {file for file in committed_files if not file.startswith("openvino/frontend/tensorflow")}++ # Check again after removal+ if len(generated_files) != len(committed_files):+ print(f"Error: Number of .pyi files does not match. "+ f"Generated (reference): {len(generated_files)}, Committed: {len(committed_files)}")+ if generated_files - committed_files:+ print(f"Files found only in generated (reference) files: {generated_files - committed_files}")+ if committed_files - generated_files:+ print(f"Files found only in committed files: {committed_files - generated_files}")+ sys.exit(1)++ # Assert that each file has a pair+ if generated_files != committed_files:+ if generated_files - committed_files:+ print(f"Error: One or more .pyi files are missing from the PR: {generated_files - committed_files}")+ if committed_files - generated_files:+ print(f"Error: One or more extra .pyi files are present in the PR: {committed_files - generated_files}")+ sys.exit(1)++ # Compare file contents+ outdated_files = []+ for relative_path in generated_files:+ if relative_path in SKIPS:+ continue+ generated_file: str = os.path.join(generated_dir, relative_path)+ committed_file: str = os.path.join(committed_dir, relative_path)+ if not filecmp.cmp(generated_file, committed_file, shallow=False):+ with open(generated_file, 'r') as gen_file, open(committed_file, 'r') as com_file:+ gen_lines = [line.lstrip() for line in gen_file.readlines()]+ com_lines = [line.lstrip() for line in com_file.readlines()]+ diff = list(difflib.unified_diff(+ gen_lines, com_lines,+ fromfile=f"Generated: {relative_path}",+ tofile=f"Committed: {relative_path}",+ lineterm=''+ ))+ if diff:+ changes = [+ line.lstrip('+- ') for line in diff+ if line.startswith(('+', '-')) # Changes only+ and not line.startswith(('+++ Committed:', '--- Generated:')) # Disregard diff headers+ ]+ if changes and not all(+ change.startswith(("import", "from", "__all__")) or # Import order is irrelevant+ change.startswith('"""') or # Ignore docstring changes+ change.strip() == "" # Ignore whitespace-only changes+ for change in changes+ ):+ outdated_files.append((relative_path, "".join(diff)))++ # Display all outdated files and their diffs+ if outdated_files:+ print("Error: The following stub files are outdated:")+ for relative_path, diff in outdated_files:+ print(f"\nOutdated file: {relative_path}")+ print(diff)+ sys.exit(1)++ print("All .pyi files match.")+ sys.exit(0)+++if __name__ == "__main__":+ if len(sys.argv) != 3:+ print("Usage: python compare_pyi_files.py <generated_dir> <committed_dir>")+ sys.exit(1)++ generated_dir: str = sys.argv[1]+ committed_dir: str = sys.argv[2]++ if not os.path.isdir(generated_dir):+ print(f"Error: Generated directory does not exist: {generated_dir}")+ sys.exit(1)++ if not os.path.isdir(committed_dir):+ print(f"Error: Committed directory does not exist: {committed_dir}")+ sys.exit(1)++ compare_pyi_files(generated_dir, committed_dir)diff --git a/.github/workflows/job_python_api_tests.yml b/.github/workflows/job_python_api_tests.ymlindex f68905e90ad..bf4631c7dd2 100644--- a/.github/workflows/job_python_api_tests.yml+++ b/.github/workflows/job_python_api_tests.yml@@ -72,6 +72,10 @@ jobs:sparse-checkout: |.github/actions/setup_python/action.yml.github/actions/install_ov_wheels/action.yml+ .github/actions/validate_pyi_files/action.yml+ .github/actions/validate_pyi_files/compare_pyi_files.py+ src/bindings/python/scripts/generate_pyapi_stubs.py+ src/bindings/python/**/*.pyisparse-checkout-cone-mode: falsepath: 'action_root'@@ -95,6 +99,10 @@ jobs:- name: Install Python API tests dependenciesrun: python3 -m pip install -r ${INSTALL_TEST_DIR}/tests/bindings/python/requirements_test.txt+ - name: Verify Python stub .pyi files+ uses: ./action_root/.github/actions/validate_pyi_files+ continue-on-error: true+## Tests#diff --git a/src/bindings/python/CMakeLists.txt b/src/bindings/python/CMakeLists.txtindex cceb51fd412..eacb2f8dadb 100644--- a/src/bindings/python/CMakeLists.txt+++ b/src/bindings/python/CMakeLists.txt@@ -415,7 +415,7 @@ if(OpenVINODeveloperPackage_FOUND)endif()# only for developers, skip on CI-if(NOT DEFINED ENV{CI_BUILD_DEV_TAG} AND NOT DEFINED CI_BUILD_NUMBER)+if(NOT (DEFINED ENV{CI} OR DEFINED ENV{TF_BUILD} OR DEFINED ENV{JENKINS_URL}))# check pybind11-stubgen packageexecute_process(COMMAND ${Python3_EXECUTABLE} -m pip show pybind11-stubgen@@ -423,7 +423,7 @@ if(NOT DEFINED ENV{CI_BUILD_DEV_TAG} AND NOT DEFINED CI_BUILD_NUMBER)RESULT_VARIABLE pybind11_stubgen_result)string(REGEX MATCH "Version: ([\\.0-9]+)" pybind11_stubgen_version "${pybind11_stubgen_info}")if(pybind11_stubgen_result OR NOT pybind11_stubgen_version)- message(FATAL_ERROR "pybind11-stubgen package is not installed or version is not detected. This package is necessary for developing Python API.")+ message(WARNING "pybind11-stubgen package is not installed or version is not detected. This package is necessary for developing Python API.")endif()# check pre-commit package@@ -432,7 +432,7 @@ if(NOT DEFINED ENV{CI_BUILD_DEV_TAG} AND NOT DEFINED CI_BUILD_NUMBER)RESULT_VARIABLE precommit_pkg_result)string(REGEX MATCH "Version: ([\\.0-9]+)" precommit_pkg_version "${precommit_pkg_info}")if(precommit_pkg_result OR NOT precommit_pkg_version)- message(FATAL_ERROR "pre-commit package is not installed or version is not detected. This package is necessary for developing Python API.")+ message(WARNING "pre-commit package is not installed or version is not detected. This package is necessary for developing Python API.")endif()# attach the pre-commit hook for Python stub generation@@ -442,7 +442,8 @@ if(NOT DEFINED ENV{CI_BUILD_DEV_TAG} AND NOT DEFINED CI_BUILD_NUMBER)OUTPUT_STRIP_TRAILING_WHITESPACEERROR_STRIP_TRAILING_WHITESPACE)if(NOT precommit_install_result EQUAL "0")- message(FATAL_ERROR "pre-commit hook install failed with error: ${precommit_install_error}")+ message(WARNING "Python stub generation pre-commit hook install failed with error: ${precommit_install_error}. It is necessary for developing Python API.")+ else()+ message(STATUS "pre-commit hook for Python API stub generation has been installed")endif()- message(STATUS "pre-commit hook for Python API stub generation has been installed")endif()diff --git a/src/bindings/python/scripts/generate_pyapi_stubs.bat b/src/bindings/python/scripts/generate_pyapi_stubs.batdeleted file mode 100644index a073b4b46a0..00000000000--- a/src/bindings/python/scripts/generate_pyapi_stubs.bat+++ /dev/null@@ -1,126 +0,0 @@-@echo off--REM Copyright (C) 2018-2025 Intel Corporation-REM SPDX-License-Identifier: Apache-2.0--setlocal EnableDelayedExpansion--REM Invalid expressions-set "invalid_expressions=ov::op::v1::Add ov::op::v1::Divide ov::op::v1::Multiply ov::op::v1::Subtract ov::op::v1::Divide ov::Node ov::Input<ov::Node> ov::descriptor::Tensor <Type: 'undefined'> ov::Output<ov::Node const> ov::float16 ov::EncryptionCallbacks ov::streams::Num <Dimension: dynamic ov::pass::pattern::PatternSymbolValue <RTMap>"--REM Invalid identifiers-set "invalid_identifiers=<locals>"--REM Unresolved names-set "unresolved_names=InferRequestWrapper RemoteTensorWrapper capsule VASurfaceTensorWrapper _abc._abc_data openvino._ov_api.undefined_deprecated InputCutInfo ParamData"--REM Function to escape characters for regex-:escape_characters-set "escaped_error=%~1"-set "escaped_error=!escaped_error:\=\\!"-set "escaped_error=!escaped_error:/=\/!"-set "escaped_error=!escaped_error:$=\$!"-set "escaped_error=!escaped_error:*=\*!"-set "escaped_error=!escaped_error:.=\.!"-set "escaped_error=!escaped_error:^=\^!"-set "escaped_error=!escaped_error:|=\|!"-exit /b 0--REM Create regex pattern-set "invalid_expressions_regex="-for %%e in (%invalid_expressions%) do (- call :escape_characters "%%e"- set "invalid_expressions_regex=!invalid_expressions_regex!.*!escaped_error!.*|"-)-set "invalid_expressions_regex=%invalid_expressions_regex:~0,-1%"--set "invalid_identifiers_regex="-for %%e in (%invalid_identifiers%) do (- call :escape_characters "%%e"- set "invalid_identifiers_regex=!invalid_identifiers_regex!.*!escaped_error!.*|"-)-set "invalid_identifiers_regex=%invalid_identifiers_regex:~0,-1%"--set "unresolved_names_regex="-for %%e in (%unresolved_names%) do (- call :escape_characters "%%e"- set "unresolved_names_regex=!unresolved_names_regex!.*!escaped_error!.*|"-)-set "unresolved_names_regex=%unresolved_names_regex:~0,-1%"--REM Set the output directory-if "%~1"=="" (- set "output_dir=%~dp0.."-) else (- set "output_dir=%~1"-)--REM Generate stubs for C++ bindings-python -m pybind11_stubgen --output-dir "%output_dir%" --root-suffix "" --ignore-invalid-expressions "%invalid_expressions_regex%" --ignore-invalid-identifiers "%invalid_identifiers_regex%" --ignore-unresolved-names "%unresolved_names_regex%" --print-invalid-expressions-as-is --numpy-array-use-type-var --exit-code openvino--REM Check if the command was successful-if %errorlevel% neq 0 (- echo Error: pybind11-stubgen failed.- exit /b 1-)--REM Check if the stubs were actually generated-if exist "%output_dir%\openvino" (- echo Stub files generated successfully.-) else (- echo No stub files were generated.- exit /b 1-)--REM Workaround for pybind11-stubgen issue where it doesn't import some modules for stubs generated from .py files-REM Ticket: 163225-set "pyi_file=%output_dir%\openvino\_ov_api.pyi"-if exist "%pyi_file%" (- powershell -Command "(gc '%pyi_file%') -replace '(^.*$)', 'import typing`r`nimport pathlib`r`n$1' | Out-File -encoding ASCII '%pyi_file%'"-) else (- echo File %pyi_file% not found.- exit /b 1-)--REM Find all changed .pyi files-for /f "tokens=*" %%f in ('git diff --name-only ^| findstr /r "\.pyi$"') do (- REM Process each changed .pyi file- powershell -Command "(gc '%%f') -replace '<function _get_node_factory at 0x[0-9a-fA-F]+>', '<function _get_node_factory at memory_address>' | Out-File -encoding ASCII '%%f'"- powershell -Command "(gc '%%f') -replace '__version__: str = ''[^'']*''', '__version__: str = ''version_string''' | Out-File -encoding ASCII '%%f'"- powershell -Command "(gc '%%f') -replace '<function <lambda> at 0x[0-9a-fA-F]+>', '<function <lambda> at memory_address>' | Out-File -encoding ASCII '%%f'"- powershell -Command "(gc '%%f') -replace ': \.\.\.', ': typing.Any' | Out-File -encoding ASCII '%%f'"- powershell -Command "(gc '%%f') -replace 'pass: MatcherPass', 'matcher_pass: MatcherPass' | Out-File -encoding ASCII '%%f'"- REM Sort consecutive import statements at the beginning of the file- powershell -Command @"- \$content = Get-Content '%%f'- \$in_imports = \$false- \$start = 0- \$imports = @()-- foreach (\$line in \$content) {- if (\$line -match '^from ' -or \$line -match '^import ') {- if (-not \$in_imports) {- \$start = \$true- }- \$in_imports = \$true- \$imports += \$line- } else {- if (\$in_imports) {- \$imports = \$imports | Sort-Object- \$imports | Out-File -Append -Encoding ASCII '%%f'- \$in_imports = \$false- \$imports = @()- }- Add-Content -Path '%%f' -Value \$line- }- }-- if (\$in_imports) {- \$imports = \$imports | Sort-Object- \$imports | Out-File -Append -Encoding ASCII '%%f'- }- Add-Content -Path '%%f' -Value '# type: ignore'-"@-)--endlocaldiff --git a/src/bindings/python/scripts/generate_pyapi_stubs.py b/src/bindings/python/scripts/generate_pyapi_stubs.pynew file mode 100644index 00000000000..802b53c6060--- /dev/null+++ b/src/bindings/python/scripts/generate_pyapi_stubs.py@@ -0,0 +1,101 @@+import os+import re+import subprocess+from pathlib import Path+import sys++# Constants+INVALID_EXPRESSIONS = [+ "ov::op::v1::Add", "ov::op::v1::Divide", "ov::op::v1::Multiply", "ov::op::v1::Subtract", "ov::op::v1::Divide",+ "ov::Node", "ov::Input<ov::Node>", "ov::descriptor::Tensor", "<Type: 'undefined'>", "ov::Output<ov::Node const>",+ "ov::float16", "ov::EncryptionCallbacks", "ov::streams::Num", "ov::pass::pattern::PatternSymbolValue",+ "<Dimension:", "<RTMap>", "<Type: 'dynamic'>"+]+INVALID_IDENTIFIERS = ["<locals>"]+UNRESOLVED_NAMES = [+ "InferRequestWrapper", "RemoteTensorWrapper", "capsule", "VASurfaceTensorWrapper", "_abc._abc_data",+ "openvino._ov_api.undefined_deprecated", "InputCutInfo", "ParamData"+]++def create_regex_pattern(errors):+ return "|".join([re.escape(error) for error in errors])++def sanitize_file(file_path):+ with open(file_path, 'r') as file:+ content = file.readlines()++ content = [re.sub(r"<function _get_node_factory at 0x[0-9a-fA-F]+>", "<function _get_node_factory at memory_address>", line) for line in content]+ content = [re.sub(r"__version__: str = '[^']*'", "__version__: str = 'version_string'", line) for line in content]+ content = [re.sub(r"<function <lambda> at 0x[0-9a-fA-F]+>", "<function <lambda> at memory_address>", line) for line in content]+ content = [re.sub(r": \.\.\.", ": typing.Any", line) for line in content]+ content = [re.sub(r"pathlib\._local\.Path", "pathlib.Path", line) for line in content]+ content = [re.sub(r"pass: MatcherPass", "matcher_pass: MatcherPass", line) for line in content]++ # Sort imports+ imports = [line for line in content if line.startswith("from ") or line.startswith("import ")]+ non_imports = [line for line in content if not (line.startswith("from ") or line.startswith("import "))]+ sorted_imports = sorted(imports)++ sorted_imports.insert(0, "# type: ignore\n")++ with open(file_path, 'w') as file:+ file.writelines(sorted_imports + non_imports)++def main():+ if len(sys.argv) > 1:+ output_dir = Path(sys.argv[1])+ else:+ output_dir = Path(__file__).parent.parent / "src"+ output_dir = output_dir.resolve()++ invalid_expressions_regex = create_regex_pattern(INVALID_EXPRESSIONS)+ invalid_identifiers_regex = create_regex_pattern(INVALID_IDENTIFIERS)+ unresolved_names_regex = create_regex_pattern(UNRESOLVED_NAMES)++ try:+ subprocess.run([+ "python", "-m", "pybind11_stubgen",+ "--output-dir", str(output_dir),+ "--root-suffix", "",+ "--ignore-invalid-expressions", invalid_expressions_regex,+ "--ignore-invalid-identifiers", invalid_identifiers_regex,+ "--ignore-unresolved-names", unresolved_names_regex,+ "--numpy-array-use-type-var",+ "--exit-code",+ "openvino"+ ], check=True)+ except subprocess.CalledProcessError as e:+ print(f"Error: pybind11-stubgen failed with error: {e}")+ exit(1)++ # Workaround for pybind11-stubgen issue where it's missing some imports+ pyi_file = output_dir / "openvino/_ov_api.pyi"+ if pyi_file.exists():+ with open(pyi_file, 'r+') as file:+ content = file.readlines()+ content.insert(1, "import typing\n")+ content.insert(2, "import pathlib\n")+ file.seek(0)+ file.writelines(content)+ else:+ print(f"File {pyi_file} not found.")+ exit(1)++ pyi_file = output_dir / "openvino/tools/ovc/convert_impl.pyi"+ if pyi_file.exists():+ with open(pyi_file, 'r+') as file:+ content = file.readlines()+ content = [line for line in content if not line.startswith("tf_frontend_with_python_bindings_installed: bool")]+ file.seek(0)+ file.writelines(content)+ file.truncate()+ else:+ print(f"File {pyi_file} not found.")+ exit(1)++ # Process each changed .pyi file+ for file_path in output_dir.rglob("*.pyi"):+ sanitize_file(file_path)++if __name__ == "__main__":+ main()diff --git a/src/bindings/python/scripts/generate_pyapi_stubs.sh b/src/bindings/python/scripts/generate_pyapi_stubs.shdeleted file mode 100755index 3c929fc1a7b..00000000000--- a/src/bindings/python/scripts/generate_pyapi_stubs.sh+++ /dev/null@@ -1,142 +0,0 @@-#!/bin/bash--# Copyright (C) 2018-2025 Intel Corporation-# SPDX-License-Identifier: Apache-2.0--# When removing xfails remember to remove them from .bat script as well-invalid_expressions=(- # The classes bindings' will be soon added to pyopenvino. Ticket: 163077- "ov::op::v1::Add"- "ov::op::v1::Divide"- "ov::op::v1::Multiply"- "ov::op::v1::Subtract"- "ov::op::v1::Divide"-- # Circular dependency Input/Output/Node/Tensor. Ticket: 163078- "ov::Node"- "ov::Input<ov::Node>"- "ov::descriptor::Tensor"- "<Type: 'undefined'>"- "ov::Output<ov::Node const>"-- # New bindings required, ticket: 163094- "ov::float16"- "ov::EncryptionCallbacks"- "ov::streams::Num"- "ov::pass::pattern::PatternSymbolValue"-- # Other issues, ticket: 163094- "<Dimension:"- "dynamic"- "<RTMap>"-)--invalid_identifiers=(- # Ticket: 163093- "<locals>"-)--unresolved_names=(- # Circular dependencies, ticket: 163078- "InferRequestWrapper"-- # Other issues, ticket: 163094- "RemoteTensorWrapper"- "capsule"- "VASurfaceTensorWrapper"- "_abc._abc_data"- "openvino._ov_api.undefined_deprecated"- "InputCutInfo"- "ParamData"-)--create_regex_pattern() {- local errors=("$@")- local regex_pattern=""-- for error in "${errors[@]}"; do- escaped_error=$(printf '%s\n' "$error" | sed -e 's/[]\/$*.^|[]/\\&/g')- regex_pattern+=".*$escaped_error.*|"- done- regex_pattern="${regex_pattern%|}"- echo "$regex_pattern"-}--invalid_expressions_regex=$(create_regex_pattern "${invalid_expressions[@]}")-invalid_identifiers_regex=$(create_regex_pattern "${invalid_identifiers[@]}")-unresolved_names_regex=$(create_regex_pattern "${unresolved_names[@]}")--# Set the output directory-if [ -z "$1" ]; then- output_dir="$(dirname "$0")/../src"-else- output_dir="$1"-fi--# Generate stubs for C++ bindings-if ! python -m pybind11_stubgen \- --output-dir "$output_dir" \- --root-suffix "" \- --ignore-invalid-expressions "$invalid_expressions_regex" \- --ignore-invalid-identifiers "$invalid_identifiers_regex" \- --ignore-unresolved-names "$unresolved_names_regex" \- --numpy-array-use-type-var \- --exit-code \- openvino; then- echo "Error: pybind11-stubgen failed."- exit 1-fi--# Workaround for pybind11-stubgen issue where it doesn't import some modules for stubs generated from .py files-# Ticket: 163225-pyi_file="$output_dir/openvino/_ov_api.pyi"-if [ -f "$pyi_file" ]; then- sed -i '2i import typing' "$pyi_file"- sed -i '2i import pathlib' "$pyi_file"-else- echo "File $pyi_file not found."- exit 1-fi--# Find all changed .pyi files-changed_files=$(git diff --name-only | grep '\.pyi$')-# Process each changed .pyi file-for file in $changed_files; do- sed -i 's/<function _get_node_factory at 0x[0-9a-fA-F]\+>/<function _get_node_factory at memory_address>/' "$file"- sed -i "s/__version__: str = '[^']*'/__version__: str = 'version_string'/" "$file"- sed -i 's/<function <lambda> at 0x[0-9a-fA-F]\{1,\}>/<function <lambda> at memory_address>/g' "$file"- sed -i 's/: \.\.\./: typing.Any/g' "$file"- sed -i 's/pass: MatcherPass/matcher_pass: MatcherPass/g' "$file"- # Sort consecutive import statements- awk '- BEGIN { in_imports = 0; }- /^from / || /^import / {- if (in_imports == 0) {- start = NR;- }- in_imports++;- imports[in_imports] = $0;- next;- }- {- if (in_imports > 0) {- for (i = 1; i <= in_imports; i++) {- print imports[i] | "sort";- }- close("sort");- in_imports = 0;- }- print;- }- END {- if (in_imports > 0) {- for (i = 1; i <= in_imports; i++) {- print imports[i] | "sort";- }- close("sort");- }- }- ' "$file" > "$file.sorted"- mv "$file.sorted" "$file"- sed -i '1i # type: ignore' "$file"-donediff --git a/src/bindings/python/scripts/stub_generation_precommit.yaml b/src/bindings/python/scripts/stub_generation_precommit.yamlindex f715679437b..af55159bf3a 100644--- a/src/bindings/python/scripts/stub_generation_precommit.yaml+++ b/src/bindings/python/scripts/stub_generation_precommit.yaml@@ -5,18 +5,14 @@ repos:name: Generate .pyi fileslanguage: systementry: >- bash -c 'if [[ "$OSTYPE" == "msys" ]]; then- "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/src/bindings/python/scripts/generate_pyapi_stubs.bat";- else- "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/src/bindings/python/scripts/generate_pyapi_stubs.sh";- fi;+ bash -c '+ $(which python) "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/src/bindings/python/scripts/generate_pyapi_stubs.py";if [ $? -ne 0 ]; thenecho "Stub generation failed. Aborting commit.";exit 1;fi;-git add ./*.pyi'- files: .*src/bindings/python/.*+ files: .*src/bindings/python/.*|.*tools/ovc.*pass_filenames: falseverbose: truestages: [pre-commit]diff --git a/src/bindings/python/src/openvino/__init__.pyi b/src/bindings/python/src/openvino/__init__.pyiindex 64337fb47b8..9ae50325384 100644--- a/src/bindings/python/src/openvino/__init__.pyi+++ b/src/bindings/python/src/openvino/__init__.pyi@@ -1,11 +1,12 @@# type: ignore-from __future__ import annotations+from . import _op_base+from . import _ov_api+from . import _pyopenvinofrom . import exceptionsfrom . import experimentalfrom . import frontendfrom . import helpersfrom . import op-from . import _op_basefrom . import opset1from . import opset10from . import opset11@@ -22,22 +23,19 @@ from . import opset6from . import opset7from . import opset8from . import opset9-from . import _ov_apifrom . import package_utilsfrom . import preprocessfrom . import properties-from . import _pyopenvinofrom . import toolsfrom . import utils+from __future__ import annotationsfrom openvino._op_base import Opfrom openvino._ov_api import AsyncInferQueuefrom openvino._ov_api import CompiledModel-from openvino._ov_api import compile_modelfrom openvino._ov_api import Corefrom openvino._ov_api import InferRequestfrom openvino._ov_api import Model-from openvino.package_utils import _add_openvino_libs_to_search_path-from openvino.package_utils import LazyLoader+from openvino._ov_api import compile_modelfrom openvino._pyopenvino import AxisSetfrom openvino._pyopenvino import AxisVectorfrom openvino._pyopenvino import ConstOutput@@ -46,25 +44,18 @@ from openvino._pyopenvino import CoordinateDifffrom openvino._pyopenvino import Dimensionfrom openvino._pyopenvino import DiscreteTypeInfofrom openvino._pyopenvino import Extension-from openvino._pyopenvino import get_batch-from openvino._pyopenvino import get_versionfrom openvino._pyopenvino import Inputfrom openvino._pyopenvino import Layout-from openvino._pyopenvino import layout_helpersfrom openvino._pyopenvino import Node+from openvino._pyopenvino import OVAnyfrom openvino._pyopenvino import OpExtensionfrom openvino._pyopenvino import Output-from openvino._pyopenvino import OVAnyfrom openvino._pyopenvino import PartialShapefrom openvino._pyopenvino import ProfilingInfo+from openvino._pyopenvino import RTMapfrom openvino._pyopenvino import RemoteContextfrom openvino._pyopenvino import RemoteTensor-from openvino._pyopenvino import RTMap-from openvino._pyopenvino import save_model-from openvino._pyopenvino import serialize-from openvino._pyopenvino import set_batchfrom openvino._pyopenvino import Shape-from openvino._pyopenvino import shutdownfrom openvino._pyopenvino import Stridesfrom openvino._pyopenvino import Symbolfrom openvino._pyopenvino import Tensor@@ -72,6 +63,15 @@ from openvino._pyopenvino import Typefrom openvino._pyopenvino import VAContextfrom openvino._pyopenvino import VASurfaceTensorfrom openvino._pyopenvino import Version+from openvino._pyopenvino import get_batch+from openvino._pyopenvino import get_version+from openvino._pyopenvino import layout_helpers+from openvino._pyopenvino import save_model+from openvino._pyopenvino import serialize+from openvino._pyopenvino import set_batch+from openvino._pyopenvino import shutdown+from openvino.package_utils import LazyLoader+from openvino.package_utils import _add_openvino_libs_to_search_pathfrom openvino.tools.ovc.convert import convert_modelfrom openvino.utils.data_helpers.wrappers import tensor_from_file__all__ = ['AsyncInferQueue', 'AxisSet', 'AxisVector', 'CompiledModel', 'ConstOutput', 'Coordinate', 'CoordinateDiff', 'Core', 'Dimension', 'DiscreteTypeInfo', 'Extension', 'InferRequest', 'Input', 'Layout', 'LazyLoader', 'Model', 'Node', 'OVAny', 'Op', 'OpExtension', 'Output', 'PartialShape', 'ProfilingInfo', 'RTMap', 'RemoteContext', 'RemoteTensor', 'Shape', 'Strides', 'Symbol', 'Tensor', 'Type', 'VAContext', 'VASurfaceTensor', 'Version', 'compile_model', 'convert_model', 'exceptions', 'experimental', 'frontend', 'get_batch', 'get_version', 'helpers', 'layout_helpers', 'op', 'opset1', 'opset10', 'opset11', 'opset12', 'opset13', 'opset14', 'opset15', 'opset16', 'opset2', 'opset3', 'opset4', 'opset5', 'opset6', 'opset7', 'opset8', 'opset9', 'package_utils', 'preprocess', 'properties', 'runtime', 'save_model', 'serialize', 'set_batch', 'shutdown', 'tensor_from_file', 'tools', 'utils']diff --git a/src/bindings/python/src/openvino/_ov_api.pyi b/src/bindings/python/src/openvino/_ov_api.pyiindex 1822d3ad3ff..522e62c4ba2 100644--- a/src/bindings/python/src/openvino/_ov_api.pyi+++ b/src/bindings/python/src/openvino/_ov_api.pyi@@ -1,7 +1,6 @@# type: ignore-from builtins import traceback as TracebackTypefrom __future__ import annotations-from openvino.package_utils import deprecatedclassproperty+from builtins import traceback as TracebackTypefrom openvino._pyopenvino import AsyncInferQueue as AsyncInferQueueBasefrom openvino._pyopenvino import CompiledModel as CompiledModelBasefrom openvino._pyopenvino import Core as CoreBase@@ -9,14 +8,17 @@ from openvino._pyopenvino import Model as ModelBasefrom openvino._pyopenvino import Nodefrom openvino._pyopenvino import Tensorfrom openvino._pyopenvino import Type+from openvino.package_utils import deprecatedclasspropertyfrom openvino.utils.data_helpers.data_dispatcher import _data_dispatch-from openvino.utils.data_helpers.wrappers import _InferRequestWrapperfrom openvino.utils.data_helpers.wrappers import OVDict+from openvino.utils.data_helpers.wrappers import _InferRequestWrapperfrom openvino.utils.data_helpers.wrappers import tensor_from_filefrom pathlib import Pathfrom typing import Anyimport io as ioimport openvino._pyopenvino+import openvino._pyopenvino.op+import openvino._pyopenvino.op.utilimport openvino.utils.data_helpers.wrappersimport pathlibimport traceback as traceback@@ -499,14 +501,200 @@ class Model:...def __getattr__(self, name: str) -> typing.Any:...- def __init__(self, *args: typing.Any, **kwargs: typing.Any) -> None:+ @typing.overload+ def __init__(self: openvino._pyopenvino.Model, other: openvino._pyopenvino.Model) -> None:...+ @typing.overload+ def __init__(self: openvino._pyopenvino.Model, results: list[openvino._pyopenvino.op.Result], sinks: list[openvino._pyopenvino.Node], parameters: list[openvino._pyopenvino.op.Parameter], name: str = '') -> None:+ """+ Create user-defined Model which is a representation of a model.++ :param results: List of results.+ :type results: List[op.Result]+ :param sinks: List of Nodes to be used as Sinks (e.g. Assign ops).+ :type sinks: List[openvino.Node]+ :param parameters: List of parameters.+ :type parameters: List[op.Parameter]+ :param name: String to set as model's friendly name.+ :type name: str+ """+ @typing.overload+ def __init__(self: openvino._pyopenvino.Model, results: list[openvino._pyopenvino.Node], parameters: list[openvino._pyopenvino.op.Parameter], name: str = '') -> None:+ """+ Create user-defined Model which is a representation of a model.++ :param results: List of Nodes to be used as results.+ :type results: List[openvino.Node]+ :param parameters: List of parameters.+ :type parameters: List[op.Parameter]+ :param name: String to set as model's friendly name.+ :type name: str+ """+ @typing.overload+ def __init__(self: openvino._pyopenvino.Model, result: openvino._pyopenvino.Node, parameters: list[openvino._pyopenvino.op.Parameter], name: str = '') -> None:+ """+ Create user-defined Model which is a representation of a model.++ :param result: Node to be used as result.+ :type result: openvino.Node+ :param parameters: List of parameters.+ :type parameters: List[op.Parameter]+ :param name: String to set as model's friendly name.+ :type name: str+ """+ @typing.overload+ def __init__(self: openvino._pyopenvino.Model, results: list[openvino._pyopenvino.Output], parameters: list[openvino._pyopenvino.op.Parameter], name: str = '') -> None:+ """+ Create user-defined Model which is a representation of a model++ :param results: List of outputs.+ :type results: List[openvino.Output]+ :param parameters: List of parameters.+ :type parameters: List[op.Parameter]+ :param name: String to set as model's friendly name.+ :type name: str+ """+ @typing.overload+ def __init__(self: openvino._pyopenvino.Model, results: list[openvino._pyopenvino.Output], sinks: list[openvino._pyopenvino.Node], parameters: list[openvino._pyopenvino.op.Parameter], name: str = '') -> None:+ """+ Create user-defined Model which is a representation of a model++ :param results: List of outputs.+ :type results: List[openvino.Output]+ :param sinks: List of Nodes to be used as Sinks (e.g. Assign ops).+ :type sinks: List[openvino.Node]+ :param parameters: List of parameters.+ :type parameters: List[op.Parameter]+ :param name: String to set as model's friendly name.+ :type name: str+ """+ @typing.overload+ def __init__(self: openvino._pyopenvino.Model, results: list[openvino._pyopenvino.Output], sinks: list[openvino._pyopenvino.Output], parameters: list[openvino._pyopenvino.op.Parameter], name: str = '') -> None:+ """+ Create user-defined Model which is a representation of a model++ :param results: List of outputs.+ :type results: List[openvino.Output]+ :param sinks: List of Output sink node handles.+ :type sinks: List[openvino.Output]+ :param parameters: List of parameters.+ :type parameters: List[op.Parameter]+ :param name: String to set as model's friendly name.+ :type name: str+ """+ @typing.overload+ def __init__(self: openvino._pyopenvino.Model, results: list[openvino._pyopenvino.Output], sinks: list[openvino._pyopenvino.Output], parameters: list[openvino._pyopenvino.op.Parameter], variables: list[openvino._pyopenvino.op.util.Variable], name: str = '') -> None:+ """+ Create user-defined Model which is a representation of a model++ :param results: List of outputs.+ :type results: List[openvino.Output]+ :param sinks: List of Output sink node handles.+ :type sinks: List[openvino.Output]+ :param parameters: List of parameters.+ :type parameters: List[op.Parameter]+ :param variables: List of variables.+ :type variables: List[op.util.Variable]+ :param name: String to set as model's friendly name.+ :type name: str+ """+ @typing.overload+ def __init__(self: openvino._pyopenvino.Model, results: list[openvino._pyopenvino.op.Result], sinks: list[openvino._pyopenvino.Output], parameters: list[openvino._pyopenvino.op.Parameter], name: str = '') -> None:+ """+ Create user-defined Model which is a representation of a model++ :param results: List of results.+ :type results: List[op.Result]+ :param sinks: List of Output sink node handles.+ :type sinks: List[openvino.Output]+ :param parameters: List of parameters.+ :type parameters: List[op.Parameter]+ :param name: String to set as model's friendly name.+ :type name: str+ """+ @typing.overload+ def __init__(self: openvino._pyopenvino.Model, results: list[openvino._pyopenvino.op.Result], sinks: list[openvino._pyopenvino.Output], parameters: list[openvino._pyopenvino.op.Parameter], variables: list[openvino._pyopenvino.op.util.Variable], name: str = '') -> None:+ """+ Create user-defined Model which is a representation of a model++ :param results: List of results.+ :type results: List[op.Result]+ :param sinks: List of Output sink node handles.+ :type sinks: List[openvino.Output]+ :param parameters: List of parameters.+ :type parameters: List[op.Parameter]+ :param variables: List of variables.+ :type variables: List[op.util.Variable]+ :param name: String to set as model's friendly name.+ :type name: str+ """+ @typing.overload+ def __init__(self: openvino._pyopenvino.Model, results: list[openvino._pyopenvino.op.Result], sinks: list[openvino._pyopenvino.Node], parameters: list[openvino._pyopenvino.op.Parameter], variables: list[openvino._pyopenvino.op.util.Variable], name: str = '') -> None:+ """+ Create user-defined Model which is a representation of a model++ :param results: List of results.+ :type results: List[op.Result]+ :param sinks: List of Nodes to be used as Sinks (e.g. Assign ops).+ :type sinks: List[openvino.Node]+ :param parameters: List of parameters.+ :type parameters: List[op.Parameter]+ :param variables: List of variables.+ :type variables: List[op.util.Variable]+ :param name: String to set as model's friendly name.+ :type name: str+ """+ @typing.overload+ def __init__(self: openvino._pyopenvino.Model, results: list[openvino._pyopenvino.Output], sinks: list[openvino._pyopenvino.Node], parameters: list[openvino._pyopenvino.op.Parameter], variables: list[openvino._pyopenvino.op.util.Variable], name: str = '') -> None:+ """+ Create user-defined Model which is a representation of a model++ :param results: List of results.+ :type results: List[openvino.Output]+ :param sinks: List of Nodes to be used as Sinks (e.g. Assign ops).+ :type sinks: List[openvino.Node]+ :param variables: List of variables.+ :type variables: List[op.util.Variable]+ :param name: String to set as model's friendly name.+ :type name: str+ """+ @typing.overload+ def __init__(self: openvino._pyopenvino.Model, results: list[openvino._pyopenvino.op.Result], parameters: list[openvino._pyopenvino.op.Parameter], variables: list[openvino._pyopenvino.op.util.Variable], name: str = '') -> None:+ """+ Create user-defined Model which is a representation of a model++ :param results: List of results.+ :type results: List[op.Result]+ :param parameters: List of parameters.+ :type parameters: List[op.Parameter]+ :param variables: List of variables.+ :type variables: List[op.util.Variable]+ :param name: String to set as model's friendly name.+ :type name: str+ """+ @typing.overload+ def __init__(self: openvino._pyopenvino.Model, results: list[openvino._pyopenvino.Output], parameters: list[openvino._pyopenvino.op.Parameter], variables: list[openvino._pyopenvino.op.util.Variable], name: str = '') -> None:+ """+ Create user-defined Model which is a representation of a model++ :param results: List of results.+ :type results: List[openvino.Output]+ :param parameters: List of parameters.+ :type parameters: List[op.Parameter]+ :param name: String to set as model's friendly name.+ :type name: str+ """def __repr__(self) -> str:...def clone(self) -> Model:...class ModelMeta(type):- pass+ @classmethod+ def __getattr__(cls, name: str) -> typing.Any:+ ...+ @classmethod+ def __getattribute__(cls, name: str) -> typing.Any:+ ...def compile_model(model: typing.Union[openvino._ov_api.Model, str, pathlib.Path], device_name: typing.Optional[str] = 'AUTO', config: typing.Optional[typing.Dict[str, typing.Any]] = None) -> CompiledModel:"""Compact method to compile model with AUTO plugin.diff --git a/src/bindings/python/src/openvino/_pyopenvino/__init__.pyi b/src/bindings/python/src/openvino/_pyopenvino/__init__.pyiindex a520623f93c..fa2b5396426 100644--- a/src/bindings/python/src/openvino/_pyopenvino/__init__.pyi+++ b/src/bindings/python/src/openvino/_pyopenvino/__init__.pyi@@ -1,20 +1,20 @@# type: ignore-"""-Package openvino._pyopenvino which wraps openvino C++ APIs-"""-from __future__ import annotations+from . import _offline_transformationsfrom . import experimentalfrom . import frontendfrom . import layout_helpers-from . import _offline_transformationsfrom . import opfrom . import passesfrom . import preprocessfrom . import propertiesfrom . import util+from __future__ import annotationsimport datetimeimport numpyimport typing+"""+Package openvino._pyopenvino which wraps openvino C++ APIs+"""__all__ = ['AsyncInferQueue', 'AttributeVisitor', 'AxisSet', 'AxisVector', 'CompiledModel', 'ConstOutput', 'ConversionExtension', 'ConversionExtensionBase', 'Coordinate', 'CoordinateDiff', 'Core', 'DecoderTransformationExtension', 'DescriptorTensor', 'Dimension', 'DiscreteTypeInfo', 'Extension', 'FrontEnd', 'FrontEndManager', 'GeneralFailure', 'InferRequest', 'InitializationFailure', 'Input', 'InputModel', 'Iterator', 'Layout', 'Model', 'Node', 'NodeContext', 'NodeFactory', 'NotImplementedFailure', 'OVAny', 'Op', 'OpConversionFailure', 'OpExtension', 'OpValidationFailure', 'Output', 'PartialShape', 'Place', 'ProfilingInfo', 'ProgressReporterExtension', 'RTMap', 'RemoteContext', 'RemoteTensor', 'Shape', 'Strides', 'Symbol', 'TelemetryExtension', 'Tensor', 'Type', 'VAContext', 'VASurfaceTensor', 'VariableState', 'Version', 'experimental', 'frontend', 'get_batch', 'get_version', 'layout_helpers', 'op', 'passes', 'preprocess', 'properties', 'save_model', 'serialize', 'set_batch', 'shutdown', 'util']class AsyncInferQueue:"""@@ -4591,18 +4591,18 @@ class Tensor:@typing.overloaddef __init__(self, image: typing.Any) -> None:"""- Constructs Tensor from a Pillow Image.+ Constructs Tensor from a Pillow Image.- :param image: Pillow Image to create the tensor from.- :type image: PIL.Image.Image- :Example:- .. code-block:: python+ :param image: Pillow Image to create the tensor from.+ :type image: PIL.Image.Image+ :Example:+ .. code-block:: python- from PIL import Image- import openvino as ov+ from PIL import Image+ import openvino as ov- img = Image.open("example.jpg")- tensor = ov.Tensor(img)+ img = Image.open("example.jpg")+ tensor = ov.Tensor(img)"""def __repr__(self) -> str:...diff --git a/src/bindings/python/src/openvino/_pyopenvino/_offline_transformations.pyi b/src/bindings/python/src/openvino/_pyopenvino/_offline_transformations.pyiindex 830f3f3c335..7095b023712 100644--- a/src/bindings/python/src/openvino/_pyopenvino/_offline_transformations.pyi+++ b/src/bindings/python/src/openvino/_pyopenvino/_offline_transformations.pyi@@ -1,10 +1,10 @@# type: ignore-"""-openvino._offline_transformations is a private module contains different offline passes.-"""from __future__ import annotationsimport openvino._pyopenvino.opimport typing+"""+openvino._offline_transformations is a private module contains different offline passes.+"""__all__ = ['apply_fused_names_cleanup', 'apply_low_latency_transformation', 'apply_make_stateful_transformation', 'apply_moc_legacy_transformations', 'apply_moc_transformations', 'apply_pruning_transformation', 'compress_model_transformation', 'compress_quantize_weights_transformation', 'convert_sequence_to_tensor_iterator_transformation', 'paged_attention_transformation', 'stateful_to_stateless_transformation']def apply_fused_names_cleanup(model: typing.Any) -> None:...diff --git a/src/bindings/python/src/openvino/_pyopenvino/experimental.pyi b/src/bindings/python/src/openvino/_pyopenvino/experimental.pyiindex 94abb8a3c17..1f49d8bacee 100644--- a/src/bindings/python/src/openvino/_pyopenvino/experimental.pyi+++ b/src/bindings/python/src/openvino/_pyopenvino/experimental.pyi@@ -1,9 +1,9 @@# type: ignore+from __future__ import annotations+import openvino._pyopenvino"""openvino.experimental submodule"""-from __future__ import annotations-import openvino._pyopenvino__all__ = ['evaluate_as_partial_shape', 'evaluate_both_bounds', 'set_element_type', 'set_tensor_type']def evaluate_as_partial_shape(output: openvino._pyopenvino.Output, partial_shape: openvino._pyopenvino.PartialShape) -> bool:"""diff --git a/src/bindings/python/src/openvino/_pyopenvino/layout_helpers.pyi b/src/bindings/python/src/openvino/_pyopenvino/layout_helpers.pyiindex 62639c7ba79..a60f7fbdfb9 100644--- a/src/bindings/python/src/openvino/_pyopenvino/layout_helpers.pyi+++ b/src/bindings/python/src/openvino/_pyopenvino/layout_helpers.pyi@@ -1,10 +1,10 @@# type: ignore-"""-openvino.layout_helpers-"""from __future__ import annotationsimport openvino._pyopenvinoimport typing+"""+openvino.layout_helpers+"""__all__ = ['batch_idx', 'channels_idx', 'depth_idx', 'get_layout', 'has_batch', 'has_channels', 'has_depth', 'has_height', 'has_width', 'height_idx', 'set_layout', 'width_idx']def batch_idx(layout: openvino._pyopenvino.Layout) -> int:...diff --git a/src/bindings/python/src/openvino/_pyopenvino/op/__init__.pyi b/src/bindings/python/src/openvino/_pyopenvino/op/__init__.pyiindex 972364cea52..09f878e3167 100644--- a/src/bindings/python/src/openvino/_pyopenvino/op/__init__.pyi+++ b/src/bindings/python/src/openvino/_pyopenvino/op/__init__.pyi@@ -1,12 +1,12 @@# type: ignore-"""-Package ngraph.impl.op that wraps ov::op-"""-from __future__ import annotationsfrom . import util+from __future__ import annotationsimport numpyimport openvino._pyopenvinoimport typing+"""+Package ngraph.impl.op that wraps ov::op+"""__all__ = ['Constant', 'Parameter', 'Result', 'assign', 'if_op', 'loop', 'read_value', 'tensor_iterator', 'util']class Constant(openvino._pyopenvino.Node):"""diff --git a/src/bindings/python/src/openvino/_pyopenvino/op/util.pyi b/src/bindings/python/src/openvino/_pyopenvino/op/util.pyiindex e4a433f1363..d858d2e858f 100644--- a/src/bindings/python/src/openvino/_pyopenvino/op/util.pyi+++ b/src/bindings/python/src/openvino/_pyopenvino/op/util.pyi@@ -1,10 +1,10 @@# type: ignore-"""-module openvino.op.util-"""from __future__ import annotationsimport openvino._pyopenvinoimport typing+"""+module openvino.op.util+"""__all__ = ['ArithmeticReduction', 'BinaryElementwiseArithmetic', 'BinaryElementwiseComparison', 'BinaryElementwiseLogical', 'BodyOutputDescription', 'ConcatOutputDescription', 'IndexReduction', 'InputDescription', 'InvariantInputDescription', 'MergedInputDescription', 'OutputDescription', 'SliceInputDescription', 'UnaryElementwiseArithmetic', 'Variable', 'VariableInfo']class ArithmeticReduction:reduction_axes: openvino._pyopenvino.AxisSetdiff --git a/src/bindings/python/src/openvino/_pyopenvino/passes.pyi b/src/bindings/python/src/openvino/_pyopenvino/passes.pyiindex 688e3d48e5c..c24fee734b8 100644--- a/src/bindings/python/src/openvino/_pyopenvino/passes.pyi+++ b/src/bindings/python/src/openvino/_pyopenvino/passes.pyi@@ -1,11 +1,11 @@# type: ignore-"""-Package openvino.passes wraps ov::passes-"""from __future__ import annotationsimport openvino._pyopenvinoimport openvino._pyopenvino.opimport typing+"""+Package openvino.passes wraps ov::passes+"""__all__ = ['AnyInput', 'BackwardGraphRewrite', 'ConstantFolding', 'ConvertFP32ToFP16', 'GraphRewrite', 'LowLatency2', 'MakeStateful', 'Manager', 'Matcher', 'MatcherPass', 'ModelPass', 'Optional', 'Or', 'PassBase', 'PatternSymbolValue', 'Predicate', 'Serialize', 'Version', 'VisualizeTree', 'WrapType', 'consumers_count', 'has_static_dim', 'has_static_dims', 'has_static_rank', 'has_static_shape', 'rank_equals', 'rank_more_than', 'shape_matches', 'type_matches', 'type_matches_any']class AnyInput(openvino._pyopenvino.Node):"""diff --git a/src/bindings/python/src/openvino/_pyopenvino/preprocess.pyi b/src/bindings/python/src/openvino/_pyopenvino/preprocess.pyiindex e753cc94462..dc61f9fbfc4 100644--- a/src/bindings/python/src/openvino/_pyopenvino/preprocess.pyi+++ b/src/bindings/python/src/openvino/_pyopenvino/preprocess.pyi@@ -1,11 +1,11 @@# type: ignore-"""-Package openvino.preprocess that wraps ov::preprocess-"""from __future__ import annotationsimport numpyimport openvino._pyopenvinoimport typing+"""+Package openvino.preprocess that wraps ov::preprocess+"""__all__ = ['BGR', 'BGRX', 'CONSTANT', 'ColorFormat', 'GRAY', 'I420_SINGLE_PLANE', 'I420_THREE_PLANES', 'InputInfo', 'InputModelInfo', 'InputTensorInfo', 'NV12_SINGLE_PLANE', 'NV12_TWO_PLANES', 'OutputInfo', 'OutputModelInfo', 'OutputTensorInfo', 'PaddingMode', 'PostProcessSteps', 'PrePostProcessor', 'PreProcessSteps', 'REFLECT', 'RESIZE_BICUBIC_PILLOW', 'RESIZE_BILINEAR_PILLOW', 'RESIZE_CUBIC', 'RESIZE_LINEAR', 'RESIZE_NEAREST', 'RGB', 'RGBX', 'ResizeAlgorithm', 'SYMMETRIC', 'UNDEFINED']class ColorFormat:"""diff --git a/src/bindings/python/src/openvino/_pyopenvino/properties/__init__.pyi b/src/bindings/python/src/openvino/_pyopenvino/properties/__init__.pyiindex e26253edda5..a46bde6df00 100644--- a/src/bindings/python/src/openvino/_pyopenvino/properties/__init__.pyi+++ b/src/bindings/python/src/openvino/_pyopenvino/properties/__init__.pyi@@ -1,8 +1,4 @@# type: ignore-"""-openvino.properties submodule-"""-from __future__ import annotationsfrom . import devicefrom . import hintfrom . import intel_auto@@ -11,8 +7,12 @@ from . import intel_gpufrom . import intel_npufrom . import logfrom . import streams+from __future__ import annotationsimport openvino._pyopenvinoimport typing+"""+openvino.properties submodule+"""__all__ = ['CacheMode', 'WorkloadType', 'auto_batch_timeout', 'available_devices', 'cache_dir', 'cache_encryption_callbacks', 'cache_mode', 'compilation_num_threads', 'device', 'enable_mmap', 'enable_profiling', 'execution_devices', 'force_tbb_terminate', 'hint', 'inference_num_threads', 'intel_auto', 'intel_cpu', 'intel_gpu', 'intel_npu', 'key_cache_group_size', 'key_cache_precision', 'loaded_from_cache', 'log', 'max_batch_size', 'model_name', 'num_streams', 'optimal_batch_size', 'optimal_number_of_infer_requests', 'range_for_async_infer_requests', 'range_for_streams', 'streams', 'supported_properties', 'value_cache_group_size', 'value_cache_precision', 'weights_path', 'workload_type']class CacheMode:"""diff --git a/src/bindings/python/src/openvino/_pyopenvino/properties/device.pyi b/src/bindings/python/src/openvino/_pyopenvino/properties/device.pyiindex 2b55d271e92..24ce1343fb2 100644--- a/src/bindings/python/src/openvino/_pyopenvino/properties/device.pyi+++ b/src/bindings/python/src/openvino/_pyopenvino/properties/device.pyi@@ -1,10 +1,10 @@# type: ignore-"""-openvino.properties.device submodule that simulates ov::device-"""from __future__ import annotationsimport openvino._pyopenvinoimport typing+"""+openvino.properties.device submodule that simulates ov::device+"""__all__ = ['Capability', 'PCIInfo', 'Priorities', 'Type', 'architecture', 'capabilities', 'full_name', 'gops', 'id', 'luid', 'pci_info', 'priorities', 'properties', 'thermal', 'type', 'uuid']class Capability:"""diff --git a/src/bindings/python/src/openvino/_pyopenvino/properties/hint.pyi b/src/bindings/python/src/openvino/_pyopenvino/properties/hint.pyiindex 43d4fb781f2..7408e23e2e7 100644--- a/src/bindings/python/src/openvino/_pyopenvino/properties/hint.pyi+++ b/src/bindings/python/src/openvino/_pyopenvino/properties/hint.pyi@@ -1,11 +1,11 @@# type: ignore-"""-openvino.properties.hint submodule that simulates ov::hint-"""from __future__ import annotationsimport openvino._pyopenvinoimport typing-__all__ = ['ExecutionMode', 'ModelDistributionPolicy', 'PerformanceMode', 'Priority', 'SchedulingCoreType', 'activations_scale_factor', 'allow_auto_batching', 'dynamic_quantization_group_size', 'enable_cpu_pinning', 'enable_hyper_threading', 'execution_mode', 'inference_precision', 'kv_cache_precision', 'model', 'model_distribution_policy', 'model_priority', 'num_requests', 'performance_mode', 'scheduling_core_type']+"""+openvino.properties.hint submodule that simulates ov::hint+"""+__all__ = ['ExecutionMode', 'ModelDistributionPolicy', 'PerformanceMode', 'Priority', 'SchedulingCoreType', 'activations_scale_factor', 'allow_auto_batching', 'compiled_blob', 'dynamic_quantization_group_size', 'enable_cpu_pinning', 'enable_hyper_threading', 'execution_mode', 'inference_precision', 'kv_cache_precision', 'model', 'model_distribution_policy', 'model_priority', 'num_requests', 'performance_mode', 'scheduling_core_type']class ExecutionMode:"""Members:@@ -256,6 +256,12 @@ def allow_auto_batching() -> str:def allow_auto_batching(arg0: bool) -> tuple[str, openvino._pyopenvino.OVAny]:...@typing.overload+def compiled_blob() -> str:+ ...+def compiled_blob(arg0: openvino._pyopenvino.Tensor) -> tuple[str, openvino._pyopenvino.OVAny]:+ ...def dynamic_quantization_group_size() -> str:...@typing.overloaddiff --git a/src/bindings/python/src/openvino/_pyopenvino/properties/intel_auto.pyi b/src/bindings/python/src/openvino/_pyopenvino/properties/intel_auto.pyiindex d8d3814ebb7..f4019fbce53 100644--- a/src/bindings/python/src/openvino/_pyopenvino/properties/intel_auto.pyi+++ b/src/bindings/python/src/openvino/_pyopenvino/properties/intel_auto.pyi@@ -1,10 +1,10 @@# type: ignore-"""-openvino.properties.intel_auto submodule that simulates ov::intel_auto-"""from __future__ import annotationsimport openvino._pyopenvinoimport typing+"""+openvino.properties.intel_auto submodule that simulates ov::intel_auto+"""__all__ = ['SchedulePolicy', 'device_bind_buffer', 'enable_runtime_fallback', 'enable_startup_fallback', 'schedule_policy']class SchedulePolicy:"""diff --git a/src/bindings/python/src/openvino/_pyopenvino/properties/intel_cpu.pyi b/src/bindings/python/src/openvino/_pyopenvino/properties/intel_cpu.pyiindex 4f78115fe2a..f24ce227c6b 100644--- a/src/bindings/python/src/openvino/_pyopenvino/properties/intel_cpu.pyi+++ b/src/bindings/python/src/openvino/_pyopenvino/properties/intel_cpu.pyi@@ -1,10 +1,10 @@# type: ignore-"""-openvino.properties.intel_cpu submodule that simulates ov::intel_cpu-"""from __future__ import annotationsimport openvino._pyopenvinoimport typing+"""+openvino.properties.intel_cpu submodule that simulates ov::intel_cpu+"""__all__ = ['denormals_optimization', 'sparse_weights_decompression_rate']@typing.overloaddef denormals_optimization() -> str:diff --git a/src/bindings/python/src/openvino/_pyopenvino/properties/intel_gpu/__init__.pyi b/src/bindings/python/src/openvino/_pyopenvino/properties/intel_gpu/__init__.pyiindex e0e33248634..50ab4cfeb56 100644--- a/src/bindings/python/src/openvino/_pyopenvino/properties/intel_gpu/__init__.pyi+++ b/src/bindings/python/src/openvino/_pyopenvino/properties/intel_gpu/__init__.pyi@@ -1,11 +1,11 @@# type: ignore-"""-openvino.properties.intel_gpu submodule that simulates ov::intel_gpu-"""-from __future__ import annotationsfrom . import hint+from __future__ import annotationsimport openvino._pyopenvinoimport typing+"""+openvino.properties.intel_gpu submodule that simulates ov::intel_gpu+"""__all__ = ['CapabilityGPU', 'MemoryType', 'device_total_mem_size', 'disable_winograd_convolution', 'enable_loop_unrolling', 'execution_units_count', 'hint', 'memory_statistics', 'uarch_version']class CapabilityGPU:"""diff --git a/src/bindings/python/src/openvino/_pyopenvino/properties/intel_gpu/hint.pyi b/src/bindings/python/src/openvino/_pyopenvino/properties/intel_gpu/hint.pyiindex d6207fa46dc..9369afdb5dc 100644--- a/src/bindings/python/src/openvino/_pyopenvino/properties/intel_gpu/hint.pyi+++ b/src/bindings/python/src/openvino/_pyopenvino/properties/intel_gpu/hint.pyi@@ -1,11 +1,11 @@# type: ignore-"""-openvino.properties.intel_gpu.hint submodule that simulates ov::intel_gpu::hint-"""from __future__ import annotationsimport openvino._pyopenvinoimport openvino._pyopenvino.properties.hintimport typing+"""+openvino.properties.intel_gpu.hint submodule that simulates ov::intel_gpu::hint+"""__all__ = ['ThrottleLevel', 'available_device_mem', 'host_task_priority', 'queue_priority', 'queue_throttle']class ThrottleLevel:"""diff --git a/src/bindings/python/src/openvino/_pyopenvino/properties/intel_npu.pyi b/src/bindings/python/src/openvino/_pyopenvino/properties/intel_npu.pyiindex 2ffeee216cd..d10a71521ba 100644--- a/src/bindings/python/src/openvino/_pyopenvino/properties/intel_npu.pyi+++ b/src/bindings/python/src/openvino/_pyopenvino/properties/intel_npu.pyi@@ -1,10 +1,10 @@# type: ignore-"""-openvino.properties.intel_npu submodule that simulates ov::intel_npu-"""from __future__ import annotationsimport openvino._pyopenvinoimport typing+"""+openvino.properties.intel_npu submodule that simulates ov::intel_npu+"""__all__ = ['bypass_umd_caching', 'compilation_mode_params', 'compiler_dynamic_quantization', 'compiler_version', 'defer_weights_load', 'device_alloc_mem_size', 'device_total_mem_size', 'driver_version', 'max_tiles', 'qdq_optimization', 'tiles', 'turbo']@typing.overloaddef bypass_umd_caching() -> str:diff --git a/src/bindings/python/src/openvino/_pyopenvino/properties/log.pyi b/src/bindings/python/src/openvino/_pyopenvino/properties/log.pyiindex 7c1b263ae94..dd88fbeb047 100644--- a/src/bindings/python/src/openvino/_pyopenvino/properties/log.pyi+++ b/src/bindings/python/src/openvino/_pyopenvino/properties/log.pyi@@ -1,10 +1,10 @@# type: ignore-"""-openvino.properties.log submodule that simulates ov::log-"""from __future__ import annotationsimport openvino._pyopenvinoimport typing+"""+openvino.properties.log submodule that simulates ov::log+"""__all__ = ['Level', 'level']class Level:"""diff --git a/src/bindings/python/src/openvino/_pyopenvino/properties/streams.pyi b/src/bindings/python/src/openvino/_pyopenvino/properties/streams.pyiindex 38c40327fb0..d46dda51c13 100644--- a/src/bindings/python/src/openvino/_pyopenvino/properties/streams.pyi+++ b/src/bindings/python/src/openvino/_pyopenvino/properties/streams.pyi@@ -1,10 +1,10 @@# type: ignore-"""-openvino.properties.streams submodule that simulates ov::streams-"""from __future__ import annotationsimport openvino._pyopenvinoimport typing+"""+openvino.properties.streams submodule that simulates ov::streams+"""__all__ = ['Num', 'num']class Num:AUTO: typing.ClassVar[Num] # value = <openvino._pyopenvino.properties.streams.Num object>diff --git a/src/bindings/python/src/openvino/_pyopenvino/util.pyi b/src/bindings/python/src/openvino/_pyopenvino/util.pyiindex e118dfca6ae..815d138ae18 100644--- a/src/bindings/python/src/openvino/_pyopenvino/util.pyi+++ b/src/bindings/python/src/openvino/_pyopenvino/util.pyi@@ -1,11 +1,11 @@# type: ignore-"""-openvino.utils-"""from __future__ import annotationsimport numpyimport openvino._pyopenvinoimport typing+"""+openvino.utils+"""__all__ = ['deprecation_warning', 'numpy_to_c', 'replace_node', 'replace_output_update_name']def deprecation_warning(function_name: str, version: str = '', message: str = '', stacklevel: int = 2) -> None:"""diff --git a/src/bindings/python/src/openvino/exceptions.pyi b/src/bindings/python/src/openvino/exceptions.pyiindex 7fffdc3b07b..a7089fea744 100644--- a/src/bindings/python/src/openvino/exceptions.pyi+++ b/src/bindings/python/src/openvino/exceptions.pyi@@ -1,8 +1,8 @@# type: ignore+from __future__ import annotations"""openvino exceptions hierarchy. All exceptions are descendants of OVError."""-from __future__ import annotations__all__ = ['OVError', 'OVTypeError', 'UserInputError']class OVError(Exception):"""diff --git a/src/bindings/python/src/openvino/experimental.pyi b/src/bindings/python/src/openvino/experimental.pyiindex a9f36a04eaa..5a29738a7a0 100644--- a/src/bindings/python/src/openvino/experimental.pyi+++ b/src/bindings/python/src/openvino/experimental.pyi@@ -1,12 +1,12 @@# type: ignore-"""--Package: openvino-This module provides access to experimental functionality that is subject to change without prior notice.-"""from __future__ import annotationsfrom openvino._pyopenvino.experimental import evaluate_as_partial_shapefrom openvino._pyopenvino.experimental import evaluate_both_boundsfrom openvino._pyopenvino.experimental import set_element_typefrom openvino._pyopenvino.experimental import set_tensor_type+"""++Package: openvino+This module provides access to experimental functionality that is subject to change without prior notice.+"""__all__ = ['evaluate_as_partial_shape', 'evaluate_both_bounds', 'set_element_type', 'set_tensor_type']diff --git a/src/bindings/python/src/openvino/frontend/__init__.pyi b/src/bindings/python/src/openvino/frontend/__init__.pyiindex 00d3adb1ad0..089912a80ce 100644--- a/src/bindings/python/src/openvino/frontend/__init__.pyi+++ b/src/bindings/python/src/openvino/frontend/__init__.pyi@@ -1,18 +1,10 @@# type: ignore-"""--Package: openvino-Low level wrappers for the FrontEnd C++ API.-"""-from __future__ import annotationsfrom . import frontend-from openvino.frontend.frontend import FrontEnd-from openvino.frontend.frontend import FrontEndManager-from openvino._pyopenvino.frontend import OpExtension+from . import tensorflow+from __future__ import annotationsfrom openvino._pyopenvino import ConversionExtensionfrom openvino._pyopenvino import DecoderTransformationExtensionfrom openvino._pyopenvino import GeneralFailure-from openvino._pyopenvino import get_versionfrom openvino._pyopenvino import InitializationFailurefrom openvino._pyopenvino import InputModelfrom openvino._pyopenvino import NodeContext@@ -22,5 +14,14 @@ from openvino._pyopenvino import OpValidationFailurefrom openvino._pyopenvino import Placefrom openvino._pyopenvino import ProgressReporterExtensionfrom openvino._pyopenvino import TelemetryExtension-__all__ = ['ConversionExtension', 'DecoderTransformationExtension', 'FrontEnd', 'FrontEndManager', 'GeneralFailure', 'InitializationFailure', 'InputModel', 'NodeContext', 'NotImplementedFailure', 'OpConversionFailure', 'OpExtension', 'OpValidationFailure', 'Place', 'ProgressReporterExtension', 'TelemetryExtension', 'frontend', 'get_version']+from openvino._pyopenvino import get_version+from openvino._pyopenvino.frontend import OpExtension+from openvino.frontend.frontend import FrontEnd+from openvino.frontend.frontend import FrontEndManager+"""++Package: openvino+Low level wrappers for the FrontEnd C++ API.+"""+__all__ = ['ConversionExtension', 'DecoderTransformationExtension', 'FrontEnd', 'FrontEndManager', 'GeneralFailure', 'InitializationFailure', 'InputModel', 'NodeContext', 'NotImplementedFailure', 'OpConversionFailure', 'OpExtension', 'OpValidationFailure', 'Place', 'ProgressReporterExtension', 'TelemetryExtension', 'frontend', 'get_version', 'tensorflow']__version__: str = 'version_string'diff --git a/src/bindings/python/src/openvino/frontend/tensorflow/__init__.pyi b/src/bindings/python/src/openvino/frontend/tensorflow/__init__.pyinew file mode 100644index 00000000000..b1b163b0685--- /dev/null+++ b/src/bindings/python/src/openvino/frontend/tensorflow/__init__.pyi@@ -0,0 +1,13 @@+# type: ignore+from . import py_tensorflow_frontend+from . import utils+from __future__ import annotations+from openvino.frontend.tensorflow.py_tensorflow_frontend import ConversionExtensionTensorflow as ConversionExtension+from openvino.frontend.tensorflow.py_tensorflow_frontend import OpExtensionTensorflow as OpExtension+from openvino.frontend.tensorflow.py_tensorflow_frontend import _FrontEndPyGraphIterator as GraphIterator+"""++Package: openvino+Low level wrappers for the FrontEnd C++ API.+"""+__all__ = ['ConversionExtension', 'GraphIterator', 'OpExtension', 'py_tensorflow_frontend', 'utils']diff --git a/src/bindings/python/src/openvino/frontend/tensorflow/py_tensorflow_frontend.pyi b/src/bindings/python/src/openvino/frontend/tensorflow/py_tensorflow_frontend.pyinew file mode 100644index 00000000000..140451f82a7--- /dev/null+++ b/src/bindings/python/src/openvino/frontend/tensorflow/py_tensorflow_frontend.pyi@@ -0,0 +1,23 @@+# type: ignore+from __future__ import annotations+import openvino._pyopenvino+import typing+__all__ = ['ConversionExtensionTensorflow', 'OpExtensionTensorflow']+class ConversionExtensionTensorflow(_ConversionExtensionTensorflow):+ def __init__(self, arg0: str, arg1: typing.Callable[[openvino._pyopenvino.NodeContext], list[openvino._pyopenvino.Output]]) -> None:+ ...+class OpExtensionTensorflow(_ConversionExtensionTensorflow):+ @typing.overload+ def __init__(self, fw_type_name: str, attr_names_map: dict[str, str] = {}, attr_values_map: dict[str, typing.Any] = {}) -> None:+ ...+ @typing.overload+ def __init__(self, ov_type_name: str, fw_type_name: str, attr_names_map: dict[str, str] = {}, attr_values_map: dict[str, typing.Any] = {}) -> None:+ ...+class _ConversionExtensionTensorflow(openvino._pyopenvino.ConversionExtensionBase):+ pass+class _FrontEndDecoderBase(openvino._pyopenvino._IDecoder):+ def __init__(self) -> None:+ ...+class _FrontEndPyGraphIterator:+ def __init__(self) -> None:+ ...diff --git a/src/bindings/python/src/openvino/frontend/tensorflow/utils.pyi b/src/bindings/python/src/openvino/frontend/tensorflow/utils.pyinew file mode 100644index 00000000000..161c0996c7f--- /dev/null+++ b/src/bindings/python/src/openvino/frontend/tensorflow/utils.pyi@@ -0,0 +1,74 @@+# type: ignore+from __future__ import annotations+from openvino._pyopenvino import Dimension+from openvino._pyopenvino import PartialShape+from openvino._pyopenvino import Type+from packaging.version import Version+from packaging.version import parse+import logging as log+import numpy as np+import openvino._pyopenvino+import sys as sys+__all__ = ['Dimension', 'PartialShape', 'Type', 'Version', 'create_generic_function_from_keras_model', 'create_tf_graph_iterator', 'extract_model_graph', 'get_concrete_func', 'get_environment_setup', 'get_imported_module_version', 'get_input_spec_from_model', 'get_signature_from_input', 'get_signature_from_input_signature', 'get_static_shape', 'is_variable', 'log', 'model_is_graph_iterator', 'np', 'parse', 'partial_shape_to_list', 'sys', 'tf_type_to_ov_type', 'trace_tf_model', 'trace_tf_model_if_needed', 'type_supported_by_tf_fe']+def create_generic_function_from_keras_model(keras_model):+ ...+def create_tf_graph_iterator(input_model, placeholder_shapes, placeholder_data_types, example_input, share_weights):+ ...+def extract_model_graph(argv):+ ...+def get_concrete_func(tf_function, example_input, input_needs_packing, error_message, use_example_input = True):+ """++ Runs tracing of TF function and returns a concrete function.++ :param tf_function: TF function that needs to be traced.+ :param example_input: Example of function input.+ :param input_needs_packing: determines if input needs to be packed in a list before passing to TF function.+ It is used when original function was wrapped in outer TF function, which changes function signature.+ In this case wrapper TF function always expects list of inputs which are unpacked inside subfunction.+ So list/tuple are treated as multiple inputs of original model.+ Non list/tuple are treated as single input, and it needs packing to a list,+ as wrapper function always expect list of inputs.+ :param error_message: Error message which should be shown in case of tracing error.+ :param use_example_input: Determines if example_input should be used.++ :returns: Object of type tf.types.experimental.ConcreteFunction.++ """+def get_environment_setup(framework):+ """++ Get environment setup such as Python version, TensorFlow version+ :param framework: framework name+ :return: a dictionary of environment variables++ """+def get_imported_module_version(imported_module):+ """++ Get imported module version+ :return: version(str) or raise AttributeError exception++ """+def get_input_spec_from_model(model, input_shapes = None):+ ...+def get_signature_from_input(keras_model):+ ...+def get_signature_from_input_signature(keras_model):+ ...+def get_static_shape(shape: [openvino._pyopenvino.PartialShape, list, tuple], dynamic_value = None):+ ...+def is_variable(func_input, captures):+ ...+def model_is_graph_iterator(model):+ ...+def partial_shape_to_list(partial_shape: openvino._pyopenvino.PartialShape):+ ...+def tf_type_to_ov_type(val):+ ...+def trace_tf_model(model, input_shapes, input_types, example_input):+ ...+def trace_tf_model_if_needed(input_model, placeholder_shapes, placeholder_data_types, example_input):+ ...+def type_supported_by_tf_fe(input_model):+ ...diff --git a/src/bindings/python/src/openvino/helpers/__init__.pyi b/src/bindings/python/src/openvino/helpers/__init__.pyiindex 144a12186e1..190bea3f1bb 100644--- a/src/bindings/python/src/openvino/helpers/__init__.pyi+++ b/src/bindings/python/src/openvino/helpers/__init__.pyi@@ -1,6 +1,6 @@# type: ignore-from __future__ import annotationsfrom . import packing+from __future__ import annotationsfrom openvino.helpers.packing import pack_datafrom openvino.helpers.packing import unpack_data__all__ = ['pack_data', 'packing', 'unpack_data']diff --git a/src/bindings/python/src/openvino/op/__init__.pyi b/src/bindings/python/src/openvino/op/__init__.pyiindex d2e453674ab..387ee3c079b 100644--- a/src/bindings/python/src/openvino/op/__init__.pyi+++ b/src/bindings/python/src/openvino/op/__init__.pyi@@ -1,18 +1,18 @@# type: ignore-"""--Package: openvino.op-Low level wrappers for the c++ api in ov::op.-"""-from __future__ import annotationsfrom . import util-from openvino._pyopenvino.op import assign+from __future__ import annotationsfrom openvino._pyopenvino.op import Constant+from openvino._pyopenvino.op import Parameter+from openvino._pyopenvino.op import Result+from openvino._pyopenvino.op import _PagedAttentionExtension+from openvino._pyopenvino.op import assignfrom openvino._pyopenvino.op import if_opfrom openvino._pyopenvino.op import loop-from openvino._pyopenvino.op import _PagedAttentionExtension-from openvino._pyopenvino.op import Parameterfrom openvino._pyopenvino.op import read_value-from openvino._pyopenvino.op import Resultfrom openvino._pyopenvino.op import tensor_iterator+"""++Package: openvino.op+Low level wrappers for the c++ api in ov::op.+"""__all__ = ['Constant', 'Parameter', 'Result', 'assign', 'if_op', 'loop', 'read_value', 'tensor_iterator', 'util']diff --git a/src/bindings/python/src/openvino/op/util.pyi b/src/bindings/python/src/openvino/op/util.pyiindex 281b5f244f9..e6461c52488 100644--- a/src/bindings/python/src/openvino/op/util.pyi+++ b/src/bindings/python/src/openvino/op/util.pyi@@ -1,9 +1,4 @@# type: ignore-"""--Package: openvino.op.util-Low level wrappers for the c++ api in ov::op::util.-"""from __future__ import annotationsfrom openvino._pyopenvino.op.util import ArithmeticReductionfrom openvino._pyopenvino.op.util import BinaryElementwiseArithmetic@@ -18,4 +13,9 @@ from openvino._pyopenvino.op.util import SliceInputDescriptionfrom openvino._pyopenvino.op.util import UnaryElementwiseArithmeticfrom openvino._pyopenvino.op.util import Variablefrom openvino._pyopenvino.op.util import VariableInfo+"""++Package: openvino.op.util+Low level wrappers for the c++ api in ov::op::util.+"""__all__ = ['ArithmeticReduction', 'BinaryElementwiseArithmetic', 'BinaryElementwiseComparison', 'BinaryElementwiseLogical', 'BodyOutputDescription', 'ConcatOutputDescription', 'IndexReduction', 'InvariantInputDescription', 'MergedInputDescription', 'SliceInputDescription', 'UnaryElementwiseArithmetic', 'Variable', 'VariableInfo']diff --git a/src/bindings/python/src/openvino/opset1/__init__.pyi b/src/bindings/python/src/openvino/opset1/__init__.pyiindex 6a265e0715c..3de5a34741b 100644--- a/src/bindings/python/src/openvino/opset1/__init__.pyi+++ b/src/bindings/python/src/openvino/opset1/__init__.pyi@@ -1,6 +1,7 @@# type: ignore-from __future__ import annotationsfrom . import ops+from __future__ import annotations+from openvino._pyopenvino.op import tensor_iteratorfrom openvino.opset1.ops import absolutefrom openvino.opset1.ops import absolute as absfrom openvino.opset1.ops import acos@@ -54,8 +55,8 @@ from openvino.opset1.ops import logical_xorfrom openvino.opset1.ops import lrnfrom openvino.opset1.ops import lstm_cellfrom openvino.opset1.ops import matmul-from openvino.opset1.ops import maximumfrom openvino.opset1.ops import max_pool+from openvino.opset1.ops import maximumfrom openvino.opset1.ops import minimumfrom openvino.opset1.ops import modfrom openvino.opset1.ops import multiply@@ -107,5 +108,4 @@ from openvino.opset1.ops import topkfrom openvino.opset1.ops import transposefrom openvino.opset1.ops import unsqueezefrom openvino.opset1.ops import variadic_split-from openvino._pyopenvino.op import tensor_iterator__all__ = ['abs', 'absolute', 'acos', 'add', 'asin', 'atan', 'avg_pool', 'batch_norm_inference', 'binary_convolution', 'broadcast', 'ceil', 'ceiling', 'clamp', 'concat', 'constant', 'convert', 'convert_like', 'convolution', 'convolution_backprop_data', 'cos', 'cosh', 'ctc_greedy_decoder', 'deformable_convolution', 'deformable_psroi_pooling', 'depth_to_space', 'detection_output', 'divide', 'elu', 'equal', 'erf', 'exp', 'fake_quantize', 'floor', 'floor_mod', 'gather', 'gather_tree', 'greater', 'greater_equal', 'grn', 'group_convolution', 'group_convolution_backprop_data', 'hard_sigmoid', 'interpolate', 'less', 'less_equal', 'log', 'logical_and', 'logical_not', 'logical_or', 'logical_xor', 'lrn', 'lstm_cell', 'matmul', 'max_pool', 'maximum', 'minimum', 'mod', 'multiply', 'negative', 'non_max_suppression', 'normalize_l2', 'not_equal', 'one_hot', 'ops', 'pad', 'parameter', 'power', 'prelu', 'prior_box', 'prior_box_clustered', 'proposal', 'psroi_pooling', 'range', 'reduce_logical_and', 'reduce_logical_or', 'reduce_max', 'reduce_mean', 'reduce_min', 'reduce_prod', 'reduce_sum', 'region_yolo', 'relu', 'reshape', 'result', 'reverse_sequence', 'select', 'selu', 'shape_of', 'sigmoid', 'sign', 'sin', 'sinh', 'softmax', 'space_to_depth', 'split', 'sqrt', 'squared_difference', 'squeeze', 'strided_slice', 'subtract', 'tan', 'tanh', 'tensor_iterator', 'tile', 'topk', 'transpose', 'unsqueeze', 'variadic_split']diff --git a/src/bindings/python/src/openvino/opset1/ops.pyi b/src/bindings/python/src/openvino/opset1/ops.pyiindex 3c10e99a18a..15c8d1aeffd 100644--- a/src/bindings/python/src/openvino/opset1/ops.pyi+++ b/src/bindings/python/src/openvino/opset1/ops.pyi@@ -1,24 +1,21 @@# type: ignore-"""-Factory functions for all openvino ops.-"""-from functools import partialfrom __future__ import annotations-from openvino.package_utils import deprecated+from functools import partialfrom openvino._pyopenvino import Nodefrom openvino._pyopenvino import PartialShapefrom openvino._pyopenvino import Typefrom openvino._pyopenvino.op import Constantfrom openvino._pyopenvino.op import Parameterfrom openvino._pyopenvino.op import tensor_iterator+from openvino.package_utils import deprecatedfrom openvino.utils.decorators import binary_opfrom openvino.utils.decorators import nameable_opfrom openvino.utils.decorators import unary_opfrom openvino.utils.input_validation import check_valid_attributesfrom openvino.utils.input_validation import is_non_negative_valuefrom openvino.utils.input_validation import is_positive_value-from openvino.utils.node_factory import _get_node_factoryfrom openvino.utils.node_factory import NodeFactory+from openvino.utils.node_factory import _get_node_factoryfrom openvino.utils.types import as_nodefrom openvino.utils.types import as_nodesfrom openvino.utils.types import get_dtype@@ -31,6 +28,9 @@ import numpy as npimport openvino._pyopenvinoimport openvino._pyopenvino.opimport typing+"""+Factory functions for all openvino ops.+"""__all__ = ['Constant', 'Node', 'NodeFactory', 'NodeInput', 'NumericData', 'NumericType', 'Parameter', 'PartialShape', 'ScalarData', 'TensorShape', 'Type', 'absolute', 'acos', 'add', 'as_node', 'as_nodes', 'asin', 'atan', 'avg_pool', 'batch_norm_inference', 'binary_convolution', 'binary_op', 'broadcast', 'ceiling', 'check_valid_attributes', 'clamp', 'concat', 'constant', 'convert', 'convert_like', 'convolution', 'convolution_backprop_data', 'cos', 'cosh', 'ctc_greedy_decoder', 'deformable_convolution', 'deformable_psroi_pooling', 'deprecated', 'depth_to_space', 'detection_output', 'divide', 'elu', 'equal', 'erf', 'exp', 'fake_quantize', 'floor', 'floor_mod', 'gather', 'gather_tree', 'get_args', 'get_dtype', 'get_element_type', 'get_element_type_str', 'greater', 'greater_equal', 'grn', 'group_convolution', 'group_convolution_backprop_data', 'hard_sigmoid', 'interpolate', 'is_non_negative_value', 'is_positive_value', 'less', 'less_equal', 'log', 'logical_and', 'logical_not', 'logical_or', 'logical_xor', 'lrn', 'lstm_cell', 'make_constant_node', 'matmul', 'max_pool', 'maximum', 'minimum', 'mod', 'multiply', 'nameable_op', 'negative', 'non_max_suppression', 'normalize_l2', 'not_equal', 'np', 'one_hot', 'pad', 'parameter', 'partial', 'power', 'prelu', 'prior_box', 'prior_box_clustered', 'proposal', 'psroi_pooling', 'range', 'reduce_logical_and', 'reduce_logical_or', 'reduce_max', 'reduce_mean', 'reduce_min', 'reduce_prod', 'reduce_sum', 'region_yolo', 'relu', 'reshape', 'result', 'reverse_sequence', 'select', 'selu', 'shape_of', 'sigmoid', 'sign', 'sin', 'sinh', 'softmax', 'space_to_depth', 'split', 'sqrt', 'squared_difference', 'squeeze', 'strided_slice', 'subtract', 'tan', 'tanh', 'tensor_iterator', 'tile', 'topk', 'transpose', 'unary_op', 'unsqueeze', 'variadic_split']def absolute(input_value, *args, **kwargs) -> openvino._pyopenvino.Node:"""diff --git a/src/bindings/python/src/openvino/opset10/__init__.pyi b/src/bindings/python/src/openvino/opset10/__init__.pyiindex c9c5a5ac6bf..85b9157933d 100644--- a/src/bindings/python/src/openvino/opset10/__init__.pyi+++ b/src/bindings/python/src/openvino/opset10/__init__.pyi@@ -1,11 +1,10 @@# type: ignore-from __future__ import annotationsfrom . import ops-from openvino.opset10.ops import interpolate-from openvino.opset10.ops import is_finite-from openvino.opset10.ops import is_inf-from openvino.opset10.ops import is_nan-from openvino.opset10.ops import unique+from __future__ import annotations+from openvino._pyopenvino.op import assign+from openvino._pyopenvino.op import if_op+from openvino._pyopenvino.op import loop+from openvino._pyopenvino.op import tensor_iteratorfrom openvino.opset1.ops import absolutefrom openvino.opset1.ops import absolute as absfrom openvino.opset1.ops import acos@@ -98,6 +97,11 @@ from openvino.opset1.ops import tilefrom openvino.opset1.ops import transposefrom openvino.opset1.ops import unsqueezefrom openvino.opset1.ops import variadic_split+from openvino.opset10.ops import interpolate+from openvino.opset10.ops import is_finite+from openvino.opset10.ops import is_inf+from openvino.opset10.ops import is_nan+from openvino.opset10.ops import uniquefrom openvino.opset2.ops import batch_to_spacefrom openvino.opset2.ops import reorg_yolofrom openvino.opset2.ops import roi_pooling@@ -171,10 +175,6 @@ from openvino.opset9.ops import non_max_suppressionfrom openvino.opset9.ops import rdftfrom openvino.opset9.ops import roi_alignfrom openvino.opset9.ops import softsign-from openvino._pyopenvino.op import assign-from openvino._pyopenvino.op import if_op-from openvino._pyopenvino.op import loop-from openvino._pyopenvino.op import tensor_iteratorimport openvino.utils.decorators__all__ = ['abs', 'absolute', 'acos', 'acosh', 'adaptive_avg_pool', 'adaptive_max_pool', 'add', 'asin', 'asinh', 'assign', 'atan', 'atanh', 'avg_pool', 'batch_norm_inference', 'batch_to_space', 'binary_convolution', 'broadcast', 'bucketize', 'ceil', 'ceiling', 'clamp', 'concat', 'constant', 'convert', 'convert_like', 'convolution', 'convolution_backprop_data', 'cos', 'cosh', 'ctc_greedy_decoder', 'ctc_greedy_decoder_seq_len', 'ctc_loss', 'cum_sum', 'cumsum', 'deformable_convolution', 'deformable_psroi_pooling', 'depth_to_space', 'detection_output', 'dft', 'divide', 'einsum', 'elu', 'embedding_bag_offsets_sum', 'embedding_bag_packed_sum', 'embedding_segments_sum', 'equal', 'erf', 'exp', 'extract_image_patches', 'eye', 'fake_quantize', 'floor', 'floor_mod', 'gather', 'gather_elements', 'gather_nd', 'gather_tree', 'gelu', 'generate_proposals', 'greater', 'greater_equal', 'grid_sample', 'grn', 'group_convolution', 'group_convolution_backprop_data', 'gru_cell', 'gru_sequence', 'hard_sigmoid', 'hsigmoid', 'hswish', 'i420_to_bgr', 'i420_to_rgb', 'idft', 'if_op', 'interpolate', 'irdft', 'is_finite', 'is_inf', 'is_nan', 'less', 'less_equal', 'log', 'log_softmax', 'logical_and', 'logical_not', 'logical_or', 'logical_xor', 'loop', 'lrn', 'lstm_cell', 'lstm_sequence', 'matmul', 'matrix_nms', 'max_pool', 'maximum', 'minimum', 'mish', 'mod', 'multiclass_nms', 'multiply', 'mvn', 'negative', 'non_max_suppression', 'non_zero', 'normalize_l2', 'not_equal', 'nv12_to_bgr', 'nv12_to_rgb', 'one_hot', 'ops', 'pad', 'parameter', 'power', 'prelu', 'prior_box', 'prior_box_clustered', 'proposal', 'psroi_pooling', 'random_uniform', 'range', 'rdft', 'read_value', 'reduce_l1', 'reduce_l2', 'reduce_logical_and', 'reduce_logical_or', 'reduce_max', 'reduce_mean', 'reduce_min', 'reduce_prod', 'reduce_sum', 'region_yolo', 'relu', 'reorg_yolo', 'reshape', 'result', 'reverse_sequence', 'rnn_cell', 'rnn_sequence', 'roi_align', 'roi_pooling', 'roll', 'round', 'scatter_elements_update', 'scatter_nd_update', 'scatter_update', 'select', 'selu', 'shape_of', 'shuffle_channels', 'sigmoid', 'sign', 'sin', 'sinh', 'slice', 'softmax', 'softplus', 'softsign', 'space_to_batch', 'space_to_depth', 'split', 'sqrt', 'squared_difference', 'squeeze', 'strided_slice', 'subtract', 'swish', 'tan', 'tanh', 'tensor_iterator', 'tile', 'topk', 'transpose', 'unique', 'unsqueeze', 'variadic_split']read_value: openvino.utils.decorators.MultiMethod # value = <openvino.utils.decorators.MultiMethod object>diff --git a/src/bindings/python/src/openvino/opset10/ops.pyi b/src/bindings/python/src/openvino/opset10/ops.pyiindex d31d8d160fd..8b3d4c1f6c8 100644--- a/src/bindings/python/src/openvino/opset10/ops.pyi+++ b/src/bindings/python/src/openvino/opset10/ops.pyi@@ -1,9 +1,6 @@# type: ignore-"""-Factory functions for all openvino ops.-"""-from functools import partialfrom __future__ import annotations+from functools import partialfrom openvino._pyopenvino import Nodefrom openvino.utils.decorators import nameable_opfrom openvino.utils.node_factory import _get_node_factory@@ -13,6 +10,9 @@ from openvino.utils.types import make_constant_nodeimport functoolsimport openvino._pyopenvinoimport typing+"""+Factory functions for all openvino ops.+"""__all__ = ['Node', 'NodeInput', 'as_node', 'as_nodes', 'interpolate', 'is_finite', 'is_inf', 'is_nan', 'make_constant_node', 'nameable_op', 'partial', 'unique']def interpolate(*args, **kwargs) -> openvino._pyopenvino.Node:"""diff --git a/src/bindings/python/src/openvino/opset11/__init__.pyi b/src/bindings/python/src/openvino/opset11/__init__.pyiindex 85fc79e445b..dbc894755c6 100644--- a/src/bindings/python/src/openvino/opset11/__init__.pyi+++ b/src/bindings/python/src/openvino/opset11/__init__.pyi@@ -1,12 +1,10 @@# type: ignore-from __future__ import annotationsfrom . import ops-from openvino.opset10.ops import is_finite-from openvino.opset10.ops import is_inf-from openvino.opset10.ops import is_nan-from openvino.opset10.ops import unique-from openvino.opset11.ops import interpolate-from openvino.opset11.ops import topk+from __future__ import annotations+from openvino._pyopenvino.op import assign+from openvino._pyopenvino.op import if_op+from openvino._pyopenvino.op import loop+from openvino._pyopenvino.op import tensor_iteratorfrom openvino.opset1.ops import absolutefrom openvino.opset1.ops import absolute as absfrom openvino.opset1.ops import acos@@ -99,6 +97,12 @@ from openvino.opset1.ops import tilefrom openvino.opset1.ops import transposefrom openvino.opset1.ops import unsqueezefrom openvino.opset1.ops import variadic_split+from openvino.opset10.ops import is_finite+from openvino.opset10.ops import is_inf+from openvino.opset10.ops import is_nan+from openvino.opset10.ops import unique+from openvino.opset11.ops import interpolate+from openvino.opset11.ops import topkfrom openvino.opset2.ops import batch_to_spacefrom openvino.opset2.ops import reorg_yolofrom openvino.opset2.ops import roi_pooling@@ -171,10 +175,6 @@ from openvino.opset9.ops import non_max_suppressionfrom openvino.opset9.ops import rdftfrom openvino.opset9.ops import roi_alignfrom openvino.opset9.ops import softsign-from openvino._pyopenvino.op import assign-from openvino._pyopenvino.op import if_op-from openvino._pyopenvino.op import loop-from openvino._pyopenvino.op import tensor_iteratorimport openvino.utils.decorators__all__ = ['abs', 'absolute', 'acos', 'acosh', 'adaptive_avg_pool', 'adaptive_max_pool', 'add', 'asin', 'asinh', 'assign', 'atan', 'atanh', 'avg_pool', 'batch_norm_inference', 'batch_to_space', 'binary_convolution', 'broadcast', 'bucketize', 'ceil', 'ceiling', 'clamp', 'concat', 'constant', 'convert', 'convert_like', 'convolution', 'convolution_backprop_data', 'cos', 'cosh', 'ctc_greedy_decoder', 'ctc_greedy_decoder_seq_len', 'ctc_loss', 'cum_sum', 'cumsum', 'deformable_convolution', 'deformable_psroi_pooling', 'depth_to_space', 'detection_output', 'dft', 'divide', 'einsum', 'elu', 'embedding_bag_offsets_sum', 'embedding_bag_packed_sum', 'embedding_segments_sum', 'equal', 'erf', 'exp', 'extract_image_patches', 'eye', 'fake_quantize', 'floor', 'floor_mod', 'gather', 'gather_elements', 'gather_nd', 'gather_tree', 'gelu', 'generate_proposals', 'greater', 'greater_equal', 'grid_sample', 'grn', 'group_convolution', 'group_convolution_backprop_data', 'gru_cell', 'gru_sequence', 'hard_sigmoid', 'hsigmoid', 'hswish', 'i420_to_bgr', 'i420_to_rgb', 'idft', 'if_op', 'interpolate', 'irdft', 'is_finite', 'is_inf', 'is_nan', 'less', 'less_equal', 'log', 'log_softmax', 'logical_and', 'logical_not', 'logical_or', 'logical_xor', 'loop', 'lrn', 'lstm_cell', 'lstm_sequence', 'matmul', 'matrix_nms', 'max_pool', 'maximum', 'minimum', 'mish', 'mod', 'multiclass_nms', 'multiply', 'mvn', 'negative', 'non_max_suppression', 'non_zero', 'normalize_l2', 'not_equal', 'nv12_to_bgr', 'nv12_to_rgb', 'one_hot', 'ops', 'pad', 'parameter', 'power', 'prelu', 'prior_box', 'prior_box_clustered', 'proposal', 'psroi_pooling', 'random_uniform', 'range', 'rdft', 'read_value', 'reduce_l1', 'reduce_l2', 'reduce_logical_and', 'reduce_logical_or', 'reduce_max', 'reduce_mean', 'reduce_min', 'reduce_prod', 'reduce_sum', 'region_yolo', 'relu', 'reorg_yolo', 'reshape', 'result', 'reverse_sequence', 'rnn_cell', 'rnn_sequence', 'roi_align', 'roi_pooling', 'roll', 'round', 'scatter_elements_update', 'scatter_nd_update', 'scatter_update', 'select', 'selu', 'shape_of', 'shuffle_channels', 'sigmoid', 'sign', 'sin', 'sinh', 'slice', 'softmax', 'softplus', 'softsign', 'space_to_batch', 'space_to_depth', 'split', 'sqrt', 'squared_difference', 'squeeze', 'strided_slice', 'subtract', 'swish', 'tan', 'tanh', 'tensor_iterator', 'tile', 'topk', 'transpose', 'unique', 'unsqueeze', 'variadic_split']read_value: openvino.utils.decorators.MultiMethod # value = <openvino.utils.decorators.MultiMethod object>diff --git a/src/bindings/python/src/openvino/opset11/ops.pyi b/src/bindings/python/src/openvino/opset11/ops.pyiindex 33a8a95aef0..fdcf3d93dd9 100644--- a/src/bindings/python/src/openvino/opset11/ops.pyi+++ b/src/bindings/python/src/openvino/opset11/ops.pyi@@ -1,9 +1,6 @@# type: ignore-"""-Factory functions for all openvino ops.-"""-from functools import partialfrom __future__ import annotations+from functools import partialfrom openvino._pyopenvino import Nodefrom openvino.utils.decorators import nameable_opfrom openvino.utils.node_factory import _get_node_factory@@ -11,6 +8,9 @@ from openvino.utils.types import as_nodesimport functoolsimport openvino._pyopenvinoimport typing+"""+Factory functions for all openvino ops.+"""__all__ = ['Node', 'NodeInput', 'as_nodes', 'interpolate', 'nameable_op', 'partial', 'topk']def interpolate(*args, **kwargs) -> openvino._pyopenvino.Node:"""diff --git a/src/bindings/python/src/openvino/opset12/__init__.pyi b/src/bindings/python/src/openvino/opset12/__init__.pyiindex 18cc0035683..d20e6881ffb 100644--- a/src/bindings/python/src/openvino/opset12/__init__.pyi+++ b/src/bindings/python/src/openvino/opset12/__init__.pyi@@ -1,15 +1,10 @@# type: ignore-from __future__ import annotationsfrom . import ops-from openvino.opset10.ops import is_finite-from openvino.opset10.ops import is_inf-from openvino.opset10.ops import is_nan-from openvino.opset10.ops import unique-from openvino.opset11.ops import interpolate-from openvino.opset11.ops import topk-from openvino.opset12.ops import group_normalization-from openvino.opset12.ops import pad-from openvino.opset12.ops import scatter_elements_update+from __future__ import annotations+from openvino._pyopenvino.op import assign+from openvino._pyopenvino.op import if_op+from openvino._pyopenvino.op import loop+from openvino._pyopenvino.op import tensor_iteratorfrom openvino.opset1.ops import absolutefrom openvino.opset1.ops import absolute as absfrom openvino.opset1.ops import acos@@ -100,6 +95,15 @@ from openvino.opset1.ops import tilefrom openvino.opset1.ops import transposefrom openvino.opset1.ops import unsqueezefrom openvino.opset1.ops import variadic_split+from openvino.opset10.ops import is_finite+from openvino.opset10.ops import is_inf+from openvino.opset10.ops import is_nan+from openvino.opset10.ops import unique+from openvino.opset11.ops import interpolate+from openvino.opset11.ops import topk+from openvino.opset12.ops import group_normalization+from openvino.opset12.ops import pad+from openvino.opset12.ops import scatter_elements_updatefrom openvino.opset2.ops import batch_to_spacefrom openvino.opset2.ops import reorg_yolofrom openvino.opset2.ops import roi_pooling@@ -172,10 +176,6 @@ from openvino.opset9.ops import non_max_suppressionfrom openvino.opset9.ops import rdftfrom openvino.opset9.ops import roi_alignfrom openvino.opset9.ops import softsign-from openvino._pyopenvino.op import assign-from openvino._pyopenvino.op import if_op-from openvino._pyopenvino.op import loop-from openvino._pyopenvino.op import tensor_iteratorimport openvino.utils.decorators__all__ = ['abs', 'absolute', 'acos', 'acosh', 'adaptive_avg_pool', 'adaptive_max_pool', 'add', 'asin', 'asinh', 'assign', 'atan', 'atanh', 'avg_pool', 'batch_norm_inference', 'batch_to_space', 'binary_convolution', 'broadcast', 'bucketize', 'ceil', 'ceiling', 'clamp', 'concat', 'constant', 'convert', 'convert_like', 'convolution', 'convolution_backprop_data', 'cos', 'cosh', 'ctc_greedy_decoder', 'ctc_greedy_decoder_seq_len', 'ctc_loss', 'cum_sum', 'cumsum', 'deformable_convolution', 'deformable_psroi_pooling', 'depth_to_space', 'detection_output', 'dft', 'divide', 'einsum', 'elu', 'embedding_bag_offsets_sum', 'embedding_bag_packed_sum', 'embedding_segments_sum', 'equal', 'erf', 'exp', 'extract_image_patches', 'eye', 'fake_quantize', 'floor', 'floor_mod', 'gather', 'gather_elements', 'gather_nd', 'gather_tree', 'gelu', 'generate_proposals', 'greater', 'greater_equal', 'grid_sample', 'grn', 'group_convolution', 'group_convolution_backprop_data', 'group_normalization', 'gru_cell', 'gru_sequence', 'hard_sigmoid', 'hsigmoid', 'hswish', 'i420_to_bgr', 'i420_to_rgb', 'idft', 'if_op', 'interpolate', 'irdft', 'is_finite', 'is_inf', 'is_nan', 'less', 'less_equal', 'log', 'log_softmax', 'logical_and', 'logical_not', 'logical_or', 'logical_xor', 'loop', 'lrn', 'lstm_cell', 'lstm_sequence', 'matmul', 'matrix_nms', 'max_pool', 'maximum', 'minimum', 'mish', 'mod', 'multiclass_nms', 'multiply', 'mvn', 'negative', 'non_max_suppression', 'non_zero', 'normalize_l2', 'not_equal', 'nv12_to_bgr', 'nv12_to_rgb', 'one_hot', 'ops', 'pad', 'parameter', 'power', 'prelu', 'prior_box', 'prior_box_clustered', 'proposal', 'psroi_pooling', 'random_uniform', 'range', 'rdft', 'read_value', 'reduce_l1', 'reduce_l2', 'reduce_logical_and', 'reduce_logical_or', 'reduce_max', 'reduce_mean', 'reduce_min', 'reduce_prod', 'reduce_sum', 'region_yolo', 'relu', 'reorg_yolo', 'reshape', 'result', 'reverse_sequence', 'rnn_cell', 'rnn_sequence', 'roi_align', 'roi_pooling', 'roll', 'round', 'scatter_elements_update', 'scatter_nd_update', 'scatter_update', 'select', 'selu', 'shape_of', 'shuffle_channels', 'sigmoid', 'sign', 'sin', 'sinh', 'slice', 'softmax', 'softplus', 'softsign', 'space_to_batch', 'space_to_depth', 'split', 'sqrt', 'squared_difference', 'squeeze', 'strided_slice', 'subtract', 'swish', 'tan', 'tanh', 'tensor_iterator', 'tile', 'topk', 'transpose', 'unique', 'unsqueeze', 'variadic_split']read_value: openvino.utils.decorators.MultiMethod # value = <openvino.utils.decorators.MultiMethod object>diff --git a/src/bindings/python/src/openvino/opset12/ops.pyi b/src/bindings/python/src/openvino/opset12/ops.pyiindex 92b0e48111c..7390f5f037f 100644--- a/src/bindings/python/src/openvino/opset12/ops.pyi+++ b/src/bindings/python/src/openvino/opset12/ops.pyi@@ -1,9 +1,6 @@# type: ignore-"""-Factory functions for all ngraph ops.-"""-from functools import partialfrom __future__ import annotations+from functools import partialfrom openvino._pyopenvino import Nodefrom openvino.utils.decorators import nameable_opfrom openvino.utils.node_factory import _get_node_factory@@ -12,6 +9,9 @@ from openvino.utils.types import as_nodesimport functoolsimport openvino._pyopenvinoimport typing+"""+Factory functions for all ngraph ops.+"""__all__ = ['Node', 'NodeInput', 'as_node', 'as_nodes', 'group_normalization', 'nameable_op', 'pad', 'partial', 'scatter_elements_update']def group_normalization(*args, **kwargs) -> openvino._pyopenvino.Node:"""diff --git a/src/bindings/python/src/openvino/opset13/__init__.pyi b/src/bindings/python/src/openvino/opset13/__init__.pyiindex 1ac74ef941b..ca002cade45 100644--- a/src/bindings/python/src/openvino/opset13/__init__.pyi+++ b/src/bindings/python/src/openvino/opset13/__init__.pyi@@ -1,25 +1,10 @@# type: ignore-from __future__ import annotationsfrom . import ops-from openvino.opset10.ops import is_finite-from openvino.opset10.ops import is_inf-from openvino.opset10.ops import is_nan-from openvino.opset10.ops import unique-from openvino.opset11.ops import interpolate-from openvino.opset11.ops import topk-from openvino.opset12.ops import group_normalization-from openvino.opset12.ops import pad-from openvino.opset12.ops import scatter_elements_update-from openvino.opset13.ops import bitwise_and-from openvino.opset13.ops import bitwise_not-from openvino.opset13.ops import bitwise_or-from openvino.opset13.ops import bitwise_xor-from openvino.opset13.ops import fake_convert-from openvino.opset13.ops import fake_quantize-from openvino.opset13.ops import multinomial-from openvino.opset13.ops import nms_rotated-from openvino.opset13.ops import result-from openvino.opset13.ops import scaled_dot_product_attention+from __future__ import annotations+from openvino._pyopenvino.op import assign+from openvino._pyopenvino.op import if_op+from openvino._pyopenvino.op import loop+from openvino._pyopenvino.op import tensor_iteratorfrom openvino.opset1.ops import absolutefrom openvino.opset1.ops import absolute as absfrom openvino.opset1.ops import acos@@ -107,6 +92,25 @@ from openvino.opset1.ops import tilefrom openvino.opset1.ops import transposefrom openvino.opset1.ops import unsqueezefrom openvino.opset1.ops import variadic_split+from openvino.opset10.ops import is_finite+from openvino.opset10.ops import is_inf+from openvino.opset10.ops import is_nan+from openvino.opset10.ops import unique+from openvino.opset11.ops import interpolate+from openvino.opset11.ops import topk+from openvino.opset12.ops import group_normalization+from openvino.opset12.ops import pad+from openvino.opset12.ops import scatter_elements_update+from openvino.opset13.ops import bitwise_and+from openvino.opset13.ops import bitwise_not+from openvino.opset13.ops import bitwise_or+from openvino.opset13.ops import bitwise_xor+from openvino.opset13.ops import fake_convert+from openvino.opset13.ops import fake_quantize+from openvino.opset13.ops import multinomial+from openvino.opset13.ops import nms_rotated+from openvino.opset13.ops import result+from openvino.opset13.ops import scaled_dot_product_attentionfrom openvino.opset2.ops import batch_to_spacefrom openvino.opset2.ops import reorg_yolofrom openvino.opset2.ops import roi_pooling@@ -179,10 +183,6 @@ from openvino.opset9.ops import non_max_suppressionfrom openvino.opset9.ops import rdftfrom openvino.opset9.ops import roi_alignfrom openvino.opset9.ops import softsign-from openvino._pyopenvino.op import assign-from openvino._pyopenvino.op import if_op-from openvino._pyopenvino.op import loop-from openvino._pyopenvino.op import tensor_iteratorimport openvino.utils.decorators__all__ = ['abs', 'absolute', 'acos', 'acosh', 'adaptive_avg_pool', 'adaptive_max_pool', 'add', 'asin', 'asinh', 'assign', 'atan', 'atanh', 'avg_pool', 'batch_norm_inference', 'batch_to_space', 'binary_convolution', 'bitwise_and', 'bitwise_not', 'bitwise_or', 'bitwise_xor', 'broadcast', 'bucketize', 'ceil', 'ceiling', 'clamp', 'concat', 'constant', 'convert', 'convert_like', 'convolution', 'convolution_backprop_data', 'cos', 'cosh', 'ctc_greedy_decoder', 'ctc_greedy_decoder_seq_len', 'ctc_loss', 'cum_sum', 'cumsum', 'deformable_convolution', 'deformable_psroi_pooling', 'depth_to_space', 'detection_output', 'dft', 'divide', 'einsum', 'elu', 'embedding_bag_offsets_sum', 'embedding_bag_packed_sum', 'embedding_segments_sum', 'equal', 'erf', 'exp', 'extract_image_patches', 'eye', 'fake_convert', 'fake_quantize', 'floor', 'floor_mod', 'gather', 'gather_elements', 'gather_nd', 'gather_tree', 'gelu', 'generate_proposals', 'greater', 'greater_equal', 'grid_sample', 'grn', 'group_convolution', 'group_convolution_backprop_data', 'group_normalization', 'gru_cell', 'gru_sequence', 'hard_sigmoid', 'hsigmoid', 'hswish', 'i420_to_bgr', 'i420_to_rgb', 'idft', 'if_op', 'interpolate', 'irdft', 'is_finite', 'is_inf', 'is_nan', 'less', 'less_equal', 'log', 'log_softmax', 'logical_and', 'logical_not', 'logical_or', 'logical_xor', 'loop', 'lrn', 'lstm_cell', 'lstm_sequence', 'matmul', 'matrix_nms', 'max_pool', 'maximum', 'minimum', 'mish', 'mod', 'multiclass_nms', 'multinomial', 'multiply', 'mvn', 'negative', 'nms_rotated', 'non_max_suppression', 'non_zero', 'normalize_l2', 'not_equal', 'nv12_to_bgr', 'nv12_to_rgb', 'one_hot', 'ops', 'pad', 'parameter', 'power', 'prelu', 'prior_box', 'prior_box_clustered', 'proposal', 'psroi_pooling', 'random_uniform', 'range', 'rdft', 'read_value', 'reduce_l1', 'reduce_l2', 'reduce_logical_and', 'reduce_logical_or', 'reduce_max', 'reduce_mean', 'reduce_min', 'reduce_prod', 'reduce_sum', 'region_yolo', 'relu', 'reorg_yolo', 'reshape', 'result', 'reverse_sequence', 'rnn_cell', 'rnn_sequence', 'roi_align', 'roi_pooling', 'roll', 'round', 'scaled_dot_product_attention', 'scatter_elements_update', 'scatter_nd_update', 'scatter_update', 'select', 'selu', 'shape_of', 'shuffle_channels', 'sigmoid', 'sign', 'sin', 'sinh', 'slice', 'softmax', 'softplus', 'softsign', 'space_to_batch', 'space_to_depth', 'split', 'sqrt', 'squared_difference', 'squeeze', 'strided_slice', 'subtract', 'swish', 'tan', 'tanh', 'tensor_iterator', 'tile', 'topk', 'transpose', 'unique', 'unsqueeze', 'variadic_split']constant: openvino.utils.decorators.MultiMethod # value = <openvino.utils.decorators.MultiMethod object>diff --git a/src/bindings/python/src/openvino/opset13/ops.pyi b/src/bindings/python/src/openvino/opset13/ops.pyiindex 07e10dd9eaa..0e5dd8ad663 100644--- a/src/bindings/python/src/openvino/opset13/ops.pyi+++ b/src/bindings/python/src/openvino/opset13/ops.pyi@@ -1,11 +1,7 @@# type: ignore-"""-Factory functions for ops added to openvino opset13.-"""+from __future__ import annotationsfrom functools import partialfrom functools import singledispatch-from __future__ import annotations-from openvino.opset1.ops import convert_likefrom openvino._pyopenvino import Nodefrom openvino._pyopenvino import Outputfrom openvino._pyopenvino import Shape@@ -13,6 +9,7 @@ from openvino._pyopenvino import Tensorfrom openvino._pyopenvino import Typefrom openvino._pyopenvino.op import Constantfrom openvino._pyopenvino.op import Result+from openvino.opset1.ops import convert_likefrom openvino.utils.decorators import binary_opfrom openvino.utils.decorators import nameable_opfrom openvino.utils.decorators import overloading@@ -26,6 +23,9 @@ import numpy as npimport openvino._pyopenvinoimport openvino.utils.decoratorsimport typing+"""+Factory functions for ops added to openvino opset13.+"""__all__ = ['Constant', 'Node', 'NodeInput', 'NumericData', 'NumericType', 'Output', 'Result', 'Shape', 'Tensor', 'Type', 'as_node', 'as_nodes', 'binary_op', 'bitwise_and', 'bitwise_not', 'bitwise_or', 'bitwise_xor', 'constant', 'convert_like', 'fake_convert', 'fake_quantize', 'log', 'logging', 'multinomial', 'nameable_op', 'nms_rotated', 'np', 'overloading', 'partial', 'result', 'scaled_dot_product_attention', 'singledispatch', 'unary_op']def bitwise_and(left, right, *args, **kwargs) -> openvino._pyopenvino.Node:"""diff --git a/src/bindings/python/src/openvino/opset14/__init__.pyi b/src/bindings/python/src/openvino/opset14/__init__.pyiindex ea6c06d2096..6a52443a245 100644--- a/src/bindings/python/src/openvino/opset14/__init__.pyi+++ b/src/bindings/python/src/openvino/opset14/__init__.pyi@@ -1,29 +1,10 @@# type: ignore-from __future__ import annotationsfrom . import ops-from openvino.opset10.ops import is_finite-from openvino.opset10.ops import is_inf-from openvino.opset10.ops import is_nan-from openvino.opset10.ops import unique-from openvino.opset11.ops import interpolate-from openvino.opset11.ops import topk-from openvino.opset12.ops import group_normalization-from openvino.opset12.ops import pad-from openvino.opset12.ops import scatter_elements_update-from openvino.opset13.ops import bitwise_and-from openvino.opset13.ops import bitwise_not-from openvino.opset13.ops import bitwise_or-from openvino.opset13.ops import bitwise_xor-from openvino.opset13.ops import fake_convert-from openvino.opset13.ops import fake_quantize-from openvino.opset13.ops import multinomial-from openvino.opset13.ops import nms_rotated-from openvino.opset13.ops import result-from openvino.opset13.ops import scaled_dot_product_attention-from openvino.opset14.ops import avg_pool-from openvino.opset14.ops import convert_promote_types-from openvino.opset14.ops import inverse-from openvino.opset14.ops import max_pool+from __future__ import annotations+from openvino._pyopenvino.op import assign+from openvino._pyopenvino.op import if_op+from openvino._pyopenvino.op import loop+from openvino._pyopenvino.op import tensor_iteratorfrom openvino.opset1.ops import absolutefrom openvino.opset1.ops import absolute as absfrom openvino.opset1.ops import acos@@ -110,6 +91,29 @@ from openvino.opset1.ops import tilefrom openvino.opset1.ops import transposefrom openvino.opset1.ops import unsqueezefrom openvino.opset1.ops import variadic_split+from openvino.opset10.ops import is_finite+from openvino.opset10.ops import is_inf+from openvino.opset10.ops import is_nan+from openvino.opset10.ops import unique+from openvino.opset11.ops import interpolate+from openvino.opset11.ops import topk+from openvino.opset12.ops import group_normalization+from openvino.opset12.ops import pad+from openvino.opset12.ops import scatter_elements_update+from openvino.opset13.ops import bitwise_and+from openvino.opset13.ops import bitwise_not+from openvino.opset13.ops import bitwise_or+from openvino.opset13.ops import bitwise_xor+from openvino.opset13.ops import fake_convert+from openvino.opset13.ops import fake_quantize+from openvino.opset13.ops import multinomial+from openvino.opset13.ops import nms_rotated+from openvino.opset13.ops import result+from openvino.opset13.ops import scaled_dot_product_attention+from openvino.opset14.ops import avg_pool+from openvino.opset14.ops import convert_promote_types+from openvino.opset14.ops import inverse+from openvino.opset14.ops import max_poolfrom openvino.opset2.ops import batch_to_spacefrom openvino.opset2.ops import reorg_yolofrom openvino.opset2.ops import roi_pooling@@ -181,10 +185,6 @@ from openvino.opset9.ops import non_max_suppressionfrom openvino.opset9.ops import rdftfrom openvino.opset9.ops import roi_alignfrom openvino.opset9.ops import softsign-from openvino._pyopenvino.op import assign-from openvino._pyopenvino.op import if_op-from openvino._pyopenvino.op import loop-from openvino._pyopenvino.op import tensor_iteratorimport openvino.utils.decorators__all__ = ['abs', 'absolute', 'acos', 'acosh', 'adaptive_avg_pool', 'adaptive_max_pool', 'add', 'asin', 'asinh', 'assign', 'atan', 'atanh', 'avg_pool', 'batch_norm_inference', 'batch_to_space', 'binary_convolution', 'bitwise_and', 'bitwise_not', 'bitwise_or', 'bitwise_xor', 'broadcast', 'bucketize', 'ceil', 'ceiling', 'clamp', 'concat', 'constant', 'convert', 'convert_like', 'convert_promote_types', 'convolution', 'convolution_backprop_data', 'cos', 'cosh', 'ctc_greedy_decoder', 'ctc_greedy_decoder_seq_len', 'ctc_loss', 'cum_sum', 'cumsum', 'deformable_convolution', 'deformable_psroi_pooling', 'depth_to_space', 'detection_output', 'dft', 'divide', 'einsum', 'elu', 'embedding_bag_offsets_sum', 'embedding_bag_packed_sum', 'embedding_segments_sum', 'equal', 'erf', 'exp', 'extract_image_patches', 'eye', 'fake_convert', 'fake_quantize', 'floor', 'floor_mod', 'gather', 'gather_elements', 'gather_nd', 'gather_tree', 'gelu', 'generate_proposals', 'greater', 'greater_equal', 'grid_sample', 'grn', 'group_convolution', 'group_convolution_backprop_data', 'group_normalization', 'gru_cell', 'gru_sequence', 'hard_sigmoid', 'hsigmoid', 'hswish', 'i420_to_bgr', 'i420_to_rgb', 'idft', 'if_op', 'interpolate', 'inverse', 'irdft', 'is_finite', 'is_inf', 'is_nan', 'less', 'less_equal', 'log', 'log_softmax', 'logical_and', 'logical_not', 'logical_or', 'logical_xor', 'loop', 'lrn', 'lstm_cell', 'lstm_sequence', 'matmul', 'matrix_nms', 'max_pool', 'maximum', 'minimum', 'mish', 'mod', 'multiclass_nms', 'multinomial', 'multiply', 'mvn', 'negative', 'nms_rotated', 'non_max_suppression', 'non_zero', 'normalize_l2', 'not_equal', 'nv12_to_bgr', 'nv12_to_rgb', 'one_hot', 'ops', 'pad', 'parameter', 'power', 'prelu', 'prior_box', 'prior_box_clustered', 'proposal', 'psroi_pooling', 'random_uniform', 'range', 'rdft', 'read_value', 'reduce_l1', 'reduce_l2', 'reduce_logical_and', 'reduce_logical_or', 'reduce_max', 'reduce_mean', 'reduce_min', 'reduce_prod', 'reduce_sum', 'region_yolo', 'relu', 'reorg_yolo', 'reshape', 'result', 'reverse_sequence', 'rnn_cell', 'rnn_sequence', 'roi_align', 'roi_pooling', 'roll', 'round', 'scaled_dot_product_attention', 'scatter_elements_update', 'scatter_nd_update', 'scatter_update', 'select', 'selu', 'shape_of', 'shuffle_channels', 'sigmoid', 'sign', 'sin', 'sinh', 'slice', 'softmax', 'softplus', 'softsign', 'space_to_batch', 'space_to_depth', 'split', 'sqrt', 'squared_difference', 'squeeze', 'strided_slice', 'subtract', 'swish', 'tan', 'tanh', 'tensor_iterator', 'tile', 'topk', 'transpose', 'unique', 'unsqueeze', 'variadic_split']constant: openvino.utils.decorators.MultiMethod # value = <openvino.utils.decorators.MultiMethod object>diff --git a/src/bindings/python/src/openvino/opset14/ops.pyi b/src/bindings/python/src/openvino/opset14/ops.pyiindex 5ab7368a069..9e8449aeebe 100644--- a/src/bindings/python/src/openvino/opset14/ops.pyi+++ b/src/bindings/python/src/openvino/opset14/ops.pyi@@ -1,9 +1,6 @@# type: ignore-"""-Factory functions for ops added to openvino opset14.-"""-from functools import partialfrom __future__ import annotations+from functools import partialfrom openvino._pyopenvino import Nodefrom openvino._pyopenvino import Typefrom openvino.utils.decorators import nameable_op@@ -13,6 +10,9 @@ from openvino.utils.types import as_nodesimport functoolsimport openvino._pyopenvinoimport typing+"""+Factory functions for ops added to openvino opset14.+"""__all__ = ['Node', 'NodeInput', 'TensorShape', 'Type', 'as_node', 'as_nodes', 'avg_pool', 'convert_promote_types', 'inverse', 'max_pool', 'nameable_op', 'partial']def avg_pool(*args, **kwargs) -> openvino._pyopenvino.Node:"""diff --git a/src/bindings/python/src/openvino/opset15/__init__.pyi b/src/bindings/python/src/openvino/opset15/__init__.pyiindex 327d5362d8b..79ee1e8efb2 100644--- a/src/bindings/python/src/openvino/opset15/__init__.pyi+++ b/src/bindings/python/src/openvino/opset15/__init__.pyi@@ -1,42 +1,10 @@# type: ignore-from __future__ import annotationsfrom . import ops-from openvino.opset10.ops import is_finite-from openvino.opset10.ops import is_inf-from openvino.opset10.ops import is_nan-from openvino.opset10.ops import unique-from openvino.opset11.ops import interpolate-from openvino.opset11.ops import topk-from openvino.opset12.ops import group_normalization-from openvino.opset12.ops import pad-from openvino.opset12.ops import scatter_elements_update-from openvino.opset13.ops import bitwise_and-from openvino.opset13.ops import bitwise_not-from openvino.opset13.ops import bitwise_or-from openvino.opset13.ops import bitwise_xor-from openvino.opset13.ops import fake_convert-from openvino.opset13.ops import fake_quantize-from openvino.opset13.ops import multinomial-from openvino.opset13.ops import nms_rotated-from openvino.opset13.ops import result-from openvino.opset13.ops import scaled_dot_product_attention-from openvino.opset14.ops import avg_pool-from openvino.opset14.ops import convert_promote_types-from openvino.opset14.ops import inverse-from openvino.opset14.ops import max_pool-from openvino.opset15.ops import bitwise_left_shift-from openvino.opset15.ops import bitwise_right_shift-from openvino.opset15.ops import col2im-from openvino.opset15.ops import embedding_bag_offsets-from openvino.opset15.ops import embedding_bag_packed-from openvino.opset15.ops import roi_align_rotated-from openvino.opset15.ops import scatter_nd_update-from openvino.opset15.ops import search_sorted-from openvino.opset15.ops import slice_scatter-from openvino.opset15.ops import squeeze-from openvino.opset15.ops import stft-from openvino.opset15.ops import string_tensor_pack-from openvino.opset15.ops import string_tensor_unpack+from __future__ import annotations+from openvino._pyopenvino.op import assign+from openvino._pyopenvino.op import if_op+from openvino._pyopenvino.op import loop+from openvino._pyopenvino.op import tensor_iteratorfrom openvino.opset1.ops import absolutefrom openvino.opset1.ops import absolute as absfrom openvino.opset1.ops import acos@@ -122,6 +90,42 @@ from openvino.opset1.ops import tilefrom openvino.opset1.ops import transposefrom openvino.opset1.ops import unsqueezefrom openvino.opset1.ops import variadic_split+from openvino.opset10.ops import is_finite+from openvino.opset10.ops import is_inf+from openvino.opset10.ops import is_nan+from openvino.opset10.ops import unique+from openvino.opset11.ops import interpolate+from openvino.opset11.ops import topk+from openvino.opset12.ops import group_normalization+from openvino.opset12.ops import pad+from openvino.opset12.ops import scatter_elements_update+from openvino.opset13.ops import bitwise_and+from openvino.opset13.ops import bitwise_not+from openvino.opset13.ops import bitwise_or+from openvino.opset13.ops import bitwise_xor+from openvino.opset13.ops import fake_convert+from openvino.opset13.ops import fake_quantize+from openvino.opset13.ops import multinomial+from openvino.opset13.ops import nms_rotated+from openvino.opset13.ops import result+from openvino.opset13.ops import scaled_dot_product_attention+from openvino.opset14.ops import avg_pool+from openvino.opset14.ops import convert_promote_types+from openvino.opset14.ops import inverse+from openvino.opset14.ops import max_pool+from openvino.opset15.ops import bitwise_left_shift+from openvino.opset15.ops import bitwise_right_shift+from openvino.opset15.ops import col2im+from openvino.opset15.ops import embedding_bag_offsets+from openvino.opset15.ops import embedding_bag_packed+from openvino.opset15.ops import roi_align_rotated+from openvino.opset15.ops import scatter_nd_update+from openvino.opset15.ops import search_sorted+from openvino.opset15.ops import slice_scatter+from openvino.opset15.ops import squeeze+from openvino.opset15.ops import stft+from openvino.opset15.ops import string_tensor_pack+from openvino.opset15.ops import string_tensor_unpackfrom openvino.opset2.ops import batch_to_spacefrom openvino.opset2.ops import reorg_yolofrom openvino.opset2.ops import roi_pooling@@ -192,10 +196,6 @@ from openvino.opset9.ops import non_max_suppressionfrom openvino.opset9.ops import rdftfrom openvino.opset9.ops import roi_alignfrom openvino.opset9.ops import softsign-from openvino._pyopenvino.op import assign-from openvino._pyopenvino.op import if_op-from openvino._pyopenvino.op import loop-from openvino._pyopenvino.op import tensor_iteratorimport openvino.utils.decorators__all__ = ['abs', 'absolute', 'acos', 'acosh', 'adaptive_avg_pool', 'adaptive_max_pool', 'add', 'asin', 'asinh', 'assign', 'atan', 'atanh', 'avg_pool', 'batch_norm_inference', 'batch_to_space', 'binary_convolution', 'bitwise_and', 'bitwise_left_shift', 'bitwise_not', 'bitwise_or', 'bitwise_right_shift', 'bitwise_xor', 'broadcast', 'bucketize', 'ceil', 'ceiling', 'clamp', 'col2im', 'concat', 'constant', 'convert', 'convert_like', 'convert_promote_types', 'convolution', 'convolution_backprop_data', 'cos', 'cosh', 'ctc_greedy_decoder', 'ctc_greedy_decoder_seq_len', 'ctc_loss', 'cum_sum', 'cumsum', 'deformable_convolution', 'deformable_psroi_pooling', 'depth_to_space', 'detection_output', 'dft', 'divide', 'einsum', 'elu', 'embedding_bag_offsets', 'embedding_bag_offsets_sum', 'embedding_bag_packed', 'embedding_bag_packed_sum', 'embedding_segments_sum', 'equal', 'erf', 'exp', 'extract_image_patches', 'eye', 'fake_convert', 'fake_quantize', 'floor', 'floor_mod', 'gather', 'gather_elements', 'gather_nd', 'gather_tree', 'gelu', 'generate_proposals', 'greater', 'greater_equal', 'grid_sample', 'grn', 'group_convolution', 'group_convolution_backprop_data', 'group_normalization', 'gru_cell', 'gru_sequence', 'hard_sigmoid', 'hsigmoid', 'hswish', 'i420_to_bgr', 'i420_to_rgb', 'idft', 'if_op', 'interpolate', 'inverse', 'irdft', 'is_finite', 'is_inf', 'is_nan', 'less', 'less_equal', 'log', 'log_softmax', 'logical_and', 'logical_not', 'logical_or', 'logical_xor', 'loop', 'lrn', 'lstm_cell', 'lstm_sequence', 'matmul', 'matrix_nms', 'max_pool', 'maximum', 'minimum', 'mish', 'mod', 'multiclass_nms', 'multinomial', 'multiply', 'mvn', 'negative', 'nms_rotated', 'non_max_suppression', 'non_zero', 'normalize_l2', 'not_equal', 'nv12_to_bgr', 'nv12_to_rgb', 'one_hot', 'ops', 'pad', 'parameter', 'power', 'prelu', 'prior_box', 'prior_box_clustered', 'proposal', 'psroi_pooling', 'random_uniform', 'range', 'rdft', 'read_value', 'reduce_l1', 'reduce_l2', 'reduce_logical_and', 'reduce_logical_or', 'reduce_max', 'reduce_mean', 'reduce_min', 'reduce_prod', 'reduce_sum', 'region_yolo', 'relu', 'reorg_yolo', 'reshape', 'result', 'reverse_sequence', 'rnn_cell', 'rnn_sequence', 'roi_align', 'roi_align_rotated', 'roi_pooling', 'roll', 'round', 'scaled_dot_product_attention', 'scatter_elements_update', 'scatter_nd_update', 'scatter_update', 'search_sorted', 'select', 'selu', 'shape_of', 'shuffle_channels', 'sigmoid', 'sign', 'sin', 'sinh', 'slice', 'slice_scatter', 'softmax', 'softplus', 'softsign', 'space_to_batch', 'space_to_depth', 'split', 'sqrt', 'squared_difference', 'squeeze', 'stft', 'strided_slice', 'string_tensor_pack', 'string_tensor_unpack', 'subtract', 'swish', 'tan', 'tanh', 'tensor_iterator', 'tile', 'topk', 'transpose', 'unique', 'unsqueeze', 'variadic_split']constant: openvino.utils.decorators.MultiMethod # value = <openvino.utils.decorators.MultiMethod object>diff --git a/src/bindings/python/src/openvino/opset15/ops.pyi b/src/bindings/python/src/openvino/opset15/ops.pyiindex ad8d30bc924..8a4b95a70c2 100644--- a/src/bindings/python/src/openvino/opset15/ops.pyi+++ b/src/bindings/python/src/openvino/opset15/ops.pyi@@ -1,12 +1,9 @@# type: ignore-"""-Factory functions for ops added to openvino opset15.-"""-from functools import partialfrom __future__ import annotations-from openvino.opset1.ops import convert_like+from functools import partialfrom openvino._pyopenvino import Nodefrom openvino._pyopenvino import Type+from openvino.opset1.ops import convert_likefrom openvino.utils.decorators import binary_opfrom openvino.utils.decorators import nameable_opfrom openvino.utils.node_factory import _get_node_factory@@ -16,6 +13,9 @@ import numpy as npimport openvino._pyopenvinoimport openvino.utils.decoratorsimport typing+"""+Factory functions for ops added to openvino opset15.+"""__all__ = ['Node', 'NodeInput', 'Type', 'as_nodes', 'binary_op', 'bitwise_left_shift', 'bitwise_right_shift', 'col2im', 'constant', 'convert_like', 'embedding_bag_offsets', 'embedding_bag_packed', 'nameable_op', 'np', 'partial', 'roi_align_rotated', 'scatter_nd_update', 'search_sorted', 'slice_scatter', 'squeeze', 'stft', 'string_tensor_pack', 'string_tensor_unpack']def bitwise_left_shift(left, right, *args, **kwargs) -> openvino._pyopenvino.Node:"""diff --git a/src/bindings/python/src/openvino/opset16/__init__.pyi b/src/bindings/python/src/openvino/opset16/__init__.pyiindex 116a6525804..389eccc737b 100644--- a/src/bindings/python/src/openvino/opset16/__init__.pyi+++ b/src/bindings/python/src/openvino/opset16/__init__.pyi@@ -1,6 +1,6 @@# type: ignore-from __future__ import annotationsfrom . import ops+from __future__ import annotationsfrom openvino.opset16.ops import identityfrom openvino.opset16.ops import istftfrom openvino.opset16.ops import segment_maxdiff --git a/src/bindings/python/src/openvino/opset16/ops.pyi b/src/bindings/python/src/openvino/opset16/ops.pyiindex 12fbfbf270b..d3e4ed47753 100644--- a/src/bindings/python/src/openvino/opset16/ops.pyi+++ b/src/bindings/python/src/openvino/opset16/ops.pyi@@ -1,9 +1,6 @@# type: ignore-"""-Factory functions for ops added to openvino opset16.-"""-from functools import partialfrom __future__ import annotations+from functools import partialfrom openvino._pyopenvino import Nodefrom openvino.utils.decorators import nameable_opfrom openvino.utils.node_factory import _get_node_factory@@ -11,6 +8,9 @@ from openvino.utils.types import as_nodesimport functoolsimport openvino._pyopenvinoimport typing+"""+Factory functions for ops added to openvino opset16.+"""__all__ = ['Node', 'NodeInput', 'as_nodes', 'identity', 'istft', 'nameable_op', 'partial', 'segment_max']def identity(*args, **kwargs) -> openvino._pyopenvino.Node:"""diff --git a/src/bindings/python/src/openvino/opset2/__init__.pyi b/src/bindings/python/src/openvino/opset2/__init__.pyiindex 4a3692bb87e..bcc4cf79303 100644--- a/src/bindings/python/src/openvino/opset2/__init__.pyi+++ b/src/bindings/python/src/openvino/opset2/__init__.pyi@@ -1,6 +1,7 @@# type: ignore-from __future__ import annotationsfrom . import ops+from __future__ import annotations+from openvino._pyopenvino.op import tensor_iteratorfrom openvino.opset1.ops import absolutefrom openvino.opset1.ops import absolute as absfrom openvino.opset1.ops import acos@@ -54,8 +55,8 @@ from openvino.opset1.ops import logical_xorfrom openvino.opset1.ops import lrnfrom openvino.opset1.ops import lstm_cellfrom openvino.opset1.ops import matmul-from openvino.opset1.ops import maximumfrom openvino.opset1.ops import max_pool+from openvino.opset1.ops import maximumfrom openvino.opset1.ops import minimumfrom openvino.opset1.ops import modfrom openvino.opset1.ops import multiply@@ -113,5 +114,4 @@ from openvino.opset2.ops import mvnfrom openvino.opset2.ops import reorg_yolofrom openvino.opset2.ops import roi_poolingfrom openvino.opset2.ops import space_to_batch-from openvino._pyopenvino.op import tensor_iterator__all__ = ['abs', 'absolute', 'acos', 'add', 'asin', 'atan', 'avg_pool', 'batch_norm_inference', 'batch_to_space', 'binary_convolution', 'broadcast', 'ceil', 'ceiling', 'clamp', 'concat', 'constant', 'convert', 'convert_like', 'convolution', 'convolution_backprop_data', 'cos', 'cosh', 'ctc_greedy_decoder', 'deformable_convolution', 'deformable_psroi_pooling', 'depth_to_space', 'detection_output', 'divide', 'elu', 'equal', 'erf', 'exp', 'fake_quantize', 'floor', 'floor_mod', 'gather', 'gather_tree', 'gelu', 'greater', 'greater_equal', 'grn', 'group_convolution', 'group_convolution_backprop_data', 'hard_sigmoid', 'interpolate', 'less', 'less_equal', 'log', 'logical_and', 'logical_not', 'logical_or', 'logical_xor', 'lrn', 'lstm_cell', 'matmul', 'max_pool', 'maximum', 'minimum', 'mod', 'multiply', 'mvn', 'negative', 'non_max_suppression', 'normalize_l2', 'not_equal', 'one_hot', 'ops', 'pad', 'parameter', 'power', 'prelu', 'prior_box', 'prior_box_clustered', 'proposal', 'psroi_pooling', 'range', 'reduce_logical_and', 'reduce_logical_or', 'reduce_max', 'reduce_mean', 'reduce_min', 'reduce_prod', 'reduce_sum', 'region_yolo', 'relu', 'reorg_yolo', 'reshape', 'result', 'reverse_sequence', 'roi_pooling', 'select', 'selu', 'shape_of', 'sigmoid', 'sign', 'sin', 'sinh', 'softmax', 'space_to_batch', 'space_to_depth', 'split', 'sqrt', 'squared_difference', 'squeeze', 'strided_slice', 'subtract', 'tan', 'tanh', 'tensor_iterator', 'tile', 'topk', 'transpose', 'unsqueeze', 'variadic_split']diff --git a/src/bindings/python/src/openvino/opset2/ops.pyi b/src/bindings/python/src/openvino/opset2/ops.pyiindex 85c07315da5..ef1be1633f9 100644--- a/src/bindings/python/src/openvino/opset2/ops.pyi+++ b/src/bindings/python/src/openvino/opset2/ops.pyi@@ -1,9 +1,6 @@# type: ignore-"""-Factory functions for all openvino ops.-"""-from functools import partialfrom __future__ import annotations+from functools import partialfrom openvino._pyopenvino import Nodefrom openvino._pyopenvino import Shapefrom openvino._pyopenvino.op import Constant@@ -15,8 +12,8 @@ from openvino.utils.input_validation import assert_list_of_intsfrom openvino.utils.input_validation import check_valid_attributesfrom openvino.utils.input_validation import is_non_negative_valuefrom openvino.utils.input_validation import is_positive_value-from openvino.utils.node_factory import _get_node_factoryfrom openvino.utils.node_factory import NodeFactory+from openvino.utils.node_factory import _get_node_factoryfrom openvino.utils.types import as_nodefrom openvino.utils.types import as_nodesfrom openvino.utils.types import get_dtype@@ -28,6 +25,9 @@ import numpy as npimport openvino._pyopenvinoimport typingimport warnings as warnings+"""+Factory functions for all openvino ops.+"""__all__ = ['Constant', 'Node', 'NodeFactory', 'NodeInput', 'NumericData', 'NumericType', 'Parameter', 'ScalarData', 'Shape', 'TensorShape', 'as_node', 'as_nodes', 'assert_list_of_ints', 'batch_to_space', 'binary_op', 'check_valid_attributes', 'gelu', 'get_dtype', 'get_element_type', 'get_element_type_str', 'is_non_negative_value', 'is_positive_value', 'make_constant_node', 'mvn', 'nameable_op', 'np', 'partial', 'reorg_yolo', 'roi_pooling', 'space_to_batch', 'unary_op', 'warnings']def batch_to_space(*args, **kwargs) -> openvino._pyopenvino.Node:"""diff --git a/src/bindings/python/src/openvino/opset3/__init__.pyi b/src/bindings/python/src/openvino/opset3/__init__.pyiindex ab4af4ef2af..7aa8eee9f00 100644--- a/src/bindings/python/src/openvino/opset3/__init__.pyi+++ b/src/bindings/python/src/openvino/opset3/__init__.pyi@@ -1,6 +1,7 @@# type: ignore-from __future__ import annotationsfrom . import ops+from __future__ import annotations+from openvino._pyopenvino.op import tensor_iteratorfrom openvino.opset1.ops import absolutefrom openvino.opset1.ops import absolute as absfrom openvino.opset1.ops import acos@@ -53,8 +54,8 @@ from openvino.opset1.ops import logical_xorfrom openvino.opset1.ops import lrnfrom openvino.opset1.ops import lstm_cellfrom openvino.opset1.ops import matmul-from openvino.opset1.ops import maximumfrom openvino.opset1.ops import max_pool+from openvino.opset1.ops import maximumfrom openvino.opset1.ops import minimumfrom openvino.opset1.ops import modfrom openvino.opset1.ops import multiply@@ -129,5 +130,4 @@ from openvino.opset3.ops import scatter_updatefrom openvino.opset3.ops import shape_offrom openvino.opset3.ops import shuffle_channelsfrom openvino.opset3.ops import topk-from openvino._pyopenvino.op import tensor_iterator__all__ = ['abs', 'absolute', 'acos', 'add', 'asin', 'assign', 'atan', 'avg_pool', 'batch_norm_inference', 'batch_to_space', 'binary_convolution', 'broadcast', 'bucketize', 'ceil', 'ceiling', 'clamp', 'concat', 'constant', 'convert', 'convert_like', 'convolution', 'convolution_backprop_data', 'cos', 'cosh', 'ctc_greedy_decoder', 'cum_sum', 'cumsum', 'deformable_convolution', 'deformable_psroi_pooling', 'depth_to_space', 'detection_output', 'divide', 'elu', 'embedding_bag_offsets_sum', 'embedding_bag_packed_sum', 'embedding_segments_sum', 'equal', 'erf', 'exp', 'extract_image_patches', 'fake_quantize', 'floor', 'floor_mod', 'gather', 'gather_tree', 'gelu', 'greater', 'greater_equal', 'grn', 'group_convolution', 'group_convolution_backprop_data', 'gru_cell', 'hard_sigmoid', 'interpolate', 'less', 'less_equal', 'log', 'logical_and', 'logical_not', 'logical_or', 'logical_xor', 'lrn', 'lstm_cell', 'matmul', 'max_pool', 'maximum', 'minimum', 'mod', 'multiply', 'mvn', 'negative', 'non_max_suppression', 'non_zero', 'normalize_l2', 'not_equal', 'one_hot', 'ops', 'pad', 'parameter', 'power', 'prelu', 'prior_box', 'prior_box_clustered', 'proposal', 'psroi_pooling', 'range', 'read_value', 'reduce_logical_and', 'reduce_logical_or', 'reduce_max', 'reduce_mean', 'reduce_min', 'reduce_prod', 'reduce_sum', 'region_yolo', 'relu', 'reorg_yolo', 'reshape', 'result', 'reverse_sequence', 'rnn_cell', 'roi_align', 'roi_pooling', 'scatter_elements_update', 'scatter_update', 'select', 'selu', 'shape_of', 'shuffle_channels', 'sigmoid', 'sign', 'sin', 'sinh', 'softmax', 'space_to_batch', 'space_to_depth', 'split', 'sqrt', 'squared_difference', 'squeeze', 'strided_slice', 'subtract', 'tan', 'tanh', 'tensor_iterator', 'tile', 'topk', 'transpose', 'unsqueeze', 'variadic_split']diff --git a/src/bindings/python/src/openvino/opset3/ops.pyi b/src/bindings/python/src/openvino/opset3/ops.pyiindex 1a8e264802e..44c49290daa 100644--- a/src/bindings/python/src/openvino/opset3/ops.pyi+++ b/src/bindings/python/src/openvino/opset3/ops.pyi@@ -1,9 +1,6 @@# type: ignore-"""-Factory functions for all openvino ops.-"""-from functools import partialfrom __future__ import annotations+from functools import partialfrom openvino._pyopenvino import Nodefrom openvino._pyopenvino import Shapefrom openvino._pyopenvino.op import Constant@@ -15,8 +12,8 @@ from openvino.utils.input_validation import assert_list_of_intsfrom openvino.utils.input_validation import check_valid_attributesfrom openvino.utils.input_validation import is_non_negative_valuefrom openvino.utils.input_validation import is_positive_value-from openvino.utils.node_factory import _get_node_factoryfrom openvino.utils.node_factory import NodeFactory+from openvino.utils.node_factory import _get_node_factoryfrom openvino.utils.types import as_nodefrom openvino.utils.types import as_nodesfrom openvino.utils.types import get_dtype@@ -27,6 +24,9 @@ import functoolsimport numpy as npimport openvino._pyopenvinoimport typing+"""+Factory functions for all openvino ops.+"""__all__ = ['Constant', 'Node', 'NodeFactory', 'NodeInput', 'NumericData', 'NumericType', 'Parameter', 'ScalarData', 'Shape', 'TensorShape', 'as_node', 'as_nodes', 'assert_list_of_ints', 'assign', 'binary_op', 'broadcast', 'bucketize', 'check_valid_attributes', 'cum_sum', 'embedding_bag_offsets_sum', 'embedding_bag_packed_sum', 'embedding_segments_sum', 'extract_image_patches', 'get_dtype', 'get_element_type', 'get_element_type_str', 'gru_cell', 'is_non_negative_value', 'is_positive_value', 'make_constant_node', 'nameable_op', 'non_max_suppression', 'non_zero', 'np', 'partial', 'read_value', 'rnn_cell', 'roi_align', 'scatter_elements_update', 'scatter_update', 'shape_of', 'shuffle_channels', 'topk', 'unary_op']def assign(*args, **kwargs) -> openvino._pyopenvino.Node:"""diff --git a/src/bindings/python/src/openvino/opset4/__init__.pyi b/src/bindings/python/src/openvino/opset4/__init__.pyiindex b3e89a0c02e..22c58ae8fc2 100644--- a/src/bindings/python/src/openvino/opset4/__init__.pyi+++ b/src/bindings/python/src/openvino/opset4/__init__.pyi@@ -1,6 +1,7 @@# type: ignore-from __future__ import annotationsfrom . import ops+from __future__ import annotations+from openvino._pyopenvino.op import tensor_iteratorfrom openvino.opset1.ops import absolutefrom openvino.opset1.ops import absolute as absfrom openvino.opset1.ops import acos@@ -52,8 +53,8 @@ from openvino.opset1.ops import logical_orfrom openvino.opset1.ops import logical_xorfrom openvino.opset1.ops import lrnfrom openvino.opset1.ops import matmul-from openvino.opset1.ops import maximumfrom openvino.opset1.ops import max_pool+from openvino.opset1.ops import maximumfrom openvino.opset1.ops import minimumfrom openvino.opset1.ops import modfrom openvino.opset1.ops import multiply@@ -140,5 +141,4 @@ from openvino.opset4.ops import reduce_l2from openvino.opset4.ops import scatter_nd_updatefrom openvino.opset4.ops import softplusfrom openvino.opset4.ops import swish-from openvino._pyopenvino.op import tensor_iterator__all__ = ['abs', 'absolute', 'acos', 'acosh', 'add', 'asin', 'asinh', 'assign', 'atan', 'atanh', 'avg_pool', 'batch_norm_inference', 'batch_to_space', 'binary_convolution', 'broadcast', 'bucketize', 'ceil', 'ceiling', 'clamp', 'concat', 'constant', 'convert', 'convert_like', 'convolution', 'convolution_backprop_data', 'cos', 'cosh', 'ctc_greedy_decoder', 'ctc_loss', 'cum_sum', 'cumsum', 'deformable_convolution', 'deformable_psroi_pooling', 'depth_to_space', 'detection_output', 'divide', 'elu', 'embedding_bag_offsets_sum', 'embedding_bag_packed_sum', 'embedding_segments_sum', 'equal', 'erf', 'exp', 'extract_image_patches', 'fake_quantize', 'floor', 'floor_mod', 'gather', 'gather_tree', 'gelu', 'greater', 'greater_equal', 'grn', 'group_convolution', 'group_convolution_backprop_data', 'gru_cell', 'hard_sigmoid', 'hswish', 'interpolate', 'less', 'less_equal', 'log', 'logical_and', 'logical_not', 'logical_or', 'logical_xor', 'lrn', 'lstm_cell', 'matmul', 'max_pool', 'maximum', 'minimum', 'mish', 'mod', 'multiply', 'mvn', 'negative', 'non_max_suppression', 'non_zero', 'normalize_l2', 'not_equal', 'one_hot', 'ops', 'pad', 'parameter', 'power', 'prelu', 'prior_box', 'prior_box_clustered', 'proposal', 'psroi_pooling', 'range', 'read_value', 'reduce_l1', 'reduce_l2', 'reduce_logical_and', 'reduce_logical_or', 'reduce_max', 'reduce_mean', 'reduce_min', 'reduce_prod', 'reduce_sum', 'region_yolo', 'relu', 'reorg_yolo', 'reshape', 'result', 'reverse_sequence', 'rnn_cell', 'roi_align', 'roi_pooling', 'scatter_elements_update', 'scatter_nd_update', 'scatter_update', 'select', 'selu', 'shape_of', 'shuffle_channels', 'sigmoid', 'sign', 'sin', 'sinh', 'softmax', 'softplus', 'space_to_batch', 'space_to_depth', 'split', 'sqrt', 'squared_difference', 'squeeze', 'strided_slice', 'subtract', 'swish', 'tan', 'tanh', 'tensor_iterator', 'tile', 'topk', 'transpose', 'unsqueeze', 'variadic_split']diff --git a/src/bindings/python/src/openvino/opset4/ops.pyi b/src/bindings/python/src/openvino/opset4/ops.pyiindex 7edf5e2106f..cf99d2858e5 100644--- a/src/bindings/python/src/openvino/opset4/ops.pyi+++ b/src/bindings/python/src/openvino/opset4/ops.pyi@@ -1,9 +1,6 @@# type: ignore-"""-Factory functions for all openvino ops.-"""-from functools import partialfrom __future__ import annotations+from functools import partialfrom openvino._pyopenvino import Nodefrom openvino._pyopenvino import Shapefrom openvino._pyopenvino.op import Constant@@ -15,8 +12,8 @@ from openvino.utils.input_validation import assert_list_of_intsfrom openvino.utils.input_validation import check_valid_attributesfrom openvino.utils.input_validation import is_non_negative_valuefrom openvino.utils.input_validation import is_positive_value-from openvino.utils.node_factory import _get_node_factoryfrom openvino.utils.node_factory import NodeFactory+from openvino.utils.node_factory import _get_node_factoryfrom openvino.utils.types import as_nodefrom openvino.utils.types import as_nodesfrom openvino.utils.types import get_dtype@@ -27,6 +24,9 @@ import functoolsimport numpy as npimport openvino._pyopenvinoimport typing+"""+Factory functions for all openvino ops.+"""__all__ = ['Constant', 'Node', 'NodeFactory', 'NodeInput', 'NumericData', 'NumericType', 'Parameter', 'ScalarData', 'Shape', 'TensorShape', 'acosh', 'as_node', 'as_nodes', 'asinh', 'assert_list_of_ints', 'atanh', 'binary_op', 'check_valid_attributes', 'ctc_loss', 'get_dtype', 'get_element_type', 'get_element_type_str', 'hswish', 'is_non_negative_value', 'is_positive_value', 'lstm_cell', 'make_constant_node', 'mish', 'nameable_op', 'non_max_suppression', 'np', 'partial', 'proposal', 'range', 'reduce_l1', 'reduce_l2', 'scatter_nd_update', 'softplus', 'swish', 'unary_op']def acosh(*args, **kwargs) -> openvino._pyopenvino.Node:"""diff --git a/src/bindings/python/src/openvino/opset5/__init__.pyi b/src/bindings/python/src/openvino/opset5/__init__.pyiindex 945ac14ac38..98a2a9a7dc6 100644--- a/src/bindings/python/src/openvino/opset5/__init__.pyi+++ b/src/bindings/python/src/openvino/opset5/__init__.pyi@@ -1,6 +1,8 @@# type: ignore-from __future__ import annotationsfrom . import ops+from __future__ import annotations+from openvino._pyopenvino.op import loop+from openvino._pyopenvino.op import tensor_iteratorfrom openvino.opset1.ops import absolutefrom openvino.opset1.ops import absolute as absfrom openvino.opset1.ops import acos@@ -51,8 +53,8 @@ from openvino.opset1.ops import logical_orfrom openvino.opset1.ops import logical_xorfrom openvino.opset1.ops import lrnfrom openvino.opset1.ops import matmul-from openvino.opset1.ops import maximumfrom openvino.opset1.ops import max_pool+from openvino.opset1.ops import maximumfrom openvino.opset1.ops import minimumfrom openvino.opset1.ops import modfrom openvino.opset1.ops import multiply@@ -147,6 +149,4 @@ from openvino.opset5.ops import lstm_sequencefrom openvino.opset5.ops import non_max_suppressionfrom openvino.opset5.ops import rnn_sequencefrom openvino.opset5.ops import round-from openvino._pyopenvino.op import loop-from openvino._pyopenvino.op import tensor_iterator__all__ = ['abs', 'absolute', 'acos', 'acosh', 'add', 'asin', 'asinh', 'assign', 'atan', 'atanh', 'avg_pool', 'batch_norm_inference', 'batch_to_space', 'binary_convolution', 'broadcast', 'bucketize', 'ceil', 'ceiling', 'clamp', 'concat', 'constant', 'convert', 'convert_like', 'convolution', 'convolution_backprop_data', 'cos', 'cosh', 'ctc_greedy_decoder', 'ctc_loss', 'cum_sum', 'cumsum', 'deformable_convolution', 'deformable_psroi_pooling', 'depth_to_space', 'detection_output', 'divide', 'elu', 'embedding_bag_offsets_sum', 'embedding_bag_packed_sum', 'embedding_segments_sum', 'equal', 'erf', 'exp', 'extract_image_patches', 'fake_quantize', 'floor', 'floor_mod', 'gather', 'gather_nd', 'gather_tree', 'gelu', 'greater', 'greater_equal', 'grn', 'group_convolution', 'group_convolution_backprop_data', 'gru_cell', 'gru_sequence', 'hard_sigmoid', 'hsigmoid', 'hswish', 'interpolate', 'less', 'less_equal', 'log', 'log_softmax', 'logical_and', 'logical_not', 'logical_or', 'logical_xor', 'loop', 'lrn', 'lstm_cell', 'lstm_sequence', 'matmul', 'max_pool', 'maximum', 'minimum', 'mish', 'mod', 'multiply', 'mvn', 'negative', 'non_max_suppression', 'non_zero', 'normalize_l2', 'not_equal', 'one_hot', 'ops', 'pad', 'parameter', 'power', 'prelu', 'prior_box', 'prior_box_clustered', 'proposal', 'psroi_pooling', 'range', 'read_value', 'reduce_l1', 'reduce_l2', 'reduce_logical_and', 'reduce_logical_or', 'reduce_max', 'reduce_mean', 'reduce_min', 'reduce_prod', 'reduce_sum', 'region_yolo', 'relu', 'reorg_yolo', 'reshape', 'result', 'reverse_sequence', 'rnn_cell', 'rnn_sequence', 'roi_align', 'roi_pooling', 'round', 'scatter_elements_update', 'scatter_nd_update', 'scatter_update', 'select', 'selu', 'shape_of', 'shuffle_channels', 'sigmoid', 'sign', 'sin', 'sinh', 'softmax', 'softplus', 'space_to_batch', 'space_to_depth', 'split', 'sqrt', 'squared_difference', 'squeeze', 'strided_slice', 'subtract', 'swish', 'tan', 'tanh', 'tensor_iterator', 'tile', 'topk', 'transpose', 'unsqueeze', 'variadic_split']diff --git a/src/bindings/python/src/openvino/opset5/ops.pyi b/src/bindings/python/src/openvino/opset5/ops.pyiindex 0ddff482cea..e9681981e53 100644--- a/src/bindings/python/src/openvino/opset5/ops.pyi+++ b/src/bindings/python/src/openvino/opset5/ops.pyi@@ -1,14 +1,11 @@# type: ignore-"""-Factory functions for all openvino ops.-"""-from functools import partialfrom __future__ import annotations+from functools import partialfrom openvino._pyopenvino import Nodefrom openvino._pyopenvino import Shapefrom openvino._pyopenvino.op import Constant-from openvino._pyopenvino.op import loopfrom openvino._pyopenvino.op import Parameter+from openvino._pyopenvino.op import loopfrom openvino.utils.decorators import binary_opfrom openvino.utils.decorators import nameable_opfrom openvino.utils.decorators import unary_op@@ -16,8 +13,8 @@ from openvino.utils.input_validation import assert_list_of_intsfrom openvino.utils.input_validation import check_valid_attributesfrom openvino.utils.input_validation import is_non_negative_valuefrom openvino.utils.input_validation import is_positive_value-from openvino.utils.node_factory import _get_node_factoryfrom openvino.utils.node_factory import NodeFactory+from openvino.utils.node_factory import _get_node_factoryfrom openvino.utils.types import as_nodefrom openvino.utils.types import as_nodesfrom openvino.utils.types import get_dtype@@ -28,6 +25,9 @@ import functoolsimport numpy as npimport openvino._pyopenvinoimport typing+"""+Factory functions for all openvino ops.+"""__all__ = ['Constant', 'Node', 'NodeFactory', 'NodeInput', 'NumericData', 'NumericType', 'Parameter', 'ScalarData', 'Shape', 'TensorShape', 'as_node', 'as_nodes', 'assert_list_of_ints', 'batch_norm_inference', 'binary_op', 'check_valid_attributes', 'gather_nd', 'get_dtype', 'get_element_type', 'get_element_type_str', 'gru_sequence', 'hsigmoid', 'is_non_negative_value', 'is_positive_value', 'log_softmax', 'loop', 'lstm_sequence', 'make_constant_node', 'nameable_op', 'non_max_suppression', 'np', 'partial', 'rnn_sequence', 'round', 'unary_op']def batch_norm_inference(*args, **kwargs) -> openvino._pyopenvino.Node:"""diff --git a/src/bindings/python/src/openvino/opset6/__init__.pyi b/src/bindings/python/src/openvino/opset6/__init__.pyiindex 96b31c08dc7..0232bed6497 100644--- a/src/bindings/python/src/openvino/opset6/__init__.pyi+++ b/src/bindings/python/src/openvino/opset6/__init__.pyi@@ -1,6 +1,9 @@# type: ignore-from __future__ import annotationsfrom . import ops+from __future__ import annotations+from openvino._pyopenvino.op import assign+from openvino._pyopenvino.op import loop+from openvino._pyopenvino.op import tensor_iteratorfrom openvino.opset1.ops import absolutefrom openvino.opset1.ops import absolute as absfrom openvino.opset1.ops import acos@@ -51,8 +54,8 @@ from openvino.opset1.ops import logical_orfrom openvino.opset1.ops import logical_xorfrom openvino.opset1.ops import lrnfrom openvino.opset1.ops import matmul-from openvino.opset1.ops import maximumfrom openvino.opset1.ops import max_pool+from openvino.opset1.ops import maximumfrom openvino.opset1.ops import minimumfrom openvino.opset1.ops import modfrom openvino.opset1.ops import multiply@@ -147,9 +150,6 @@ from openvino.opset5.ops import roundfrom openvino.opset6.ops import ctc_greedy_decoder_seq_lenfrom openvino.opset6.ops import gather_elementsfrom openvino.opset6.ops import mvn-from openvino._pyopenvino.op import assign-from openvino._pyopenvino.op import loop-from openvino._pyopenvino.op import tensor_iteratorimport openvino.utils.decorators__all__ = ['abs', 'absolute', 'acos', 'acosh', 'add', 'asin', 'asinh', 'assign', 'atan', 'atanh', 'avg_pool', 'batch_norm_inference', 'batch_to_space', 'binary_convolution', 'broadcast', 'bucketize', 'ceil', 'ceiling', 'clamp', 'concat', 'constant', 'convert', 'convert_like', 'convolution', 'convolution_backprop_data', 'cos', 'cosh', 'ctc_greedy_decoder', 'ctc_greedy_decoder_seq_len', 'ctc_loss', 'cum_sum', 'cumsum', 'deformable_convolution', 'deformable_psroi_pooling', 'depth_to_space', 'detection_output', 'divide', 'elu', 'embedding_bag_offsets_sum', 'embedding_bag_packed_sum', 'embedding_segments_sum', 'equal', 'erf', 'exp', 'extract_image_patches', 'fake_quantize', 'floor', 'floor_mod', 'gather', 'gather_elements', 'gather_nd', 'gather_tree', 'gelu', 'greater', 'greater_equal', 'grn', 'group_convolution', 'group_convolution_backprop_data', 'gru_cell', 'gru_sequence', 'hard_sigmoid', 'hsigmoid', 'hswish', 'interpolate', 'less', 'less_equal', 'log', 'log_softmax', 'logical_and', 'logical_not', 'logical_or', 'logical_xor', 'loop', 'lrn', 'lstm_cell', 'lstm_sequence', 'matmul', 'max_pool', 'maximum', 'minimum', 'mish', 'mod', 'multiply', 'mvn', 'negative', 'non_max_suppression', 'non_zero', 'normalize_l2', 'not_equal', 'one_hot', 'ops', 'pad', 'parameter', 'power', 'prelu', 'prior_box', 'prior_box_clustered', 'proposal', 'psroi_pooling', 'range', 'read_value', 'reduce_l1', 'reduce_l2', 'reduce_logical_and', 'reduce_logical_or', 'reduce_max', 'reduce_mean', 'reduce_min', 'reduce_prod', 'reduce_sum', 'region_yolo', 'relu', 'reorg_yolo', 'reshape', 'result', 'reverse_sequence', 'rnn_cell', 'rnn_sequence', 'roi_align', 'roi_pooling', 'round', 'scatter_elements_update', 'scatter_nd_update', 'scatter_update', 'select', 'selu', 'shape_of', 'shuffle_channels', 'sigmoid', 'sign', 'sin', 'sinh', 'softmax', 'softplus', 'space_to_batch', 'space_to_depth', 'split', 'sqrt', 'squared_difference', 'squeeze', 'strided_slice', 'subtract', 'swish', 'tan', 'tanh', 'tensor_iterator', 'tile', 'topk', 'transpose', 'unsqueeze', 'variadic_split']read_value: openvino.utils.decorators.MultiMethod # value = <openvino.utils.decorators.MultiMethod object>diff --git a/src/bindings/python/src/openvino/opset6/ops.pyi b/src/bindings/python/src/openvino/opset6/ops.pyiindex 27ab8dcb1e1..87f8de3db32 100644--- a/src/bindings/python/src/openvino/opset6/ops.pyi+++ b/src/bindings/python/src/openvino/opset6/ops.pyi@@ -1,15 +1,15 @@# type: ignore+from __future__ import annotationsfrom functools import partialfrom functools import singledispatch-from __future__ import annotationsfrom openvino._pyopenvino import Nodefrom openvino._pyopenvino import Outputfrom openvino._pyopenvino import PartialShapefrom openvino._pyopenvino import Shapefrom openvino._pyopenvino import Type-from openvino._pyopenvino.op import assignfrom openvino._pyopenvino.op import Constantfrom openvino._pyopenvino.op import Parameter+from openvino._pyopenvino.op import assignfrom openvino._pyopenvino.op import read_value as _read_valuefrom openvino._pyopenvino.op.util import Variablefrom openvino._pyopenvino.op.util import VariableInfodiff --git a/src/bindings/python/src/openvino/opset7/__init__.pyi b/src/bindings/python/src/openvino/opset7/__init__.pyiindex 7c91253af44..8db7a61538c 100644--- a/src/bindings/python/src/openvino/opset7/__init__.pyi+++ b/src/bindings/python/src/openvino/opset7/__init__.pyi@@ -1,6 +1,9 @@# type: ignore-from __future__ import annotationsfrom . import ops+from __future__ import annotations+from openvino._pyopenvino.op import assign+from openvino._pyopenvino.op import loop+from openvino._pyopenvino.op import tensor_iteratorfrom openvino.opset1.ops import absolutefrom openvino.opset1.ops import absolute as absfrom openvino.opset1.ops import acos@@ -50,8 +53,8 @@ from openvino.opset1.ops import logical_orfrom openvino.opset1.ops import logical_xorfrom openvino.opset1.ops import lrnfrom openvino.opset1.ops import matmul-from openvino.opset1.ops import maximumfrom openvino.opset1.ops import max_pool+from openvino.opset1.ops import maximumfrom openvino.opset1.ops import minimumfrom openvino.opset1.ops import modfrom openvino.opset1.ops import multiply@@ -151,9 +154,6 @@ from openvino.opset7.ops import gatherfrom openvino.opset7.ops import gelufrom openvino.opset7.ops import idftfrom openvino.opset7.ops import roll-from openvino._pyopenvino.op import assign-from openvino._pyopenvino.op import loop-from openvino._pyopenvino.op import tensor_iteratorimport openvino.utils.decorators__all__ = ['abs', 'absolute', 'acos', 'acosh', 'add', 'asin', 'asinh', 'assign', 'atan', 'atanh', 'avg_pool', 'batch_norm_inference', 'batch_to_space', 'binary_convolution', 'broadcast', 'bucketize', 'ceil', 'ceiling', 'clamp', 'concat', 'constant', 'convert', 'convert_like', 'convolution', 'convolution_backprop_data', 'cos', 'cosh', 'ctc_greedy_decoder', 'ctc_greedy_decoder_seq_len', 'ctc_loss', 'cum_sum', 'cumsum', 'deformable_convolution', 'deformable_psroi_pooling', 'depth_to_space', 'detection_output', 'dft', 'divide', 'einsum', 'elu', 'embedding_bag_offsets_sum', 'embedding_bag_packed_sum', 'embedding_segments_sum', 'equal', 'erf', 'exp', 'extract_image_patches', 'fake_quantize', 'floor', 'floor_mod', 'gather', 'gather_elements', 'gather_nd', 'gather_tree', 'gelu', 'greater', 'greater_equal', 'grn', 'group_convolution', 'group_convolution_backprop_data', 'gru_cell', 'gru_sequence', 'hard_sigmoid', 'hsigmoid', 'hswish', 'idft', 'interpolate', 'less', 'less_equal', 'log', 'log_softmax', 'logical_and', 'logical_not', 'logical_or', 'logical_xor', 'loop', 'lrn', 'lstm_cell', 'lstm_sequence', 'matmul', 'max_pool', 'maximum', 'minimum', 'mish', 'mod', 'multiply', 'mvn', 'negative', 'non_max_suppression', 'non_zero', 'normalize_l2', 'not_equal', 'one_hot', 'ops', 'pad', 'parameter', 'power', 'prelu', 'prior_box', 'prior_box_clustered', 'proposal', 'psroi_pooling', 'range', 'read_value', 'reduce_l1', 'reduce_l2', 'reduce_logical_and', 'reduce_logical_or', 'reduce_max', 'reduce_mean', 'reduce_min', 'reduce_prod', 'reduce_sum', 'region_yolo', 'relu', 'reorg_yolo', 'reshape', 'result', 'reverse_sequence', 'rnn_cell', 'rnn_sequence', 'roi_align', 'roi_pooling', 'roll', 'round', 'scatter_elements_update', 'scatter_nd_update', 'scatter_update', 'select', 'selu', 'shape_of', 'shuffle_channels', 'sigmoid', 'sign', 'sin', 'sinh', 'softmax', 'softplus', 'space_to_batch', 'space_to_depth', 'split', 'sqrt', 'squared_difference', 'squeeze', 'strided_slice', 'subtract', 'swish', 'tan', 'tanh', 'tensor_iterator', 'tile', 'topk', 'transpose', 'unsqueeze', 'variadic_split']read_value: openvino.utils.decorators.MultiMethod # value = <openvino.utils.decorators.MultiMethod object>diff --git a/src/bindings/python/src/openvino/opset7/ops.pyi b/src/bindings/python/src/openvino/opset7/ops.pyiindex 43fe74c93e1..5a86fca2561 100644--- a/src/bindings/python/src/openvino/opset7/ops.pyi+++ b/src/bindings/python/src/openvino/opset7/ops.pyi@@ -1,9 +1,6 @@# type: ignore-"""-Factory functions for all openvino ops.-"""-from functools import partialfrom __future__ import annotations+from functools import partialfrom openvino._pyopenvino import Nodefrom openvino._pyopenvino import Shapefrom openvino._pyopenvino.op import Constant@@ -15,8 +12,8 @@ from openvino.utils.input_validation import assert_list_of_intsfrom openvino.utils.input_validation import check_valid_attributesfrom openvino.utils.input_validation import is_non_negative_valuefrom openvino.utils.input_validation import is_positive_value-from openvino.utils.node_factory import _get_node_factoryfrom openvino.utils.node_factory import NodeFactory+from openvino.utils.node_factory import _get_node_factoryfrom openvino.utils.types import as_nodefrom openvino.utils.types import as_nodesfrom openvino.utils.types import get_dtype@@ -27,6 +24,9 @@ import functoolsimport numpy as npimport openvino._pyopenvinoimport typing+"""+Factory functions for all openvino ops.+"""__all__ = ['Constant', 'Node', 'NodeFactory', 'NodeInput', 'NumericData', 'NumericType', 'Parameter', 'ScalarData', 'Shape', 'TensorShape', 'as_node', 'as_nodes', 'assert_list_of_ints', 'binary_op', 'check_valid_attributes', 'dft', 'einsum', 'gather', 'gelu', 'get_dtype', 'get_element_type', 'get_element_type_str', 'idft', 'is_non_negative_value', 'is_positive_value', 'make_constant_node', 'nameable_op', 'np', 'partial', 'roll', 'unary_op']def dft(data: typing.Union[openvino._pyopenvino.Node, int, float, numpy.ndarray], axes: typing.Union[openvino._pyopenvino.Node, int, float, numpy.ndarray], signal_size: typing.Union[openvino._pyopenvino.Node, int, float, numpy.ndarray, NoneType] = None, name: typing.Optional[str] = None) -> openvino._pyopenvino.Node:"""diff --git a/src/bindings/python/src/openvino/opset8/__init__.pyi b/src/bindings/python/src/openvino/opset8/__init__.pyiindex 2ae1c0d8ea4..742db70e93b 100644--- a/src/bindings/python/src/openvino/opset8/__init__.pyi+++ b/src/bindings/python/src/openvino/opset8/__init__.pyi@@ -1,6 +1,10 @@# type: ignore-from __future__ import annotationsfrom . import ops+from __future__ import annotations+from openvino._pyopenvino.op import assign+from openvino._pyopenvino.op import if_op+from openvino._pyopenvino.op import loop+from openvino._pyopenvino.op import tensor_iteratorfrom openvino.opset1.ops import absolutefrom openvino.opset1.ops import absolute as absfrom openvino.opset1.ops import acos@@ -161,10 +165,6 @@ from openvino.opset8.ops import prior_boxfrom openvino.opset8.ops import random_uniformfrom openvino.opset8.ops import slicefrom openvino.opset8.ops import softmax-from openvino._pyopenvino.op import assign-from openvino._pyopenvino.op import if_op-from openvino._pyopenvino.op import loop-from openvino._pyopenvino.op import tensor_iteratorimport openvino.utils.decorators__all__ = ['abs', 'absolute', 'acos', 'acosh', 'adaptive_avg_pool', 'adaptive_max_pool', 'add', 'asin', 'asinh', 'assign', 'atan', 'atanh', 'avg_pool', 'batch_norm_inference', 'batch_to_space', 'binary_convolution', 'broadcast', 'bucketize', 'ceil', 'ceiling', 'clamp', 'concat', 'constant', 'convert', 'convert_like', 'convolution', 'convolution_backprop_data', 'cos', 'cosh', 'ctc_greedy_decoder', 'ctc_greedy_decoder_seq_len', 'ctc_loss', 'cum_sum', 'cumsum', 'deformable_convolution', 'deformable_psroi_pooling', 'depth_to_space', 'detection_output', 'dft', 'divide', 'einsum', 'elu', 'embedding_bag_offsets_sum', 'embedding_bag_packed_sum', 'embedding_segments_sum', 'equal', 'erf', 'exp', 'extract_image_patches', 'fake_quantize', 'floor', 'floor_mod', 'gather', 'gather_elements', 'gather_nd', 'gather_tree', 'gelu', 'greater', 'greater_equal', 'grn', 'group_convolution', 'group_convolution_backprop_data', 'gru_cell', 'gru_sequence', 'hard_sigmoid', 'hsigmoid', 'hswish', 'i420_to_bgr', 'i420_to_rgb', 'idft', 'if_op', 'interpolate', 'less', 'less_equal', 'log', 'log_softmax', 'logical_and', 'logical_not', 'logical_or', 'logical_xor', 'loop', 'lrn', 'lstm_cell', 'lstm_sequence', 'matmul', 'matrix_nms', 'max_pool', 'maximum', 'minimum', 'mish', 'mod', 'multiclass_nms', 'multiply', 'mvn', 'negative', 'non_max_suppression', 'non_zero', 'normalize_l2', 'not_equal', 'nv12_to_bgr', 'nv12_to_rgb', 'one_hot', 'ops', 'pad', 'parameter', 'power', 'prelu', 'prior_box', 'prior_box_clustered', 'proposal', 'psroi_pooling', 'random_uniform', 'range', 'read_value', 'reduce_l1', 'reduce_l2', 'reduce_logical_and', 'reduce_logical_or', 'reduce_max', 'reduce_mean', 'reduce_min', 'reduce_prod', 'reduce_sum', 'region_yolo', 'relu', 'reorg_yolo', 'reshape', 'result', 'reverse_sequence', 'rnn_cell', 'rnn_sequence', 'roi_align', 'roi_pooling', 'roll', 'round', 'scatter_elements_update', 'scatter_nd_update', 'scatter_update', 'select', 'selu', 'shape_of', 'shuffle_channels', 'sigmoid', 'sign', 'sin', 'sinh', 'slice', 'softmax', 'softplus', 'space_to_batch', 'space_to_depth', 'split', 'sqrt', 'squared_difference', 'squeeze', 'strided_slice', 'subtract', 'swish', 'tan', 'tanh', 'tensor_iterator', 'tile', 'topk', 'transpose', 'unsqueeze', 'variadic_split']read_value: openvino.utils.decorators.MultiMethod # value = <openvino.utils.decorators.MultiMethod object>diff --git a/src/bindings/python/src/openvino/opset8/ops.pyi b/src/bindings/python/src/openvino/opset8/ops.pyiindex 4d951d6f9ca..25649ae1eea 100644--- a/src/bindings/python/src/openvino/opset8/ops.pyi+++ b/src/bindings/python/src/openvino/opset8/ops.pyi@@ -1,14 +1,11 @@# type: ignore-"""-Factory functions for all openvino ops.-"""-from functools import partialfrom __future__ import annotations-from openvino.exceptions import UserInputError+from functools import partialfrom openvino._pyopenvino import Nodefrom openvino._pyopenvino.op import Constant-from openvino._pyopenvino.op import if_opfrom openvino._pyopenvino.op import Parameter+from openvino._pyopenvino.op import if_op+from openvino.exceptions import UserInputErrorfrom openvino.utils.decorators import nameable_opfrom openvino.utils.input_validation import check_valid_attributesfrom openvino.utils.input_validation import is_non_negative_value@@ -20,6 +17,9 @@ import functoolsimport numpy as npimport openvino._pyopenvinoimport typing+"""+Factory functions for all openvino ops.+"""__all__ = ['Constant', 'Node', 'NodeInput', 'Parameter', 'TensorShape', 'UserInputError', 'adaptive_avg_pool', 'adaptive_max_pool', 'as_node', 'as_nodes', 'check_valid_attributes', 'deformable_convolution', 'detection_output', 'gather', 'gather_nd', 'i420_to_bgr', 'i420_to_rgb', 'if_op', 'is_non_negative_value', 'is_positive_value', 'matrix_nms', 'max_pool', 'multiclass_nms', 'nameable_op', 'np', 'nv12_to_bgr', 'nv12_to_rgb', 'partial', 'prior_box', 'random_uniform', 'slice', 'softmax']def adaptive_avg_pool(*args, **kwargs) -> openvino._pyopenvino.Node:"""diff --git a/src/bindings/python/src/openvino/opset9/__init__.pyi b/src/bindings/python/src/openvino/opset9/__init__.pyiindex 0a86825a751..05e6e789237 100644--- a/src/bindings/python/src/openvino/opset9/__init__.pyi+++ b/src/bindings/python/src/openvino/opset9/__init__.pyi@@ -1,6 +1,10 @@# type: ignore-from __future__ import annotationsfrom . import ops+from __future__ import annotations+from openvino._pyopenvino.op import assign+from openvino._pyopenvino.op import if_op+from openvino._pyopenvino.op import loop+from openvino._pyopenvino.op import tensor_iteratorfrom openvino.opset1.ops import absolutefrom openvino.opset1.ops import absolute as absfrom openvino.opset1.ops import acos@@ -167,10 +171,6 @@ from openvino.opset9.ops import non_max_suppressionfrom openvino.opset9.ops import rdftfrom openvino.opset9.ops import roi_alignfrom openvino.opset9.ops import softsign-from openvino._pyopenvino.op import assign-from openvino._pyopenvino.op import if_op-from openvino._pyopenvino.op import loop-from openvino._pyopenvino.op import tensor_iteratorimport openvino.utils.decorators__all__ = ['abs', 'absolute', 'acos', 'acosh', 'adaptive_avg_pool', 'adaptive_max_pool', 'add', 'asin', 'asinh', 'assign', 'atan', 'atanh', 'avg_pool', 'batch_norm_inference', 'batch_to_space', 'binary_convolution', 'broadcast', 'bucketize', 'ceil', 'ceiling', 'clamp', 'concat', 'constant', 'convert', 'convert_like', 'convolution', 'convolution_backprop_data', 'cos', 'cosh', 'ctc_greedy_decoder', 'ctc_greedy_decoder_seq_len', 'ctc_loss', 'cum_sum', 'cumsum', 'deformable_convolution', 'deformable_psroi_pooling', 'depth_to_space', 'detection_output', 'dft', 'divide', 'einsum', 'elu', 'embedding_bag_offsets_sum', 'embedding_bag_packed_sum', 'embedding_segments_sum', 'equal', 'erf', 'exp', 'extract_image_patches', 'eye', 'fake_quantize', 'floor', 'floor_mod', 'gather', 'gather_elements', 'gather_nd', 'gather_tree', 'gelu', 'generate_proposals', 'greater', 'greater_equal', 'grid_sample', 'grn', 'group_convolution', 'group_convolution_backprop_data', 'gru_cell', 'gru_sequence', 'hard_sigmoid', 'hsigmoid', 'hswish', 'i420_to_bgr', 'i420_to_rgb', 'idft', 'if_op', 'interpolate', 'irdft', 'less', 'less_equal', 'log', 'log_softmax', 'logical_and', 'logical_not', 'logical_or', 'logical_xor', 'loop', 'lrn', 'lstm_cell', 'lstm_sequence', 'matmul', 'matrix_nms', 'max_pool', 'maximum', 'minimum', 'mish', 'mod', 'multiclass_nms', 'multiply', 'mvn', 'negative', 'non_max_suppression', 'non_zero', 'normalize_l2', 'not_equal', 'nv12_to_bgr', 'nv12_to_rgb', 'one_hot', 'ops', 'pad', 'parameter', 'power', 'prelu', 'prior_box', 'prior_box_clustered', 'proposal', 'psroi_pooling', 'random_uniform', 'range', 'rdft', 'read_value', 'reduce_l1', 'reduce_l2', 'reduce_logical_and', 'reduce_logical_or', 'reduce_max', 'reduce_mean', 'reduce_min', 'reduce_prod', 'reduce_sum', 'region_yolo', 'relu', 'reorg_yolo', 'reshape', 'result', 'reverse_sequence', 'rnn_cell', 'rnn_sequence', 'roi_align', 'roi_pooling', 'roll', 'round', 'scatter_elements_update', 'scatter_nd_update', 'scatter_update', 'select', 'selu', 'shape_of', 'shuffle_channels', 'sigmoid', 'sign', 'sin', 'sinh', 'slice', 'softmax', 'softplus', 'softsign', 'space_to_batch', 'space_to_depth', 'split', 'sqrt', 'squared_difference', 'squeeze', 'strided_slice', 'subtract', 'swish', 'tan', 'tanh', 'tensor_iterator', 'tile', 'topk', 'transpose', 'unsqueeze', 'variadic_split']read_value: openvino.utils.decorators.MultiMethod # value = <openvino.utils.decorators.MultiMethod object>diff --git a/src/bindings/python/src/openvino/opset9/ops.pyi b/src/bindings/python/src/openvino/opset9/ops.pyiindex f6013d4a778..a283a14356d 100644--- a/src/bindings/python/src/openvino/opset9/ops.pyi+++ b/src/bindings/python/src/openvino/opset9/ops.pyi@@ -1,9 +1,6 @@# type: ignore-"""-Factory functions for all openvino ops.-"""-from functools import partialfrom __future__ import annotations+from functools import partialfrom openvino._pyopenvino import Nodefrom openvino.utils.decorators import nameable_opfrom openvino.utils.node_factory import _get_node_factory@@ -14,6 +11,9 @@ import functoolsimport numpy as npimport openvino._pyopenvinoimport typing+"""+Factory functions for all openvino ops.+"""__all__ = ['Node', 'NodeInput', 'as_node', 'as_nodes', 'eye', 'generate_proposals', 'grid_sample', 'irdft', 'make_constant_node', 'multiclass_nms', 'nameable_op', 'non_max_suppression', 'np', 'partial', 'rdft', 'roi_align', 'softsign']def eye(*args, **kwargs) -> openvino._pyopenvino.Node:"""diff --git a/src/bindings/python/src/openvino/package_utils.pyi b/src/bindings/python/src/openvino/package_utils.pyiindex efe9ff5791d..00034a0abe8 100644--- a/src/bindings/python/src/openvino/package_utils.pyi+++ b/src/bindings/python/src/openvino/package_utils.pyi@@ -1,7 +1,7 @@# type: ignore+from __future__ import annotationsfrom builtins import module as ModuleTypefrom functools import wraps-from __future__ import annotationsfrom pathlib import Pathfrom typing import Anyimport importlib as importlibdiff --git a/src/bindings/python/src/openvino/preprocess.pyi b/src/bindings/python/src/openvino/preprocess.pyiindex ee905df57b2..48b40c2f71a 100644--- a/src/bindings/python/src/openvino/preprocess.pyi+++ b/src/bindings/python/src/openvino/preprocess.pyi@@ -1,9 +1,4 @@# type: ignore-"""--Package: openvino-Low level wrappers for the PrePostProcessing C++ API.-"""from __future__ import annotationsfrom openvino._pyopenvino import get_versionfrom openvino._pyopenvino.preprocess import ColorFormat@@ -18,5 +13,10 @@ from openvino._pyopenvino.preprocess import PostProcessStepsfrom openvino._pyopenvino.preprocess import PrePostProcessorfrom openvino._pyopenvino.preprocess import PreProcessStepsfrom openvino._pyopenvino.preprocess import ResizeAlgorithm+"""++Package: openvino+Low level wrappers for the PrePostProcessing C++ API.+"""__all__ = ['ColorFormat', 'InputInfo', 'InputModelInfo', 'InputTensorInfo', 'OutputInfo', 'OutputModelInfo', 'OutputTensorInfo', 'PaddingMode', 'PostProcessSteps', 'PrePostProcessor', 'PreProcessSteps', 'ResizeAlgorithm', 'get_version']__version__: str = 'version_string'diff --git a/src/bindings/python/src/openvino/properties/__init__.pyi b/src/bindings/python/src/openvino/properties/__init__.pyiindex 1a832c08427..a50d31201be 100644--- a/src/bindings/python/src/openvino/properties/__init__.pyi+++ b/src/bindings/python/src/openvino/properties/__init__.pyi@@ -1,15 +1,15 @@# type: ignore-from __future__ import annotations+from . import _propertiesfrom . import devicefrom . import hintfrom . import intel_autofrom . import intel_cpufrom . import intel_gpufrom . import log-from . import _propertiesfrom . import streams-from openvino.properties._properties import __make_properties+from __future__ import annotationsfrom openvino._pyopenvino import properties as __propertiesfrom openvino._pyopenvino.properties import CacheModefrom openvino._pyopenvino.properties import WorkloadType+from openvino.properties._properties import __make_properties__all__ = ['CacheMode', 'WorkloadType', 'device', 'hint', 'intel_auto', 'intel_cpu', 'intel_gpu', 'log', 'streams']diff --git a/src/bindings/python/src/openvino/properties/_properties.pyi b/src/bindings/python/src/openvino/properties/_properties.pyiindex 47a889f0952..97ee6021df3 100644--- a/src/bindings/python/src/openvino/properties/_properties.pyi+++ b/src/bindings/python/src/openvino/properties/_properties.pyi@@ -1,7 +1,7 @@# type: ignore+from __future__ import annotationsfrom builtins import builtin_function_or_method as BuiltinFunctionTypefrom builtins import module as ModuleType-from __future__ import annotationsfrom typing import Anyimport sys as sysimport typingdiff --git a/src/bindings/python/src/openvino/properties/device.pyi b/src/bindings/python/src/openvino/properties/device.pyiindex 97e403c1634..1bff959e81b 100644--- a/src/bindings/python/src/openvino/properties/device.pyi+++ b/src/bindings/python/src/openvino/properties/device.pyi@@ -1,7 +1,7 @@# type: ignorefrom __future__ import annotations-from openvino.properties._properties import __make_properties+from openvino._pyopenvino.properties import device as __devicefrom openvino._pyopenvino.properties.device import Capabilityfrom openvino._pyopenvino.properties.device import Type-from openvino._pyopenvino.properties import device as __device+from openvino.properties._properties import __make_properties__all__ = ['Capability', 'Type']diff --git a/src/bindings/python/src/openvino/properties/hint.pyi b/src/bindings/python/src/openvino/properties/hint.pyiindex 901da24584d..e3b39d6789d 100644--- a/src/bindings/python/src/openvino/properties/hint.pyi+++ b/src/bindings/python/src/openvino/properties/hint.pyi@@ -1,10 +1,10 @@# type: ignorefrom __future__ import annotations-from openvino.properties._properties import __make_properties+from openvino._pyopenvino.properties import hint as __hintfrom openvino._pyopenvino.properties.hint import ExecutionModefrom openvino._pyopenvino.properties.hint import ModelDistributionPolicyfrom openvino._pyopenvino.properties.hint import PerformanceModefrom openvino._pyopenvino.properties.hint import Priorityfrom openvino._pyopenvino.properties.hint import SchedulingCoreType-from openvino._pyopenvino.properties import hint as __hint+from openvino.properties._properties import __make_properties__all__ = ['ExecutionMode', 'ModelDistributionPolicy', 'PerformanceMode', 'Priority', 'SchedulingCoreType']diff --git a/src/bindings/python/src/openvino/properties/intel_auto.pyi b/src/bindings/python/src/openvino/properties/intel_auto.pyiindex 8f4af763938..512152b2378 100644--- a/src/bindings/python/src/openvino/properties/intel_auto.pyi+++ b/src/bindings/python/src/openvino/properties/intel_auto.pyi@@ -1,6 +1,6 @@# type: ignorefrom __future__ import annotations-from openvino.properties._properties import __make_propertiesfrom openvino._pyopenvino.properties import intel_auto as __intel_autofrom openvino._pyopenvino.properties.intel_auto import SchedulePolicy+from openvino.properties._properties import __make_properties__all__ = ['SchedulePolicy']diff --git a/src/bindings/python/src/openvino/properties/intel_cpu.pyi b/src/bindings/python/src/openvino/properties/intel_cpu.pyiindex 14bdf93960b..2cc3bf74e35 100644--- a/src/bindings/python/src/openvino/properties/intel_cpu.pyi+++ b/src/bindings/python/src/openvino/properties/intel_cpu.pyi@@ -1,5 +1,5 @@# type: ignorefrom __future__ import annotations-from openvino.properties._properties import __make_propertiesfrom openvino._pyopenvino.properties import intel_cpu as __intel_cpu+from openvino.properties._properties import __make_properties__all__ = list()diff --git a/src/bindings/python/src/openvino/properties/intel_gpu.pyi b/src/bindings/python/src/openvino/properties/intel_gpu.pyiindex 93253b9968f..ee47f3ba5aa 100644--- a/src/bindings/python/src/openvino/properties/intel_gpu.pyi+++ b/src/bindings/python/src/openvino/properties/intel_gpu.pyi@@ -1,7 +1,7 @@# type: ignorefrom __future__ import annotations-from openvino.properties._properties import __make_propertiesfrom openvino._pyopenvino.properties import intel_gpu as __intel_gpufrom openvino._pyopenvino.properties.intel_gpu import CapabilityGPUfrom openvino._pyopenvino.properties.intel_gpu import MemoryType+from openvino.properties._properties import __make_properties__all__ = ['CapabilityGPU', 'MemoryType']diff --git a/src/bindings/python/src/openvino/properties/log.pyi b/src/bindings/python/src/openvino/properties/log.pyiindex 95caa16ae90..9bd48b66270 100644--- a/src/bindings/python/src/openvino/properties/log.pyi+++ b/src/bindings/python/src/openvino/properties/log.pyi@@ -1,6 +1,6 @@# type: ignorefrom __future__ import annotations-from openvino.properties._properties import __make_propertiesfrom openvino._pyopenvino.properties import log as __logfrom openvino._pyopenvino.properties.log import Level+from openvino.properties._properties import __make_properties__all__ = ['Level']diff --git a/src/bindings/python/src/openvino/properties/streams.pyi b/src/bindings/python/src/openvino/properties/streams.pyiindex 6079e8d225f..44a631422b3 100644--- a/src/bindings/python/src/openvino/properties/streams.pyi+++ b/src/bindings/python/src/openvino/properties/streams.pyi@@ -1,6 +1,6 @@# type: ignorefrom __future__ import annotations-from openvino.properties._properties import __make_propertiesfrom openvino._pyopenvino.properties import streams as __streamsfrom openvino._pyopenvino.properties.streams import Num+from openvino.properties._properties import __make_properties__all__ = ['Num']diff --git a/src/bindings/python/src/openvino/tools/__init__.pyi b/src/bindings/python/src/openvino/tools/__init__.pyiindex de55f86490b..14ad0c66add 100644--- a/src/bindings/python/src/openvino/tools/__init__.pyi+++ b/src/bindings/python/src/openvino/tools/__init__.pyi@@ -1,4 +1,4 @@# type: ignore-from __future__ import annotationsfrom . import ovc+from __future__ import annotations__all__ = ['ovc']diff --git a/src/bindings/python/src/openvino/tools/ovc/__init__.pyi b/src/bindings/python/src/openvino/tools/ovc/__init__.pyiindex 6572caca1d9..62c47af78fc 100644--- a/src/bindings/python/src/openvino/tools/ovc/__init__.pyi+++ b/src/bindings/python/src/openvino/tools/ovc/__init__.pyi@@ -1,18 +1,18 @@# type: ignore-from __future__ import annotationsfrom . import cli_parserfrom . import convertfrom . import convert_implfrom . import errorfrom . import get_ov_update_messagefrom . import help-from importlib import metadata as importlib_metadatafrom . import loggerfrom . import moc_frontendfrom . import telemetry_paramsfrom . import telemetry_utilsfrom . import utilsfrom . import version+from __future__ import annotations+from importlib import metadata as importlib_metadatafrom openvino._pyopenvino import get_version as get_rt_versionfrom openvino.tools.ovc.convert import convert_modelfrom openvino.tools.ovc.telemetry_utils import init_ovc_telemetrydiff --git a/src/bindings/python/src/openvino/tools/ovc/cli_parser.pyi b/src/bindings/python/src/openvino/tools/ovc/cli_parser.pyiindex b766d706abd..b92a75fddb1 100644--- a/src/bindings/python/src/openvino/tools/ovc/cli_parser.pyi+++ b/src/bindings/python/src/openvino/tools/ovc/cli_parser.pyi@@ -1,7 +1,7 @@# type: ignore-from collections import namedtuple-from collections import OrderedDictfrom __future__ import annotations+from collections import OrderedDict+from collections import namedtuplefrom openvino._pyopenvino import Dimensionfrom openvino._pyopenvino import PartialShapefrom openvino._pyopenvino import Typediff --git a/src/bindings/python/src/openvino/tools/ovc/convert_impl.pyi b/src/bindings/python/src/openvino/tools/ovc/convert_impl.pyiindex 81a25bc7acc..25433273698 100644--- a/src/bindings/python/src/openvino/tools/ovc/convert_impl.pyi+++ b/src/bindings/python/src/openvino/tools/ovc/convert_impl.pyi@@ -1,12 +1,14 @@# type: ignore-from collections import OrderedDictfrom __future__ import annotations-from openvino.frontend.frontend import FrontEndManager-from openvino._pyopenvino import get_version as get_rt_version+from collections import OrderedDictfrom openvino._pyopenvino import OpConversionFailurefrom openvino._pyopenvino import PartialShapefrom openvino._pyopenvino import TelemetryExtension-from openvino_telemetry.backend import backend_ga4+from openvino._pyopenvino import get_version as get_rt_version+from openvino.frontend.frontend import FrontEndManager+from openvino.frontend.tensorflow.utils import create_tf_graph_iterator+from openvino.frontend.tensorflow.utils import extract_model_graph+from openvino.frontend.tensorflow.utils import type_supported_by_tf_fefrom openvino.tools.ovc.cli_parser import depersonalizefrom openvino.tools.ovc.cli_parser import get_available_front_endsfrom openvino.tools.ovc.cli_parser import get_common_cli_options@@ -32,6 +34,7 @@ from openvino.tools.ovc.telemetry_utils import send_conversion_resultfrom openvino.tools.ovc.telemetry_utils import send_params_infofrom openvino.tools.ovc.utils import check_values_equalfrom openvino.tools.ovc.version import VersionChecker+from openvino_telemetry.backend import backend_ga4from pathlib import Pathimport argparse as argparseimport datetime as datetime@@ -41,7 +44,7 @@ import os as osimport sys as sysimport traceback as tracebackimport tracemalloc as tracemalloc-__all__ = ['Error', 'FrameworkError', 'FrontEndManager', 'OpConversionFailure', 'OrderedDict', 'PartialShape', 'Path', 'TelemetryExtension', 'VersionChecker', 'add_line_breaks', 'any_extensions_used', 'argparse', 'args_to_argv', 'arguments_post_parsing', 'backend_ga4', 'check_iterable', 'check_model_object', 'check_values_equal', 'datetime', 'depersonalize', 'driver', 'extract_input_info_from_example', 'filtered_extensions', 'get_available_front_ends', 'get_common_cli_options', 'get_compression_message', 'get_convert_model_help_specifics', 'get_jax_decoder', 'get_mo_convert_params', 'get_moc_frontends', 'get_non_default_params', 'get_pytorch_decoder', 'get_pytorch_decoder_for_model_on_disk', 'get_rt_version', 'init_logger', 'init_ovc_telemetry', 'input_model_is_object', 'input_to_input_cut_info', 'is_verbose', 'log', 'moc_emit_ir', 'moc_pipeline', 'normalize_inputs', 'os', 'pack_params_to_args_namespace', 'paddle_frontend_converter', 'parse_inputs', 'prepare_ir', 'print_argv', 'replace_ext', 'send_conversion_result', 'send_params_info', 'show_mo_convert_help', 'sys', 'tf_frontend_with_python_bindings_installed', 'tm', 'to_ov_type', 'traceback', 'tracemalloc']+__all__ = ['Error', 'FrameworkError', 'FrontEndManager', 'OpConversionFailure', 'OrderedDict', 'PartialShape', 'Path', 'TelemetryExtension', 'VersionChecker', 'add_line_breaks', 'any_extensions_used', 'argparse', 'args_to_argv', 'arguments_post_parsing', 'backend_ga4', 'check_iterable', 'check_model_object', 'check_values_equal', 'create_tf_graph_iterator', 'datetime', 'depersonalize', 'driver', 'extract_input_info_from_example', 'extract_model_graph', 'filtered_extensions', 'get_available_front_ends', 'get_common_cli_options', 'get_compression_message', 'get_convert_model_help_specifics', 'get_jax_decoder', 'get_mo_convert_params', 'get_moc_frontends', 'get_non_default_params', 'get_pytorch_decoder', 'get_pytorch_decoder_for_model_on_disk', 'get_rt_version', 'init_logger', 'init_ovc_telemetry', 'input_model_is_object', 'input_to_input_cut_info', 'is_verbose', 'log', 'moc_emit_ir', 'moc_pipeline', 'normalize_inputs', 'os', 'pack_params_to_args_namespace', 'paddle_frontend_converter', 'parse_inputs', 'prepare_ir', 'print_argv', 'replace_ext', 'send_conversion_result', 'send_params_info', 'show_mo_convert_help', 'sys', 'tf_frontend_with_python_bindings_installed', 'tm', 'to_ov_type', 'traceback', 'tracemalloc', 'type_supported_by_tf_fe']def _convert(cli_parser: argparse.ArgumentParser, args, python_api_used):...def add_line_breaks(text: str, char_num: int, line_break: str):@@ -94,4 +97,3 @@ def replace_ext(name: str, old: str, new: str):...def show_mo_convert_help():...-tf_frontend_with_python_bindings_installed: bool = Falsediff --git a/src/bindings/python/src/openvino/tools/ovc/logger.pyi b/src/bindings/python/src/openvino/tools/ovc/logger.pyiindex 5f53d66bacf..34e1e20c25c 100644--- a/src/bindings/python/src/openvino/tools/ovc/logger.pyi+++ b/src/bindings/python/src/openvino/tools/ovc/logger.pyi@@ -1,6 +1,6 @@# type: ignore-from copy import copyfrom __future__ import annotations+from copy import copyimport importlib as importlibimport loggingimport logging as logdiff --git a/src/bindings/python/src/openvino/tools/ovc/moc_frontend/__init__.pyi b/src/bindings/python/src/openvino/tools/ovc/moc_frontend/__init__.pyiindex 613b21f4fb1..5e107e97e6d 100644--- a/src/bindings/python/src/openvino/tools/ovc/moc_frontend/__init__.pyi+++ b/src/bindings/python/src/openvino/tools/ovc/moc_frontend/__init__.pyi@@ -1,5 +1,4 @@# type: ignore-from __future__ import annotationsfrom . import analysisfrom . import check_configfrom . import extractor@@ -12,4 +11,5 @@ from . import preprocessingfrom . import pytorch_frontend_utilsfrom . import shape_utilsfrom . import type_utils+from __future__ import annotations__all__ = ['analysis', 'check_config', 'extractor', 'jax_frontend_utils', 'layout_utils', 'moc_emit_ir', 'paddle_frontend_utils', 'pipeline', 'preprocessing', 'pytorch_frontend_utils', 'shape_utils', 'type_utils']diff --git a/src/bindings/python/src/openvino/tools/ovc/moc_frontend/extractor.pyi b/src/bindings/python/src/openvino/tools/ovc/moc_frontend/extractor.pyiindex 09ae0f78b88..0111fcd7349 100644--- a/src/bindings/python/src/openvino/tools/ovc/moc_frontend/extractor.pyi+++ b/src/bindings/python/src/openvino/tools/ovc/moc_frontend/extractor.pyi@@ -1,6 +1,6 @@# type: ignore-from enum import Enumfrom __future__ import annotations+from enum import Enumfrom openvino._pyopenvino import InputModelfrom openvino._pyopenvino import PartialShapefrom openvino._pyopenvino import Placediff --git a/src/bindings/python/src/openvino/tools/ovc/moc_frontend/pipeline.pyi b/src/bindings/python/src/openvino/tools/ovc/moc_frontend/pipeline.pyiindex 17ea914aba4..d61281b0bb6 100644--- a/src/bindings/python/src/openvino/tools/ovc/moc_frontend/pipeline.pyi+++ b/src/bindings/python/src/openvino/tools/ovc/moc_frontend/pipeline.pyi@@ -1,11 +1,11 @@# type: ignorefrom __future__ import annotations-from openvino.frontend.frontend import FrontEndfrom openvino._pyopenvino import InputModelfrom openvino._pyopenvino import NotImplementedFailurefrom openvino._pyopenvino import PartialShapefrom openvino._pyopenvino import Placefrom openvino._pyopenvino import Type+from openvino.frontend.frontend import FrontEndfrom openvino.tools.ovc.error import Errorfrom openvino.tools.ovc.moc_frontend.analysis import json_model_analysis_dumpfrom openvino.tools.ovc.moc_frontend.extractor import convert_params_lists_to_dictsdiff --git a/src/bindings/python/src/openvino/tools/ovc/telemetry_utils.pyi b/src/bindings/python/src/openvino/tools/ovc/telemetry_utils.pyiindex 81b8b2c28cf..f21ec413514 100644--- a/src/bindings/python/src/openvino/tools/ovc/telemetry_utils.pyi+++ b/src/bindings/python/src/openvino/tools/ovc/telemetry_utils.pyi@@ -1,9 +1,9 @@# type: ignorefrom __future__ import annotationsfrom openvino._pyopenvino import get_version as get_rt_version-from openvino_telemetry.backend import backend_ga4from openvino.tools.ovc.cli_parser import get_params_with_paths_listfrom openvino.tools.ovc.utils import check_values_equal+from openvino_telemetry.backend import backend_ga4import argparse as argparseimport numbers as numbersimport openvino_telemetry as tmdiff --git a/src/bindings/python/src/openvino/tools/ovc/utils.pyi b/src/bindings/python/src/openvino/tools/ovc/utils.pyiindex 2257881d6b4..8e4bc6a52eb 100644--- a/src/bindings/python/src/openvino/tools/ovc/utils.pyi+++ b/src/bindings/python/src/openvino/tools/ovc/utils.pyi@@ -1,8 +1,8 @@# type: ignorefrom __future__ import annotationsfrom importlib import metadata as importlib_metadata-from openvino_telemetry.backend import backend_ga4from openvino.tools.ovc.error import Error+from openvino_telemetry.backend import backend_ga4import importlib as importlibimport logging as logimport numpydiff --git a/src/bindings/python/src/openvino/utils/__init__.pyi b/src/bindings/python/src/openvino/utils/__init__.pyiindex 0027334232e..b2d192e0f73 100644--- a/src/bindings/python/src/openvino/utils/__init__.pyi+++ b/src/bindings/python/src/openvino/utils/__init__.pyi@@ -1,20 +1,20 @@# type: ignore-"""-Generic utilities. Factor related functions out to separate files.-"""-from __future__ import annotationsfrom . import data_helpersfrom . import decoratorsfrom . import input_validationfrom . import node_factoryfrom . import postponed_constantfrom . import types+from __future__ import annotations+from openvino._pyopenvino.util import numpy_to_c+from openvino._pyopenvino.util import replace_node+from openvino._pyopenvino.util import replace_output_update_namefrom openvino.package_utils import classpropertyfrom openvino.package_utils import deprecatedfrom openvino.package_utils import deprecatedclasspropertyfrom openvino.package_utils import get_cmake_path-from openvino._pyopenvino.util import numpy_to_c-from openvino._pyopenvino.util import replace_node-from openvino._pyopenvino.util import replace_output_update_namefrom openvino.utils.postponed_constant import make_postponed_constant+"""+Generic utilities. Factor related functions out to separate files.+"""__all__ = ['classproperty', 'data_helpers', 'decorators', 'deprecated', 'deprecatedclassproperty', 'get_cmake_path', 'input_validation', 'make_postponed_constant', 'node_factory', 'numpy_to_c', 'postponed_constant', 'replace_node', 'replace_output_update_name', 'types']diff --git a/src/bindings/python/src/openvino/utils/data_helpers/__init__.pyi b/src/bindings/python/src/openvino/utils/data_helpers/__init__.pyiindex 7c5739d821c..e07bfc31009 100644--- a/src/bindings/python/src/openvino/utils/data_helpers/__init__.pyi+++ b/src/bindings/python/src/openvino/utils/data_helpers/__init__.pyi@@ -1,9 +1,9 @@# type: ignore-from __future__ import annotationsfrom . import data_dispatcherfrom . import wrappers+from __future__ import annotationsfrom openvino.utils.data_helpers.data_dispatcher import _data_dispatch-from openvino.utils.data_helpers.wrappers import _InferRequestWrapperfrom openvino.utils.data_helpers.wrappers import OVDict+from openvino.utils.data_helpers.wrappers import _InferRequestWrapperfrom openvino.utils.data_helpers.wrappers import tensor_from_file__all__ = ['OVDict', 'data_dispatcher', 'tensor_from_file', 'wrappers']diff --git a/src/bindings/python/src/openvino/utils/data_helpers/data_dispatcher.pyi b/src/bindings/python/src/openvino/utils/data_helpers/data_dispatcher.pyiindex b84fcc2ca9e..b949c39d7e4 100644--- a/src/bindings/python/src/openvino/utils/data_helpers/data_dispatcher.pyi+++ b/src/bindings/python/src/openvino/utils/data_helpers/data_dispatcher.pyi@@ -1,12 +1,12 @@# type: ignore-from functools import singledispatchfrom __future__ import annotations+from functools import singledispatchfrom openvino._pyopenvino import ConstOutputfrom openvino._pyopenvino import RemoteTensorfrom openvino._pyopenvino import Tensorfrom openvino._pyopenvino import Type-from openvino.utils.data_helpers.wrappers import _InferRequestWrapperfrom openvino.utils.data_helpers.wrappers import OVDict+from openvino.utils.data_helpers.wrappers import _InferRequestWrapperfrom typing import Anyimport numpy as npimport openvino._pyopenvinodiff --git a/src/bindings/python/src/openvino/utils/data_helpers/wrappers.pyi b/src/bindings/python/src/openvino/utils/data_helpers/wrappers.pyiindex 7b941eda064..3ac6b902828 100644--- a/src/bindings/python/src/openvino/utils/data_helpers/wrappers.pyi+++ b/src/bindings/python/src/openvino/utils/data_helpers/wrappers.pyi@@ -1,7 +1,7 @@# type: ignore+from __future__ import annotationsfrom collections.abc import Mappingfrom functools import singledispatchmethod-from __future__ import annotationsfrom openvino._pyopenvino import ConstOutputfrom openvino._pyopenvino import InferRequest as InferRequestBasefrom openvino._pyopenvino import Tensordiff --git a/src/bindings/python/src/openvino/utils/decorators.pyi b/src/bindings/python/src/openvino/utils/decorators.pyiindex 1107e2f5409..fd89f18b449 100644--- a/src/bindings/python/src/openvino/utils/decorators.pyi+++ b/src/bindings/python/src/openvino/utils/decorators.pyi@@ -1,6 +1,6 @@# type: ignore-from functools import wrapsfrom __future__ import annotations+from functools import wrapsfrom inspect import signaturefrom openvino._pyopenvino import Nodefrom openvino._pyopenvino import Outputdiff --git a/src/bindings/python/src/openvino/utils/input_validation.pyi b/src/bindings/python/src/openvino/utils/input_validation.pyiindex d4f93d051dd..d993abb45a4 100644--- a/src/bindings/python/src/openvino/utils/input_validation.pyi+++ b/src/bindings/python/src/openvino/utils/input_validation.pyi@@ -1,12 +1,12 @@# type: ignore-"""-Helper functions for validating user input.-"""from __future__ import annotationsfrom openvino.exceptions import UserInputErrorfrom typing import Anyimport logging as loggingimport numpy as np+"""+Helper functions for validating user input.+"""__all__ = ['Any', 'UserInputError', 'assert_list_of_ints', 'check_valid_attribute', 'check_valid_attributes', 'is_non_negative_value', 'is_positive_value', 'log', 'logging', 'np']def _check_value(op_name, attr_key, value, val_type, cond = None):"""diff --git a/src/bindings/python/src/openvino/utils/node_factory.pyi b/src/bindings/python/src/openvino/utils/node_factory.pyiindex dc1fae12ee4..cdfaf7afeca 100644--- a/src/bindings/python/src/openvino/utils/node_factory.pyi+++ b/src/bindings/python/src/openvino/utils/node_factory.pyi@@ -1,11 +1,11 @@# type: ignore-from functools import singledispatchmethodfrom __future__ import annotations-from openvino.exceptions import UserInputError+from functools import singledispatchmethodfrom openvino._pyopenvino import Extensionfrom openvino._pyopenvino import Nodefrom openvino._pyopenvino import NodeFactory as _NodeFactoryfrom openvino._pyopenvino import Output+from openvino.exceptions import UserInputErrorfrom pathlib import Pathfrom typing import Anyimport openvino._pyopenvinodiff --git a/src/bindings/python/src/openvino/utils/types.pyi b/src/bindings/python/src/openvino/utils/types.pyiindex be1c7eae305..6dff2339038 100644--- a/src/bindings/python/src/openvino/utils/types.pyi+++ b/src/bindings/python/src/openvino/utils/types.pyi@@ -1,20 +1,20 @@# type: ignore-"""-Functions related to converting between Python and numpy types and openvino types.-"""from __future__ import annotations-from openvino.exceptions import OVTypeErrorfrom openvino._pyopenvino import Nodefrom openvino._pyopenvino import Outputfrom openvino._pyopenvino import Shapefrom openvino._pyopenvino import Typefrom openvino._pyopenvino.op import Constant+from openvino.exceptions import OVTypeErrorimport logging as loggingimport numpyimport numpy as npimport openvino._pyopenvinoimport openvino._pyopenvino.opimport typing+"""+Functions related to converting between Python and numpy types and openvino types.+"""__all__ = ['Constant', 'Node', 'NodeInput', 'NumericData', 'NumericType', 'OVTypeError', 'Output', 'ScalarData', 'Shape', 'TensorShape', 'Type', 'as_node', 'as_nodes', 'get_dtype', 'get_element_type', 'get_element_type_str', 'get_ndarray', 'get_numpy_ctype', 'get_shape', 'log', 'logging', 'make_constant_node', 'np', 'openvino_to_numpy_types_map', 'openvino_to_numpy_types_str_map']def as_node(input_value: typing.Union[openvino._pyopenvino.Node, int, float, numpy.ndarray], name: typing.Optional[str] = None) -> openvino._pyopenvino.Node:"""