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] Update Python API stub files (#31400)
github-actions[bot]9a68ea3be064
diff --git a/src/bindings/python/src/openvino/_op_base.pyi b/src/bindings/python/src/openvino/_op_base.pyiindex 020249a7789..bee256eb2b2 100644--- a/src/bindings/python/src/openvino/_op_base.pyi+++ b/src/bindings/python/src/openvino/_op_base.pyi@@ -6,5 +6,5 @@ from openvino._pyopenvino import Outputimport openvino._pyopenvino__all__ = ['Node', 'Op', 'OpBase', 'Output']class Op(openvino._pyopenvino.Op):- def __init__(self, py_obj: Op, inputs: typing.Union[typing.List[typing.Union[openvino._pyopenvino.Node, openvino._pyopenvino.Output]], typing.Tuple[typing.Union[openvino._pyopenvino.Node, openvino._pyopenvino.Output, typing.List[typing.Union[openvino._pyopenvino.Node, openvino._pyopenvino.Output]]]], NoneType] = None) -> None:+ def __init__(self, py_obj: Op, inputs: typing.Union[list[typing.Union[openvino._pyopenvino.Node, openvino._pyopenvino.Output]], tuple[typing.Union[openvino._pyopenvino.Node, openvino._pyopenvino.Output, list[typing.Union[openvino._pyopenvino.Node, openvino._pyopenvino.Output]]]], NoneType] = None) -> None:...diff --git a/src/bindings/python/src/openvino/_ov_api.pyi b/src/bindings/python/src/openvino/_ov_api.pyiindex f63dff774d2..43dc15e82a8 100644--- a/src/bindings/python/src/openvino/_ov_api.pyi+++ b/src/bindings/python/src/openvino/_ov_api.pyi@@ -1,6 +1,7 @@# type: ignorefrom __future__ import annotationsfrom builtins import traceback as TracebackType+from collections.abc import Iteratorfrom openvino._pyopenvino import AsyncInferQueue as AsyncInferQueueBasefrom openvino._pyopenvino import CompiledModel as CompiledModelBasefrom openvino._pyopenvino import Core as CoreBase@@ -14,7 +15,7 @@ from openvino.utils.data_helpers.wrappers import OVDictfrom openvino.utils.data_helpers.wrappers import _InferRequestWrapperfrom openvino.utils.data_helpers.wrappers import tensor_from_filefrom pathlib import Path-from typing import Any+import collections.abcimport io as ioimport openvino._pyopenvinoimport openvino._pyopenvino.op@@ -23,7 +24,7 @@ import openvino.utils.data_helpers.wrappersimport pathlibimport traceback as tracebackimport typing-__all__ = ['Any', 'AsyncInferQueue', 'AsyncInferQueueBase', 'CompiledModel', 'CompiledModelBase', 'Core', 'CoreBase', 'InferRequest', 'Model', 'ModelBase', 'ModelMeta', 'Node', 'OVDict', 'Path', 'Tensor', 'TracebackType', 'Type', 'TypingType', 'compile_model', 'deprecatedclassproperty', 'io', 'tensor_from_file', 'traceback']+__all__ = ['AsyncInferQueue', 'AsyncInferQueueBase', 'CompiledModel', 'CompiledModelBase', 'Core', 'CoreBase', 'InferRequest', 'Iterator', 'Model', 'ModelBase', 'ModelMeta', 'Node', 'OVDict', 'Path', 'Tensor', 'TracebackType', 'Type', 'compile_model', 'deprecatedclassproperty', 'io', 'tensor_from_file', 'traceback']class AsyncInferQueue(openvino._pyopenvino.AsyncInferQueue):"""AsyncInferQueue with a pool of asynchronous requests.@@ -47,7 +48,7 @@ class AsyncInferQueue(openvino._pyopenvino.AsyncInferQueue)::rtype: openvino.InferRequest"""- def __iter__(self) -> typing.Iterator[openvino._ov_api.InferRequest]:+ def __iter__(self) -> collections.abc.Iterator[InferRequest]:"""Allows to iterate over AsyncInferQueue.@@ -56,7 +57,7 @@ class AsyncInferQueue(openvino._pyopenvino.AsyncInferQueue):will put the parent AsyncInferQueue object in an invalid state.:return: a generator that yields InferRequests.- :rtype: Iterable[openvino.InferRequest]+ :rtype: collections.abc.Iterable[openvino.InferRequest]"""def start_async(self, inputs: typing.Any = None, userdata: typing.Any = None, share_inputs: bool = False) -> None:@@ -243,8 +244,8 @@ class CompiledModel(openvino._pyopenvino.CompiledModel):"""Gets state control interface for the underlaying infer request.- :return: List of VariableState objects.- :rtype: List[openvino.VariableState]+ :return: list of VariableState objects.+ :rtype: list[openvino.VariableState]"""def reset_state(self) -> None:@@ -265,7 +266,7 @@ class Core(openvino._pyopenvino.Core):Core instance per application."""- def compile_model(self, model: typing.Union[openvino._ov_api.Model, str, pathlib.Path], device_name: typing.Optional[str] = None, config: typing.Optional[typing.Dict[str, typing.Any]] = None, *, weights: typing.Optional[bytes] = None) -> CompiledModel:+ def compile_model(self, model: typing.Union[openvino._ov_api.Model, str, pathlib.Path], device_name: typing.Optional[str] = None, config: typing.Optional[dict[str, typing.Any]] = None, *, weights: typing.Optional[bytes] = None) -> CompiledModel:"""Creates a compiled model.@@ -293,7 +294,7 @@ class Core(openvino._pyopenvino.Core)::rtype: openvino.CompiledModel"""- def import_model(self, model_stream: bytes, device_name: str, config: typing.Optional[typing.Dict[str, typing.Any]] = None) -> CompiledModel:+ def import_model(self, model_stream: bytes, device_name: str, config: typing.Optional[dict[str, typing.Any]] = None) -> CompiledModel:"""Imports a compiled model from a previously exported one.@@ -335,9 +336,9 @@ class Core(openvino._pyopenvino.Core):new_compiled = core.import_model(user_stream, "CPU")"""- def query_model(self, model: Model, device_name: str, config: typing.Optional[typing.Dict[str, typing.Any]] = None) -> dict:+ def query_model(self, model: Model, device_name: str, config: typing.Optional[dict[str, typing.Any]] = None) -> dict:...- def read_model(self, model: typing.Union[str, bytes, object, _io.BytesIO], weights: typing.Union[object, str, bytes, openvino._pyopenvino.Tensor, _io.BytesIO] = None, config: typing.Optional[typing.Dict[str, typing.Any]] = None) -> Model:+ def read_model(self, model: typing.Union[str, bytes, object, _io.BytesIO], weights: typing.Union[object, str, bytes, openvino._pyopenvino.Tensor, _io.BytesIO] = None, config: typing.Optional[dict[str, typing.Any]] = None) -> Model:...class InferRequest(openvino.utils.data_helpers.wrappers._InferRequestWrapper):"""@@ -480,13 +481,13 @@ class InferRequest(openvino.utils.data_helpers.wrappers._InferRequestWrapper):Gets all outputs tensors of this InferRequest.:return: Dictionary of results from output tensors with ports as keys.- :rtype: Dict[openvino.ConstOutput, numpy.array]+ :rtype: dict[openvino.ConstOutput, numpy.array]"""class Model:def __copy__(self) -> Model:...- def __deepcopy__(self, memo: typing.Dict) -> Model:+ def __deepcopy__(self, memo: dict) -> Model:"""Returns a deepcopy of Model.@@ -496,7 +497,7 @@ class Model:"""def __enter__(self) -> Model:...- def __exit__(self, exc_type: typing.Type[BaseException], exc_value: BaseException, traceback: traceback) -> None:+ def __exit__(self, exc_type: type[BaseException], exc_value: BaseException, traceback: traceback) -> None:...def __getattr__(self, name: str) -> typing.Any:...@@ -508,12 +509,12 @@ class Model:"""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 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"""@@ -522,10 +523,10 @@ class Model:"""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 results: list of results.+ :type results: list[op.Result]+ :param parameters: list of parameters.+ :type parameters: list[op.Parameter]:param name: String to set as model's friendly name.:type name: str"""@@ -534,10 +535,10 @@ class Model:"""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 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"""@@ -548,8 +549,8 @@ class Model::param result: Node to be used as result.:type result: openvino.Node- :param parameters: List of parameters.- :type parameters: List[op.Parameter]+ :param parameters: list of parameters.+ :type parameters: list[op.Parameter]:param name: String to set as model's friendly name.:type name: str"""@@ -558,10 +559,10 @@ class Model:"""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 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"""@@ -570,12 +571,12 @@ class Model:"""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 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"""@@ -584,12 +585,12 @@ class Model:"""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 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"""@@ -598,14 +599,14 @@ class Model:"""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 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"""@@ -614,12 +615,12 @@ class Model:"""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 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"""@@ -628,14 +629,14 @@ class Model:"""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 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"""@@ -644,14 +645,14 @@ class Model:"""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 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"""@@ -660,12 +661,12 @@ class Model:"""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 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"""@@ -674,12 +675,12 @@ class Model:"""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 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"""@@ -688,10 +689,10 @@ class Model:"""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 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"""@@ -706,7 +707,7 @@ class ModelMeta(type):@classmethoddef __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:+def compile_model(model: typing.Union[openvino._ov_api.Model, str, pathlib.Path], device_name: typing.Optional[str] = 'AUTO', config: typing.Optional[dict[str, typing.Any]] = None) -> CompiledModel:"""Compact method to compile model with AUTO plugin.@@ -724,4 +725,3 @@ def compile_model(model: typing.Union[openvino._ov_api.Model, str, pathlib.Path]"""-TypingType: typing._SpecialGenericAlias # value = typing.Typediff --git a/src/bindings/python/src/openvino/_pyopenvino/__init__.pyi b/src/bindings/python/src/openvino/_pyopenvino/__init__.pyiindex a659c06612d..f1a08e2ffbf 100644--- a/src/bindings/python/src/openvino/_pyopenvino/__init__.pyi+++ b/src/bindings/python/src/openvino/_pyopenvino/__init__.pyi@@ -128,8 +128,8 @@ class AsyncInferQueue:@propertydef userdata(self) -> list[typing.Any]:"""- :return: List of all passed userdata. List is filled with `None` if the data wasn't passed yet.- :rtype: List[Any]+ :return: list of all passed userdata. list is filled with `None` if the data wasn't passed yet.+ :rtype: list[Any]"""class AttributeVisitor:def on_attributes(self, arg0: dict) -> None:@@ -333,7 +333,7 @@ class CompiledModel:"""Sets properties for current compiled model.- :param properties: Dict of pairs: (property name, property value)+ :param properties: dict of pairs: (property name, property value):type properties: dict:rtype: None"""@@ -342,7 +342,7 @@ class CompiledModel:"""Sets properties for current compiled model.- :param property: Tuple of (property name, matching property value).+ :param property: tuple of (property name, matching property value).:type property: tuple"""@property@@ -351,7 +351,7 @@ class CompiledModel:Gets all inputs of a compiled model.:return: Inputs of a compiled model.- :rtype: List[openvino.ConstOutput]+ :rtype: list[openvino.ConstOutput]"""@propertydef outputs(self) -> list[ConstOutput]:@@ -359,7 +359,7 @@ class CompiledModel:Gets all outputs of a compiled model.:return: Outputs of a compiled model.- :rtype: List[openvino.ConstOutput]+ :rtype: list[openvino.ConstOutput]"""class ConstOutput:"""@@ -413,8 +413,8 @@ class ConstOutput:"""The tensor names associated with this output.- :return: Set of tensor names.- :rtype: Set[str]+ :return: set of tensor names.+ :rtype: set[str]"""def get_node(self) -> Node:"""@@ -449,8 +449,8 @@ class ConstOutput:A set containing handles for all inputs, targeted by the output,referenced by this output handle.- :return: Set of Inputs.- :rtype: Set[openvino.Input]+ :return: set of Inputs.+ :rtype: set[openvino.Input]"""def get_tensor(self) -> DescriptorTensor:"""@@ -572,8 +572,8 @@ class Core:"""Registers extensions to a Core object.- :param extensions: List of Extension objects.- :type extensions: typing.List[openvino.Extension]+ :param extensions: list of Extension objects.+ :type extensions: list[openvino.Extension]"""@typing.overloaddef add_extension(self, custom_op: typing.Any) -> None:@@ -581,7 +581,7 @@ class Core:Registers custom Op to a Core object.:param custom_op: type of custom Op- :type custom_op: typing.Type[openvino.Op]+ :type custom_op: type[openvino.Op]"""@typing.overloaddef compile_model(self, model: Model, device_name: str, properties: dict[str, typing.Any]) -> CompiledModel:@@ -597,7 +597,7 @@ class Core::param device_name: Name of the device which will load the model.:type device_name: str:param properties: Optional dict of pairs: (property name, property value) relevant only for this load operation.- :type properties: typing.Dict[str, typing.Any]+ :type properties: dict[str, typing.Any]:return: A compiled model.:rtype: openvino.CompiledModel"""@@ -613,7 +613,7 @@ class Core::param model: Model acquired from read_model function.:type model: openvino.Model:param properties: Optional dict of pairs: (property name, property value) relevant only for this load operation.- :type properties: typing.Dict[str, typing.Any]+ :type properties: dict[str, typing.Any]:return: A compiled model.:rtype: openvino.CompiledModel"""@@ -631,7 +631,7 @@ class Core::param device_name: Name of the device to load the model to.:type device_name: str:param properties: Optional dict of pairs: (property name, property value) relevant only for this load operation.- :type properties: typing.Dict[str, typing.Any]+ :type properties: dict[str, typing.Any]:return: A compiled model.:rtype: openvino.CompiledModel"""@@ -667,7 +667,7 @@ class Core::param model_path: A path to a model in IR / ONNX / PDPD / TF and TFLite format.:type model_path: typing.Union[str, pathlib.Path]:param properties: Optional dict of pairs: (property name, property value) relevant only for this load operation.- :type properties: typing.Dict[str, typing.Any]+ :type properties: dict[str, typing.Any]:return: A compiled model.:rtype: openvino.CompiledModel"""@@ -683,7 +683,7 @@ class Core::param context: RemoteContext instance.:type context: openvino.RemoteContext:param properties: dict of pairs: (property name, property value) relevant only for this load operation.- :type properties: typing.Dict[str, typing.Any]+ :type properties: dict[str, typing.Any]:return: A compiled model.:rtype: openvino.CompiledModel"""@@ -695,7 +695,7 @@ class Core::param device_name: Name of a device to create a new shared context on.:type device_name: str:param properties: dict of device-specific shared context remote properties.- :type properties: typing.Dict[str, typing.Any]+ :type properties: dict[str, typing.Any]:return: Remote context instance.:rtype: openvino.RemoteContext"""@@ -709,7 +709,7 @@ class Core:If there more than one device of specific type, they are enumerated with .# suffix.Such enumerated device can later be used as a device name in all Core methods like:compile_model, query_model, set_property and so on.- :rtype: typing.List[str]+ :rtype: list[str]"""def get_default_context(self, device_name: str) -> RemoteContext:"""@@ -763,7 +763,7 @@ class Core::param device_name: Device name to identify a plugin.:type device_name: str:return: Plugin version information.- :rtype: typing.Dict[str, openvino.Version]+ :rtype: dict[str, openvino.Version]"""def import_model(self, model_stream: typing.Any, device_name: str, properties: dict[str, typing.Any]) -> CompiledModel:"""@@ -781,7 +781,7 @@ class Core:Note: if device_name is not used to compile the original model, an exception is thrown.:type device_name: str:param properties: Optional map of pairs: (property name, property value) relevant only for this load operation.- :type properties: typing.Dict[str, typing.Any], optional+ :type properties: dict[str, typing.Any], optional:return: A compiled model.:rtype: openvino.CompiledModel@@ -809,9 +809,9 @@ class Core::param device_name: A name of a device to query.:type device_name: str:param properties: Optional dict of pairs: (property name, property value)- :type properties: typing.Dict[str, typing.Any]+ :type properties: dict[str, typing.Any]:return: Pairs a operation name -> a device name supporting this operation.- :rtype: typing.Dict[str, str]+ :rtype: dict[str, str]"""@typing.overloaddef read_model(self, model: bytes, weights: bytes = b'') -> Model:@@ -845,7 +845,7 @@ class Core:For TFLite format (*.tflite) weights parameter is not used.:type weights: str:param config: Optional map of pairs: (property name, property value) relevant only for this read operation.- :type config: typing.Dict[str, typing.Any], optional+ :type config: dict[str, typing.Any], optional:return: A model.:rtype: openvino.Model"""@@ -882,7 +882,7 @@ class Core:For TFLite format (*.tflite) weights parameter is not used.:type weights: typing.Union[pathlib.Path, io.BytesIO]:param config: Optional map of pairs: (property name, property value) relevant only for this read operation.- :type config: typing.Dict[str, typing.Any], optional+ :type config: dict[str, typing.Any], optional:return: A model.:rtype: openvino.Model"""@@ -912,7 +912,7 @@ class Core::param device_name: A device name to register plugin for.:type device_name: str:param config: Plugin default configuration- :type config: typing.Dict[str, typing.Any], optional+ :type config: dict[str, typing.Any], optional"""def register_plugins(self, xml_config_file: str) -> None:"""@@ -927,16 +927,16 @@ class Core:"""Sets properties.- :param properties: Dict of pairs: (property name, property value).- :type properties: typing.Dict[str, typing.Any]+ :param properties: dict of pairs: (property name, property value).+ :type properties: dict[str, typing.Any]"""@typing.overloaddef set_property(self, property: tuple[str, typing.Any]) -> None:"""Sets properties for the device.- :param property: Tuple of (property name, matching property value).- :type property: typing.Tuple[str, typing.Any]+ :param property: tuple of (property name, matching property value).+ :type property: tuple[str, typing.Any]"""@typing.overloaddef set_property(self, device_name: str, properties: dict[str, typing.Any]) -> None:@@ -945,8 +945,8 @@ class Core::param device_name: Name of the device.:type device_name: str- :param properties: Dict of pairs: (property name, property value).- :type properties: typing.Dict[str, typing.Any]+ :param properties: dict of pairs: (property name, property value).+ :type properties: dict[str, typing.Any]"""@typing.overloaddef set_property(self, device_name: str, property: tuple[str, typing.Any]) -> None:@@ -955,8 +955,8 @@ class Core::param device_name: Name of the device.:type device_name: str- :param property: Tuple of (property name, matching property value).- :type property: typing.Tuple[str, typing.Any]+ :param property: tuple of (property name, matching property value).+ :type property: tuple[str, typing.Any]"""def unload_plugin(self, device_name: str) -> None:"""@@ -978,7 +978,7 @@ class Core:If there more than one device of specific type, they are enumerated with .# suffix.Such enumerated device can later be used as a device name in all Core methods like:compile_model, query_model, set_property and so on.- :rtype: typing.List[str]+ :rtype: list[str]"""class DecoderTransformationExtension(Extension):pass@@ -1054,10 +1054,10 @@ class DescriptorTensor:"""def get_value_symbol(self) -> list[Symbol]:"""- Returns the List of symbols.+ Returns the list of symbols.- :return: List of Symbols.- :rtype: List[openvino.Symbol]+ :return: list of Symbols.+ :rtype: list[openvino.Symbol]"""def set_lower_value(self, lower_bound: Tensor) -> None:"""@@ -1070,7 +1070,7 @@ class DescriptorTensor:"""Set names for tensor.- :param names: Set of names.+ :param names: set of names.:type names: set"""def set_upper_value(self, upper_bound: Tensor) -> None:@@ -1084,8 +1084,8 @@ class DescriptorTensor:"""Sets the value symbol of the tensor.- :param value_symbol: List of Symbols- :type value_symbol: List[openvino.Symbol]+ :param value_symbol: list of Symbols+ :type value_symbol: list[openvino.Symbol]"""@propertydef any_name(self) -> str:@@ -1344,7 +1344,7 @@ class FrontEnd:used in order to extend capabilities of Frontend.:param extension: Provided extension objects.- :type extension: List[Extension]+ :type extension: list[Extension]"""@typing.overloaddef add_extension(self, arg0: typing.Any) -> None:@@ -1448,8 +1448,8 @@ class FrontEndManager:"""Gets list of registered frontends.- :return: List of available frontend names.- :rtype: List[str]+ :return: list of available frontend names.+ :rtype: list[str]"""def load_by_framework(self, framework: str) -> FrontEnd:"""@@ -1553,8 +1553,8 @@ class InferRequest:GIL is released while running this function.- :return: List of profiling information for operations in model.- :rtype: List[openvino.ProfilingInfo]+ :return: list of profiling information for operations in model.+ :rtype: list[openvino.ProfilingInfo]"""@typing.overloaddef get_tensor(self, name: str) -> Tensor:@@ -1598,7 +1598,7 @@ class InferRequest::param inputs: Data to set on single input tensor.:type inputs: openvino.Tensor:return: Dictionary of results from output tensors with ports as keys.- :rtype: Dict[openvino.ConstOutput, numpy.array]+ :rtype: dict[openvino.ConstOutput, numpy.array]"""@typing.overloaddef infer(self, inputs: dict, share_outputs: bool, decode_strings: bool) -> typing.Any:@@ -1610,9 +1610,9 @@ class InferRequest:GIL is released while running the inference.:param inputs: Data to set on input tensors.- :type inputs: Dict[Union[int, str, openvino.ConstOutput], openvino.Tensor]+ :type inputs: dict[Union[int, str, openvino.ConstOutput], openvino.Tensor]:return: Dictionary of results from output tensors with ports as keys.- :rtype: Dict[openvino.ConstOutput, numpy.array]+ :rtype: dict[openvino.ConstOutput, numpy.array]"""def query_state(self) -> list[VariableState]:"""@@ -1620,8 +1620,8 @@ class InferRequest:GIL is released while running this function.- :return: List of VariableState objects.- :rtype: List[openvino.VariableState]+ :return: list of VariableState objects.+ :rtype: list[openvino.VariableState]"""def reset_state(self) -> None:"""@@ -1665,7 +1665,7 @@ class InferRequest:Set input tensors using given indexes.:param inputs: Data to set on output tensors.- :type inputs: Dict[int, openvino.Tensor]+ :type inputs: dict[int, openvino.Tensor]"""@typing.overloaddef set_input_tensors(self, tensors: list[Tensor]) -> None:@@ -1677,7 +1677,7 @@ class InferRequest::param tensors: Input tensors for batched infer request. The type of each tensormust match the model input element type and shape (except batch dimension).Total size of tensors needs to match with input's size.- :type tensors: List[openvino.Tensor]+ :type tensors: list[openvino.Tensor]"""@typing.overloaddef set_input_tensors(self, idx: int, tensors: list[Tensor]) -> None:@@ -1718,7 +1718,7 @@ class InferRequest:Set output tensors using given indexes.:param outputs: Data to set on output tensors.- :type outputs: Dict[int, openvino.Tensor]+ :type outputs: dict[int, openvino.Tensor]"""@typing.overloaddef set_tensor(self, name: str, tensor: RemoteTensor) -> None:@@ -1770,7 +1770,7 @@ class InferRequest:Set tensors using given keys.:param inputs: Data to set on tensors.- :type inputs: Dict[Union[int, str, openvino.ConstOutput], openvino.Tensor]+ :type inputs: dict[Union[int, str, openvino.ConstOutput], openvino.Tensor]"""@typing.overloaddef set_tensors(self, tensor_name: str, tensors: list[Tensor]) -> None:@@ -1786,7 +1786,7 @@ class InferRequest::param tensors: Input tensors for batched infer request. The type of each tensormust match the model input element type and shape (except batch dimension).Total size of tensors needs to match with input's size.- :type tensors: List[openvino.Tensor]+ :type tensors: list[openvino.Tensor]"""@typing.overloaddef set_tensors(self, port: ConstOutput, tensors: list[Tensor]) -> None:@@ -1803,7 +1803,7 @@ class InferRequest::param tensors: Input tensors for batched infer request. The type of each tensormust match the model input element type and shape (except batch dimension).Total size of tensors needs to match with input's size.- :type tensors: List[openvino.Tensor]+ :type tensors: list[openvino.Tensor]:rtype: None"""@typing.overload@@ -1834,7 +1834,7 @@ class InferRequest:running will lead to throwing exceptions.:param inputs: Data to set on input tensors.- :type inputs: Dict[Union[int, str, openvino.ConstOutput], openvino.Tensor]+ :type inputs: dict[Union[int, str, openvino.ConstOutput], openvino.Tensor]:param userdata: Any data that will be passed inside callback call.:type userdata: Any"""@@ -1863,7 +1863,7 @@ class InferRequest:"""Gets all input tensors of this InferRequest.- :rtype: List[openvino.Tensor]+ :rtype: list[openvino.Tensor]"""@propertydef latency(self) -> float:@@ -1877,21 +1877,21 @@ class InferRequest:"""Gets all inputs of a compiled model which was used to create this InferRequest.- :rtype: List[openvino.ConstOutput]+ :rtype: list[openvino.ConstOutput]"""@propertydef model_outputs(self) -> list[ConstOutput]:"""Gets all outputs of a compiled model which was used to create this InferRequest.- :rtype: List[openvino.ConstOutput]+ :rtype: list[openvino.ConstOutput]"""@propertydef output_tensors(self) -> list[Tensor]:"""Gets all output tensors of this InferRequest.- :rtype: List[openvino.Tensor]+ :rtype: list[openvino.Tensor]"""@propertydef profiling_info(self) -> list[ProfilingInfo]:@@ -1902,7 +1902,7 @@ class InferRequest:GIL is released while running this function.:return: Inference time.- :rtype: List[openvino.ProfilingInfo]+ :rtype: list[openvino.ProfilingInfo]"""@propertydef results(self) -> dict:@@ -1912,7 +1912,7 @@ class InferRequest:Note: All string-based data is decoded by default.:return: Dictionary of results from output tensors with ports as keys.- :rtype: Dict[openvino.ConstOutput, numpy.array]+ :rtype: dict[openvino.ConstOutput, numpy.array]"""@propertydef userdata(self) -> typing.Any:@@ -1992,6 +1992,15 @@ class Input::param new_source_output: A handle for the output that will replace this input's source.:type new_source_output: openvino.Input"""+ def set_rt_info(self, value: typing.Any, key: str) -> None:+ """+ Add a value to the runtime info.++ :param value: Value for the runtime info.+ :type value: Any+ :param key: String that defines a key in the runtime info dictionary.+ :type key: str+ """@propertydef rt_info(self) -> RTMap:...@@ -2040,9 +2049,9 @@ class InputModel:Leaves only subgraph that are defined by new inputs and new outputs.:param inputs: Array of new input places.- :type inputs: List[openvino.frontend.Place]+ :type inputs: list[openvino.frontend.Place]:param outputs: Array of new output places.- :type outputs: List[openvino.frontend.Place]+ :type outputs: list[openvino.frontend.Place]"""def free_name_for_operation(self, name: str) -> None:"""@@ -2072,14 +2081,14 @@ class InputModel:Returns all inputs for a model.:return: A list of input places.- :rtype: List[openvino.frontend.Place]+ :rtype: list[openvino.frontend.Place]"""def get_outputs(self) -> list[Place]:"""Returns all outputs for a model. An output is a terminal place in a graph where data escapes the flow.:return: A list of output places.- :rtype: List[openvino.frontend.Place]+ :rtype: list[openvino.frontend.Place]"""def get_partial_shape(self, place: Place) -> PartialShape:"""@@ -2147,7 +2156,7 @@ class InputModel:should completely satisfy all existing outputs.:param inputs: Array of new input places.- :type inputs: List[openvino.frontend.Place]+ :type inputs: list[openvino.frontend.Place]"""def override_all_outputs(self, outputs: list[Place]) -> None:"""@@ -2155,7 +2164,7 @@ class InputModel:is not required for new outputs.:param outputs: Vector with places that will become new outputs; may intersect existing outputs.- :type outputs: List[openvino.frontend.Place]+ :type outputs: list[openvino.frontend.Place]"""def remove_output(self, place: Place) -> None:"""@@ -2281,12 +2290,12 @@ class Model:"""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 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"""@@ -2295,10 +2304,10 @@ class Model:"""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 results: list of results.+ :type results: list[op.Result]+ :param parameters: list of parameters.+ :type parameters: list[op.Parameter]:param name: String to set as model's friendly name.:type name: str"""@@ -2307,10 +2316,10 @@ class Model:"""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 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"""@@ -2321,8 +2330,8 @@ class Model::param result: Node to be used as result.:type result: openvino.Node- :param parameters: List of parameters.- :type parameters: List[op.Parameter]+ :param parameters: list of parameters.+ :type parameters: list[op.Parameter]:param name: String to set as model's friendly name.:type name: str"""@@ -2331,10 +2340,10 @@ class Model:"""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 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"""@@ -2343,12 +2352,12 @@ class Model:"""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 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"""@@ -2357,12 +2366,12 @@ class Model:"""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 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"""@@ -2371,14 +2380,14 @@ class Model:"""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 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"""@@ -2387,12 +2396,12 @@ class Model:"""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 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"""@@ -2401,14 +2410,14 @@ class Model:"""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 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"""@@ -2417,14 +2426,14 @@ class Model:"""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 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"""@@ -2433,12 +2442,12 @@ class Model:"""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 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"""@@ -2447,12 +2456,12 @@ class Model:"""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 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"""@@ -2461,10 +2470,10 @@ class Model:"""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 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"""@@ -2493,7 +2502,7 @@ class Model:* call graph validation to check correctness of changes:param parameter: new Parameter nodes.- :type parameter: List[op.Parameter]+ :type parameter: list[op.Parameter]"""def add_results(self, results: list[op.Result]) -> None:"""@@ -2502,7 +2511,7 @@ class Model:Method doesn't validate graph, it should be done manually after all changes.:param results: new Result nodes.- :type results: List[op.Result]+ :type results: list[op.Result]"""def add_sinks(self, sinks: list) -> None:"""@@ -2511,7 +2520,7 @@ class Model:Method doesn't validate graph, it should be done manually after all changes.:param sinks: new sink nodes.- :type sinks: List[openvino.Node]+ :type sinks: list[openvino.Node]"""def add_variables(self, variables: list[op.util.Variable]) -> None:"""@@ -2520,7 +2529,7 @@ class Model:Method doesn't validate graph, it should be done manually after all changes.:param variables: new variables to add.- :type variables: List[op.util.Variable]+ :type variables: list[op.util.Variable]"""def clone(self) -> Model:"""@@ -2533,9 +2542,9 @@ class Model:Evaluate the model on inputs, putting results in outputs:param output_tensors: Tensors for the outputs to compute. One for each result- :type output_tensors: List[openvino.Tensor]+ :type output_tensors: list[openvino.Tensor]:param input_tensors: Tensors for the inputs. One for each inputs.- :type input_tensors: List[openvino.Tensor]+ :type input_tensors: list[openvino.Tensor]:param evaluation_context: Storage of additional settings and attributes that can be usedwhen evaluating the model. This additional information can beshared across nodes.@@ -2562,15 +2571,15 @@ class Model:"""Return ops used in the model.- :return: List of Nodes representing ops used in model.- :rtype: List[openvino.Node]+ :return: list of Nodes representing ops used in model.+ :rtype: list[openvino.Node]"""def get_ordered_ops(self) -> list[Node]:"""Return ops used in the model in topological order.- :return: List of sorted Nodes representing ops used in model.- :rtype: List[openvino.Node]+ :return: list of sorted Nodes representing ops used in model.+ :rtype: list[openvino.Node]"""def get_output_element_type(self, index: int) -> Type:"""@@ -2631,7 +2640,7 @@ class Model:Return the model parameters.:return: a list of model's parameters.- :rtype: List[op.Parameter]+ :rtype: list[op.Parameter]"""def get_result(self) -> Node:"""@@ -2681,7 +2690,7 @@ class Model:Return a list of model outputs.:return: a list of model's result nodes.- :rtype: List[op.Result]+ :rtype: list[op.Result]"""@typing.overloaddef get_rt_info(self) -> RTMap:@@ -2696,8 +2705,8 @@ class Model:"""Returns runtime attribute as a OVAny object.- :param path: List of strings which defines a path to runtime info.- :type path: List[str]+ :param path: list of strings which defines a path to runtime info.+ :type path: list[str]:return: A runtime attribute.:rtype: openvino.OVAny@@ -2707,7 +2716,7 @@ class Model:"""Returns runtime attribute as a OVAny object.- :param path: List of strings which defines a path to runtime info.+ :param path: list of strings which defines a path to runtime info.:type path: str:return: A runtime attribute.@@ -2754,7 +2763,7 @@ class Model:Return a list of model's sinks.:return: a list of model's sinks.- :rtype: List[openvino.Node]+ :rtype: list[openvino.Node]"""def get_variable_by_id(self, arg0: str) -> op.util.Variable:"""@@ -2770,15 +2779,15 @@ class Model:Return a list of model's variables.:return: a list of model's variables.- :rtype: List[op.util.Variable]+ :rtype: list[op.util.Variable]"""@typing.overloaddef has_rt_info(self, path: list) -> bool:"""Checks if given path exists in runtime info of the model.- :param path: List of strings which defines a path to runtime info.- :type path: List[str]+ :param path: list of strings which defines a path to runtime info.+ :type path: list[str]:return: `True` if path exists, otherwise `False`.:rtype: bool@@ -2788,7 +2797,7 @@ class Model:"""Checks if given path exists in runtime info of the model.- :param path: List of strings which defines a path to runtime info.+ :param path: list of strings which defines a path to runtime info.:type path: str:return: `True` if path exists, otherwise `False`.@@ -2917,7 +2926,7 @@ class Model::param partial_shape: New shape.:type partial_shape: openvino.PartialShape:param variables_shapes: New shapes for variables- :type variables_shapes: Dict[keys, values]+ :type variables_shapes: dict[keys, values]:return : void"""@typing.overload@@ -2950,7 +2959,7 @@ class Model::param partial_shape: New shape.:type partial_shape: list:param variables_shapes: New shapes for variables- :type variables_shapes: Dict[keys, values]+ :type variables_shapes: dict[keys, values]:return : void"""@typing.overload@@ -2983,7 +2992,7 @@ class Model::param partial_shape: New shape.:type partial_shape: tuple:param variables_shapes: New shapes for variables- :type variables_shapes: Dict[keys, values]+ :type variables_shapes: dict[keys, values]:return : void"""@typing.overload@@ -3017,7 +3026,7 @@ class Model::param partial_shape: New shape.:type partial_shape: str:param variables_shapes: New shapes for variables- :type variables_shapes: Dict[keys, values]+ :type variables_shapes: dict[keys, values]:return : void"""@typing.overload@@ -3076,9 +3085,9 @@ class Model:GIL is released while running this function.:param partial_shapes: New shapes.- :type partial_shapes: Dict[keys, values]+ :type partial_shapes: dict[keys, values]:param variables_shapes: New shapes for variables- :type variables_shapes: Dict[keys, values]+ :type variables_shapes: dict[keys, values]"""def set_friendly_name(self, name: str) -> None:"""@@ -3097,8 +3106,8 @@ class Model::param obj: value for the runtime info:type obj: py:object- :param path: List of strings which defines a path to runtime info.- :type path: List[str]+ :param path: list of strings which defines a path to runtime info.+ :type path: list[str]"""@typing.overloaddef set_rt_info(self, obj: typing.Any, path: str) -> None:@@ -3135,7 +3144,7 @@ class Model:Return the model parameters.:return: a list of model's parameters.- :rtype: List[op.Parameter]+ :rtype: list[op.Parameter]"""@propertydef result(self) -> Node:@@ -3151,7 +3160,7 @@ class Model:Return a list of model outputs.:return: a list of model's result nodes.- :rtype: List[op.Result]+ :rtype: list[op.Result]"""@propertydef rt_info(self) -> RTMap:@@ -3162,7 +3171,7 @@ class Model:Return a list of model's sinks.:return: a list of model's sinks.- :rtype: List[openvino.Node]+ :rtype: list[openvino.Node]"""@propertydef variables(self) -> list[op.util.Variable]:@@ -3170,7 +3179,7 @@ class Model:Return a list of model's variables.:return: a list of model's variables.- :rtype: List[op.util.Variable]+ :rtype: list[op.util.Variable]"""class Node:"""@@ -3235,9 +3244,9 @@ class Node:Evaluate the node on inputs, putting results in outputs:param output_tensors: Tensors for the outputs to compute. One for each result.- :type output_tensors: List[openvino.Tensor]+ :type output_tensors: list[openvino.Tensor]:param input_tensors: Tensors for the inputs. One for each inputs.- :type input_tensors: List[openvino.Tensor]+ :type input_tensors: list[openvino.Tensor]:param evaluation_context: Storage of additional settings and attributes that can be usedwhen evaluating the function. This additional information can be shared across nodes.:type evaluation_context: openvino.RTMap@@ -3249,9 +3258,9 @@ class Node:Evaluate the function on inputs, putting results in outputs:param output_tensors: Tensors for the outputs to compute. One for each result.- :type output_tensors: List[openvino.Tensor]+ :type output_tensors: list[openvino.Tensor]:param input_tensors: Tensors for the inputs. One for each inputs.- :type input_tensors: List[openvino.Tensor]+ :type input_tensors: list[openvino.Tensor]:rtype: bool"""def get_attributes(self) -> dict:@@ -3375,7 +3384,7 @@ class Node:"""def get_rt_info(self) -> RTMap:"""- Returns PyRTMap which is a dictionary of user defined runtime info.+ Returns RTMap which is a dictionary of user defined runtime info.:return: A dictionary of user defined data.:rtype: openvino.RTMap@@ -3411,15 +3420,15 @@ class Node:"""Returns list of node's inputs, in order.- :return: List of node's inputs- :rtype: List[openvino.Input]+ :return: list of node's inputs+ :rtype: list[openvino.Input]"""def inputs(self) -> list[Input]:"""A list containing a handle for each of this node's inputs, in order.- :return: List of node's inputs.- :rtype: List[openvino.Input]+ :return: list of node's inputs.+ :rtype: list[openvino.Input]"""def output(self, output_index: int) -> Output:"""@@ -3434,8 +3443,8 @@ class Node:"""A list containing a handle for each of this node's outputs, in order.- :return: List of node's outputs.- :rtype: List[openvino.Output]+ :return: list of node's outputs.+ :rtype: list[openvino.Output]"""def set_argument(self, arg0: int, arg1: Output) -> None:...@@ -3474,6 +3483,15 @@ class Node::param shape: Shape of the output.:type shape: openvino.PartialShape"""+ def set_rt_info(self, value: typing.Any, key: str) -> None:+ """+ Add a value to the runtime info.++ :param value: Value for the runtime info.+ :type value: Any+ :param key: String that defines a key in the runtime info dictionary.+ :type key: str+ """def validate_and_infer_types(self) -> None:"""Verifies that attributes and inputs are consistent and computes output shapes and element types.@@ -3586,7 +3604,7 @@ class OVAny::type dtype: Union[bool, int, str, float]:return: A runtime attribute as a list.- :rtype: Union[List[float], List[int], List[str], List[bool]]+ :rtype: Union[list[float], list[int], list[str], list[bool]]"""def astype(self, arg0: typing.Any) -> typing.Any:"""@@ -3661,8 +3679,8 @@ class Output:"""Add tensor names associated with this output.- :param names: Set of tensor names.- :type names: Set[str]+ :param names: set of tensor names.+ :type names: set[str]"""def get_any_name(self) -> str:"""@@ -3690,8 +3708,8 @@ class Output:"""The tensor names associated with this output.- :return: Set of tensor names.- :rtype: Set[str]+ :return: set of tensor names.+ :rtype: set[str]"""def get_node(self) -> ...:"""@@ -3726,8 +3744,8 @@ class Output:A set containing handles for all inputs, targeted by the output,referenced by this output handle.- :return: Set of Inputs.- :rtype: Set[openvino.Input]+ :return: set of Inputs.+ :rtype: set[openvino.Input]"""def get_tensor(self) -> ...:"""@@ -3754,8 +3772,17 @@ class Output:"""Set tensor names associated with this output.- :param names: Set of tensor names.- :type names: Set[str]+ :param names: set of tensor names.+ :type names: set[str]+ """+ def set_rt_info(self, value: typing.Any, key: str) -> None:+ """+ Add a value to the runtime info.++ :param value: Value for the runtime info.+ :type value: Any+ :param key: String that defines a key in the runtime info dictionary.+ :type key: str"""@propertydef any_name(self) -> str:@@ -3973,14 +4000,14 @@ class Place:May not be set if node has only one output port.:type output_port_index: int:return: A list with all operation node references that consumes data from this place- :rtype: List[openvino.frontend.Place]+ :rtype: list[openvino.frontend.Place]"""def get_consuming_ports(self) -> list[Place]:"""Returns all input ports that consume data flows through this place.:return: Input ports that consume data flows through this place.- :rtype: List[openvino.frontend.Place]+ :rtype: list[openvino.frontend.Place]"""def get_input_port(self, input_name: typing.Any = None, input_port_index: typing.Any = None) -> Place:"""@@ -3999,7 +4026,7 @@ class Place::return: A vector of strings each representing a name that identifies this place in the graph.Can be empty if there are no names associated with this place or name cannot be attached.- :rtype: List[str]+ :rtype: list[str]"""def get_output_port(self, output_name: typing.Any = None, output_port_index: typing.Any = None) -> Place:"""@@ -4543,8 +4570,8 @@ class Tensor:Creates a Tensor from a given Python list.Warning: It is always a copy of list's data!- :param array: List to create the tensor from.- :type array: List[int, float, str]+ :param array: list to create the tensor from.+ :type array: list[int, float, str]"""@typing.overloaddef __init__(self, type: Type, shape: Shape) -> None:@@ -4971,7 +4998,7 @@ class VAContext(RemoteContext)::param nv12_surface: NV12 `VASurfaceID` to create NV12 from.:type nv12_surface: int:return: A pair of remote tensors for each plane.- :rtype: Tuple[openvino.VASurfaceTensor, openvino.VASurfaceTensor]+ :rtype: tuple[openvino.VASurfaceTensor, openvino.VASurfaceTensor]"""class VASurfaceTensor(RemoteTensor):def __repr__(self) -> str:diff --git a/src/bindings/python/src/openvino/_pyopenvino/experimental.pyi b/src/bindings/python/src/openvino/_pyopenvino/experimental.pyiindex 1f49d8bacee..9746cf7ea94 100644--- a/src/bindings/python/src/openvino/_pyopenvino/experimental.pyi+++ b/src/bindings/python/src/openvino/_pyopenvino/experimental.pyi@@ -26,7 +26,7 @@ def evaluate_both_bounds(output: openvino._pyopenvino.Output) -> tuple[openvino.:param output: Node output pointing to the tensor for estimation.:type output: openvino.Output:return: Tensors representing the lower and upper bound value estimations.- :rtype: Tuple[openvino.Tensor, openvino.Tensor]+ :rtype: tuple[openvino.Tensor, openvino.Tensor]"""def set_element_type(tensor: openvino._pyopenvino.DescriptorTensor, element_type: openvino._pyopenvino.Type) -> None:"""diff --git a/src/bindings/python/src/openvino/_pyopenvino/passes.pyi b/src/bindings/python/src/openvino/_pyopenvino/passes.pyiindex f7c833b9a71..b1f396edd0b 100644--- a/src/bindings/python/src/openvino/_pyopenvino/passes.pyi+++ b/src/bindings/python/src/openvino/_pyopenvino/passes.pyi@@ -125,7 +125,7 @@ class MakeStateful(ModelPass, PassBase):The transformation replaces the provided pairs Parameter and Result with openvino Memory operations ReadValue and Assign.:param pairs_to_replace:- :type pairs_to_replace: List[Tuple[op.Parameter, op.Result]+ :type pairs_to_replace: list[tuple[op.Parameter, op.Result]"""@typing.overloaddef __init__(self, pairs_to_replace: dict[str, str]) -> None:@@ -133,7 +133,7 @@ class MakeStateful(ModelPass, PassBase):The transformation replaces the provided pairs Parameter and Result with openvino Memory operations ReadValue and Assign.:param pairs_to_replace: a dictionary of names of the provided Parameter and Result operations.- :type pairs_to_replace: Dict[str, str]+ :type pairs_to_replace: dict[str, str]"""def __repr__(self) -> str:...@@ -199,7 +199,7 @@ class Matcher:Get NodeVector of matched nodes. Should be used after match() method is called.:return: matched nodes vector.- :rtype: List[openvino.Node]+ :rtype: list[openvino.Node]"""def get_match_root(self) -> openvino._pyopenvino.Node:"""@@ -220,7 +220,7 @@ class Matcher:Get OutputVector of matched outputs. Should be used after match() method is called.:return: matched outputs vector.- :rtype: List[openvino.Output]+ :rtype: list[openvino.Output]"""def get_name(self) -> str:"""@@ -339,7 +339,7 @@ class Optional(openvino._pyopenvino.Node):Create Optional with the given node type.:param type_names: node type. For example: ["opset8.Abs", "opset8.Relu"]- :type type_names: List[str]+ :type type_names: list[str]"""@typing.overloaddef __init__(self: typing.Optional, type_names: list[str], input: openvino._pyopenvino.Output) -> None:@@ -347,7 +347,7 @@ class Optional(openvino._pyopenvino.Node):Create Optional with the given node type and input node.:param type_names: node type. For example: ["opset8.Abs", "opset8.Relu"]- :type type_names: List[str]+ :type type_names: list[str]:param input: input node's output.:type input: openvino.Output@@ -358,7 +358,7 @@ class Optional(openvino._pyopenvino.Node):Create Optional with the given node type, input node and predicate.:param type_names: node type. For example: ["opset8.Abs", "opset8.Relu"]- :type type_names: List[str]+ :type type_names: list[str]:param input: input node.:type input: openvino.Node@@ -369,10 +369,10 @@ class Optional(openvino._pyopenvino.Node):Create Optional with the given node type and input node.:param type_names: node type. For example: ["opset8.Abs", "opset8.Relu"]- :type type_names: List[str]+ :type type_names: list[str]:param inputs: input node's output list.- :type inputs: List[openvino.Output]+ :type inputs: list[openvino.Output]"""@typing.overloaddef __init__(self: typing.Optional, type_names: list[str], inputs: list[openvino._pyopenvino.Node]) -> None:@@ -380,10 +380,10 @@ class Optional(openvino._pyopenvino.Node):Create Optional with the given node type and input node.:param type_names: node type. For example: ["opset8.Abs", "opset8.Relu"]- :type type_names: List[str]+ :type type_names: list[str]:param inputs: input node list- :type inputs: List[openvino.Node]+ :type inputs: list[openvino.Node]"""@typing.overloaddef __init__(self: typing.Optional, type_names: list[str], predicate: typing.Callable[[openvino._pyopenvino.Output], bool]) -> None:@@ -391,7 +391,7 @@ class Optional(openvino._pyopenvino.Node):Create Optional with the given node type and predicate.:param type_names: node type. For example: ["opset8.Abs", "opset8.Relu"]- :type type_names: List[str]+ :type type_names: list[str]:param predicate: Function that performs additional checks for matching.:type predicate: Callable@@ -402,7 +402,7 @@ class Optional(openvino._pyopenvino.Node):Create Optional with the given node type and predicate.:param type_names: node type. For example: ["opset8.Abs", "opset8.Relu"]- :type type_names: List[str]+ :type type_names: list[str]:param predicate: Function that performs additional checks for matching.:type predicate: Callable@@ -413,7 +413,7 @@ class Optional(openvino._pyopenvino.Node):Create Optional with the given node type, input node and predicate.:param type_names: node type. For example: ["opset8.Abs", "opset8.Relu"]- :type type_names: List[str]+ :type type_names: list[str]:param input: input node's output.:type input: openvino.Output@@ -427,7 +427,7 @@ class Optional(openvino._pyopenvino.Node):Create Optional with the given node type, input node and predicate.:param type_names: node type. For example: ["opset8.Abs", "opset8.Relu"]- :type type_names: List[str]+ :type type_names: list[str]:param input: input node's output.:type input: openvino.Output@@ -441,7 +441,7 @@ class Optional(openvino._pyopenvino.Node):Create Optional with the given node type, input node and predicate.:param type_names: node type. For example: ["opset8.Abs", "opset8.Relu"]- :type type_names: List[str]+ :type type_names: list[str]:param input: input node:type input: openvino.Node@@ -455,7 +455,7 @@ class Optional(openvino._pyopenvino.Node):Create Optional with the given node type, input node and predicate.:param type_names: node type. For example: ["opset8.Abs", "opset8.Relu"]- :type type_names: List[str]+ :type type_names: list[str]:param input: input node:type input: openvino.Node@@ -469,10 +469,10 @@ class Optional(openvino._pyopenvino.Node):Create Optional with the given node type, input node and predicate.:param type_names: node type. For example: ["opset8.Abs", "opset8.Relu"]- :type type_names: List[str]+ :type type_names: list[str]:param inputs: input node's output list.- :type inputs: List[openvino.Output]+ :type inputs: list[openvino.Output]:param predicate: Function that performs additional checks for matching.:type predicate: Callable@@ -483,10 +483,10 @@ class Optional(openvino._pyopenvino.Node):Create Optional with the given node type, input node and predicate.:param type_names: node type. For example: ["opset8.Abs", "opset8.Relu"]- :type type_names: List[str]+ :type type_names: list[str]:param inputs: input node's output list.- :type inputs: List[openvino.Output]+ :type inputs: list[openvino.Output]:param predicate: Function that performs additional checks for matching.:type predicate: Callable@@ -497,10 +497,10 @@ class Optional(openvino._pyopenvino.Node):Create Optional with the given node type, input node and predicate.:param type_names: node type. For example: ["opset8.Abs", "opset8.Relu"]- :type type_names: List[str]+ :type type_names: list[str]:param inputs: input node list- :type inputs: List[openvino.Node]+ :type inputs: list[openvino.Node]:param predicate: Function that performs additional checks for matching.:type predicate: Callable@@ -511,10 +511,10 @@ class Optional(openvino._pyopenvino.Node):Create Optional with the given node type, input node and predicate.:param type_names: node type. For example: ["opset8.Abs", "opset8.Relu"]- :type type_names: List[str]+ :type type_names: list[str]:param inputs: input node list- :type inputs: List[openvino.Node]+ :type inputs: list[openvino.Node]:param predicate: Function that performs additional checks for matching.:type predicate: Callable@@ -531,7 +531,7 @@ class Or(openvino._pyopenvino.Node):Create pattern Or operation which is used to match any of given inputs.:param inputs: Operation inputs.- :type inputs: List[openvino.Output]+ :type inputs: list[openvino.Output]"""@typing.overloaddef __init__(self, inputs: list[openvino._pyopenvino.Node]) -> None:@@ -539,7 +539,7 @@ class Or(openvino._pyopenvino.Node):Create pattern Or operation which is used to match any of given inputs.:param inputs: Operation inputs.- :type inputs: List[openvino.Node]+ :type inputs: list[openvino.Node]"""def __repr__(self) -> str:...@@ -600,7 +600,7 @@ class PatternSymbolValue:Create PatternSymbolValue with the given value.:param value: list of values representing a group of pattern values- :type value: List[PatternSymbolValue]+ :type value: list[PatternSymbolValue]"""def d(self) -> float:...@@ -852,7 +852,7 @@ class WrapType(openvino._pyopenvino.Node)::type type_name: str:param inputs: Node outputs.- :type inputs: List[openvino.Output]+ :type inputs: list[openvino.Output]"""@typing.overloaddef __init__(self, type_name: str, inputs: list[openvino._pyopenvino.Node]) -> None:@@ -863,7 +863,7 @@ class WrapType(openvino._pyopenvino.Node)::type type_name: str:param inputs: Input nodes.- :type inputs: List[openvino.Node]+ :type inputs: list[openvino.Node]"""@typing.overloaddef __init__(self, type_name: str, inputs: list[openvino._pyopenvino.Output], predicate: typing.Callable[[openvino._pyopenvino.Output], bool]) -> None:@@ -874,7 +874,7 @@ class WrapType(openvino._pyopenvino.Node)::type type_name: str:param inputs: Node outputs.- :type inputs: List[openvino.Output]+ :type inputs: list[openvino.Output]:param predicate: Function that performs additional checks for matching.:type predicate: Callable@@ -888,7 +888,7 @@ class WrapType(openvino._pyopenvino.Node)::type type_name: str:param inputs: Node outputs.- :type inputs: List[openvino.Output]+ :type inputs: list[openvino.Output]:param predicate: Function that performs additional checks for matching.:type predicate: Callable@@ -902,7 +902,7 @@ class WrapType(openvino._pyopenvino.Node)::type type_name: str:param inputs: Input nodes.- :type inputs: List[openvino.Node]+ :type inputs: list[openvino.Node]:param predicate: Function that performs additional checks for matching.:type predicate: Callable@@ -916,7 +916,7 @@ class WrapType(openvino._pyopenvino.Node)::type type_name: str:param inputs: Input nodes.- :type inputs: List[openvino.Node]+ :type inputs: list[openvino.Node]:param predicate: Function that performs additional checks for matching.:type predicate: Callable@@ -927,7 +927,7 @@ class WrapType(openvino._pyopenvino.Node):Create WrapType with given node types.:param type_names: node types. For example: ["opset8.Abs", "opset8.Relu"]- :type type_names: List[str]+ :type type_names: list[str]"""@typing.overloaddef __init__(self, type_names: list[str], predicate: typing.Callable[[openvino._pyopenvino.Output], bool]) -> None:@@ -935,7 +935,7 @@ class WrapType(openvino._pyopenvino.Node):Create WrapType with given node types and predicate.:param type_names: node types. For example: ["opset8.Abs", "opset8.Relu"]- :type type_names: List[str]+ :type type_names: list[str]:param predicate: Function that performs additional checks for matching.:type predicate: Callable@@ -946,7 +946,7 @@ class WrapType(openvino._pyopenvino.Node):Create WrapType with given node types and predicate.:param type_names: node types. For example: ["opset8.Abs", "opset8.Relu"]- :type type_names: List[str]+ :type type_names: list[str]:param predicate: Function that performs additional checks for matching.:type predicate: Callable@@ -957,7 +957,7 @@ class WrapType(openvino._pyopenvino.Node):Create WrapType with given node types and input.:param type_names: node types. For example: ["opset8.Abs", "opset8.Relu"]- :type type_names: List[str]+ :type type_names: list[str]:param input: Node output.:type input: openvino.Output@@ -968,7 +968,7 @@ class WrapType(openvino._pyopenvino.Node):Create WrapType with given node types and input.:param type_name: node types. For example: ["opset8.Abs", "opset8.Relu"]- :type type_name: List[str]+ :type type_name: list[str]:param input: Input node.:type input: openvino.Node@@ -979,7 +979,7 @@ class WrapType(openvino._pyopenvino.Node):Create WrapType with given node types, input and predicate.:param type_names: node types. For example: ["opset8.Abs", "opset8.Relu"]- :type type_names: List[str]+ :type type_names: list[str]:param input: Node output.:type input: openvino.Output@@ -993,7 +993,7 @@ class WrapType(openvino._pyopenvino.Node):Create WrapType with given node types, input and predicate.:param type_names: node types. For example: ["opset8.Abs", "opset8.Relu"]- :type type_names: List[str]+ :type type_names: list[str]:param input: Node output.:type input: openvino.Output@@ -1007,7 +1007,7 @@ class WrapType(openvino._pyopenvino.Node):Create WrapType with given node types, input and predicate.:param type_names: node types. For example: ["opset8.Abs", "opset8.Relu"]- :type type_names: List[str]+ :type type_names: list[str]:param input: Input node.:type input: openvino.Node@@ -1021,7 +1021,7 @@ class WrapType(openvino._pyopenvino.Node):Create WrapType with given node types, input and predicate.:param type_names: node types. For example: ["opset8.Abs", "opset8.Relu"]- :type type_names: List[str]+ :type type_names: list[str]:param input: Input node.:type input: openvino.Node@@ -1035,10 +1035,10 @@ class WrapType(openvino._pyopenvino.Node):Create WrapType with given node types and input.:param type_names: node types. For example: ["opset8.Abs", "opset8.Relu"]- :type type_names: List[str]+ :type type_names: list[str]:param inputs: Nodes outputs.- :type inputs: List[openvino.Output]+ :type inputs: list[openvino.Output]"""@typing.overloaddef __init__(self, type_names: list[str], inputs: list[openvino._pyopenvino.Node]) -> None:@@ -1046,10 +1046,10 @@ class WrapType(openvino._pyopenvino.Node):Create WrapType with given node types and inputs.:param type_names: node types. For example: ["opset8.Abs", "opset8.Relu"]- :type type_names: List[str]+ :type type_names: list[str]:param inputs: Input nodes.- :type inputs: List[openvino.Node]+ :type inputs: list[openvino.Node]"""@typing.overloaddef __init__(self, type_names: list[str], inputs: list[openvino._pyopenvino.Output], predicate: typing.Callable[[openvino._pyopenvino.Output], bool]) -> None:@@ -1057,10 +1057,10 @@ class WrapType(openvino._pyopenvino.Node):Create WrapType with given node types, inputs and predicate.:param type_names: node types. For example: ["opset8.Abs", "opset8.Relu"]- :type type_names: List[str]+ :type type_names: list[str]:param inputs: Nodes outputs.- :type inputs: List[openvino.Output]+ :type inputs: list[openvino.Output]:param predicate: Function that performs additional checks for matching.:type predicate: Callable@@ -1071,10 +1071,10 @@ class WrapType(openvino._pyopenvino.Node):Create WrapType with given node types, inputs and predicate.:param type_names: node types. For example: ["opset8.Abs", "opset8.Relu"]- :type type_names: List[str]+ :type type_names: list[str]:param inputs: Nodes outputs.- :type inputs: List[openvino.Output]+ :type inputs: list[openvino.Output]:param predicate: Function that performs additional checks for matching.:type predicate: Callable@@ -1085,10 +1085,10 @@ class WrapType(openvino._pyopenvino.Node):Create WrapType with given node types, inputs and predicate.:param type_names: node types. For example: ["opset8.Abs", "opset8.Relu"]- :type type_names: List[str]+ :type type_names: list[str]:param inputs: Input nodes.- :type inputs: List[openvino.Node]+ :type inputs: list[openvino.Node]:param predicate: Function that performs additional checks for matching.:type predicate: Callable@@ -1099,10 +1099,10 @@ class WrapType(openvino._pyopenvino.Node):Create WrapType with given node types, inputs and predicate.:param type_names: node types. For example: ["opset8.Abs", "opset8.Relu"]- :type type_names: List[str]+ :type type_names: list[str]:param inputs: Input nodes.- :type inputs: List[openvino.Node]+ :type inputs: list[openvino.Node]:param predicate: Function that performs additional checks for matching.:type predicate: Callablediff --git a/src/bindings/python/src/openvino/_pyopenvino/preprocess.pyi b/src/bindings/python/src/openvino/_pyopenvino/preprocess.pyiindex dc61f9fbfc4..84c070772d7 100644--- a/src/bindings/python/src/openvino/_pyopenvino/preprocess.pyi+++ b/src/bindings/python/src/openvino/_pyopenvino/preprocess.pyi@@ -341,7 +341,7 @@ class PreProcessSteps:Input tensor must have ov.Type.f32 data type.:param values: Values to subtract.- :type values: List[float]+ :type values: list[float]:return: Reference to itself to allow chaining of calls in client's code in a builder-like manner.:rtype: openvino.preprocess.PreProcessSteps"""@@ -403,7 +403,7 @@ class PreProcessSteps:Input tensor must have ov.Type.f32 data type.:param values: Values which are used in division.- :type values: List[float]+ :type values: list[float]:return: Reference to itself to allow chaining of calls in client's code in a builder-like manner.:rtype: openvino.preprocess.PreProcessSteps"""diff --git a/src/bindings/python/src/openvino/experimental.pyi b/src/bindings/python/src/openvino/experimental/__init__.pyisimilarity index 100%rename from src/bindings/python/src/openvino/experimental.pyirename to src/bindings/python/src/openvino/experimental/__init__.pyidiff --git a/src/bindings/python/src/openvino/op/util.pyi b/src/bindings/python/src/openvino/op/util/__init__.pyisimilarity index 100%rename from src/bindings/python/src/openvino/op/util.pyirename to src/bindings/python/src/openvino/op/util/__init__.pyidiff --git a/src/bindings/python/src/openvino/opset1/ops.pyi b/src/bindings/python/src/openvino/opset1/ops.pyiindex 15c8d1aeffd..6fb0de2f88a 100644--- a/src/bindings/python/src/openvino/opset1/ops.pyi+++ b/src/bindings/python/src/openvino/opset1/ops.pyi@@ -1,5 +1,6 @@# type: ignorefrom __future__ import annotations+from builtins import list as TensorShapefrom functools import partialfrom openvino._pyopenvino import Nodefrom openvino._pyopenvino import PartialShape@@ -750,7 +751,7 @@ def interpolate(*args, **kwargs) -> openvino._pyopenvino.Node:Available attributes are:* axes Specify spatial dimension indices where interpolation is applied.- Type: List of non-negative integer numbers.+ Type: list of non-negative integer numbers.Required: yes.* mode Specifies type of interpolation.@@ -1676,7 +1677,7 @@ def squeeze(*args, **kwargs) -> openvino._pyopenvino.Node:Perform squeeze operation on input tensor.:param data: The node with data tensor.- :param axes: List of non-negative integers, indicate the dimensions to squeeze.+ :param axes: list of non-negative integers, indicate the dimensions to squeeze.One of: input node or array.:param name: Optional new name for output node.:return: The new node performing a squeeze operation on input tensor.@@ -1784,7 +1785,7 @@ def unsqueeze(data: typing.Union[openvino._pyopenvino.Node, int, float, numpy.ndResult: tensor with shape [1, 3, 4, 5, 1]:param data: The node with data tensor.- :param axes: List of non-negative integers, indicate the dimensions to be inserted.+ :param axes: list of non-negative integers, indicate the dimensions to be inserted.One of: input node or array.:return: The new node performing an unsqueeze operation on input tensor.@@ -1803,5 +1804,4 @@ NodeInput: typing._UnionGenericAlias # value = typing.Union[openvino._pyopenvinNumericData: typing._UnionGenericAlias # value = typing.Union[int, float, numpy.ndarray]NumericType: typing._UnionGenericAlias # value = typing.Union[type, numpy.dtype]ScalarData: typing._UnionGenericAlias # value = typing.Union[int, float]-TensorShape: typing._GenericAlias # value = typing.List[int]_get_node_factory_opset1: functools.partial # value = functools.partial(<function _get_node_factory at memory_address>, 'opset1')diff --git a/src/bindings/python/src/openvino/opset14/ops.pyi b/src/bindings/python/src/openvino/opset14/ops.pyiindex 9e8449aeebe..22cf2b3d140 100644--- a/src/bindings/python/src/openvino/opset14/ops.pyi+++ b/src/bindings/python/src/openvino/opset14/ops.pyi@@ -1,5 +1,6 @@# type: ignorefrom __future__ import annotations+from builtins import list as TensorShapefrom functools import partialfrom openvino._pyopenvino import Nodefrom openvino._pyopenvino import Type@@ -84,5 +85,4 @@ def max_pool(*args, **kwargs) -> openvino._pyopenvino.Node:"""NodeInput: typing._UnionGenericAlias # value = typing.Union[openvino._pyopenvino.Node, int, float, numpy.ndarray]-TensorShape: typing._GenericAlias # value = typing.List[int]_get_node_factory_opset14: functools.partial # value = functools.partial(<function _get_node_factory at memory_address>, 'opset14')diff --git a/src/bindings/python/src/openvino/opset2/ops.pyi b/src/bindings/python/src/openvino/opset2/ops.pyiindex ef1be1633f9..cf349dc2bf8 100644--- a/src/bindings/python/src/openvino/opset2/ops.pyi+++ b/src/bindings/python/src/openvino/opset2/ops.pyi@@ -1,5 +1,6 @@# type: ignorefrom __future__ import annotations+from builtins import list as TensorShapefrom functools import partialfrom openvino._pyopenvino import Nodefrom openvino._pyopenvino import Shape@@ -119,5 +120,4 @@ NodeInput: typing._UnionGenericAlias # value = typing.Union[openvino._pyopenvinNumericData: typing._UnionGenericAlias # value = typing.Union[int, float, numpy.ndarray]NumericType: typing._UnionGenericAlias # value = typing.Union[type, numpy.dtype]ScalarData: typing._UnionGenericAlias # value = typing.Union[int, float]-TensorShape: typing._GenericAlias # value = typing.List[int]_get_node_factory_opset2: functools.partial # value = functools.partial(<function _get_node_factory at memory_address>, 'opset2')diff --git a/src/bindings/python/src/openvino/opset3/ops.pyi b/src/bindings/python/src/openvino/opset3/ops.pyiindex 44c49290daa..3506d39ee76 100644--- a/src/bindings/python/src/openvino/opset3/ops.pyi+++ b/src/bindings/python/src/openvino/opset3/ops.pyi@@ -1,5 +1,6 @@# type: ignorefrom __future__ import annotations+from builtins import list as TensorShapefrom functools import partialfrom openvino._pyopenvino import Nodefrom openvino._pyopenvino import Shape@@ -360,5 +361,4 @@ NodeInput: typing._UnionGenericAlias # value = typing.Union[openvino._pyopenvinNumericData: typing._UnionGenericAlias # value = typing.Union[int, float, numpy.ndarray]NumericType: typing._UnionGenericAlias # value = typing.Union[type, numpy.dtype]ScalarData: typing._UnionGenericAlias # value = typing.Union[int, float]-TensorShape: typing._GenericAlias # value = typing.List[int]_get_node_factory_opset3: functools.partial # value = functools.partial(<function _get_node_factory at memory_address>, 'opset3')diff --git a/src/bindings/python/src/openvino/opset4/ops.pyi b/src/bindings/python/src/openvino/opset4/ops.pyiindex cf99d2858e5..c3122fb0c34 100644--- a/src/bindings/python/src/openvino/opset4/ops.pyi+++ b/src/bindings/python/src/openvino/opset4/ops.pyi@@ -1,5 +1,6 @@# type: ignorefrom __future__ import annotations+from builtins import list as TensorShapefrom functools import partialfrom openvino._pyopenvino import Nodefrom openvino._pyopenvino import Shape@@ -282,5 +283,4 @@ NodeInput: typing._UnionGenericAlias # value = typing.Union[openvino._pyopenvinNumericData: typing._UnionGenericAlias # value = typing.Union[int, float, numpy.ndarray]NumericType: typing._UnionGenericAlias # value = typing.Union[type, numpy.dtype]ScalarData: typing._UnionGenericAlias # value = typing.Union[int, float]-TensorShape: typing._GenericAlias # value = typing.List[int]_get_node_factory_opset4: functools.partial # value = functools.partial(<function _get_node_factory at memory_address>, 'opset4')diff --git a/src/bindings/python/src/openvino/opset5/ops.pyi b/src/bindings/python/src/openvino/opset5/ops.pyiindex e9681981e53..ababb2fffb1 100644--- a/src/bindings/python/src/openvino/opset5/ops.pyi+++ b/src/bindings/python/src/openvino/opset5/ops.pyi@@ -1,5 +1,6 @@# type: ignorefrom __future__ import annotations+from builtins import list as TensorShapefrom functools import partialfrom openvino._pyopenvino import Nodefrom openvino._pyopenvino import Shape@@ -190,5 +191,4 @@ NodeInput: typing._UnionGenericAlias # value = typing.Union[openvino._pyopenvinNumericData: typing._UnionGenericAlias # value = typing.Union[int, float, numpy.ndarray]NumericType: typing._UnionGenericAlias # value = typing.Union[type, numpy.dtype]ScalarData: typing._UnionGenericAlias # value = typing.Union[int, float]-TensorShape: typing._GenericAlias # value = typing.List[int]_get_node_factory_opset5: functools.partial # value = functools.partial(<function _get_node_factory at memory_address>, 'opset5')diff --git a/src/bindings/python/src/openvino/opset6/ops.pyi b/src/bindings/python/src/openvino/opset6/ops.pyiindex 87f8de3db32..ab5e2c76381 100644--- a/src/bindings/python/src/openvino/opset6/ops.pyi+++ b/src/bindings/python/src/openvino/opset6/ops.pyi@@ -1,5 +1,6 @@# type: ignorefrom __future__ import annotations+from builtins import list as TensorShapefrom functools import partialfrom functools import singledispatchfrom openvino._pyopenvino import Node@@ -62,6 +63,5 @@ def mvn(*args, **kwargs) -> openvino._pyopenvino.Node:"""NodeInput: typing._UnionGenericAlias # value = typing.Union[openvino._pyopenvino.Node, int, float, numpy.ndarray]NumericType: typing._UnionGenericAlias # value = typing.Union[type, numpy.dtype]-TensorShape: typing._GenericAlias # value = typing.List[int]_get_node_factory_opset6: functools.partial # value = functools.partial(<function _get_node_factory at memory_address>, 'opset6')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 5a86fca2561..71b98403047 100644--- a/src/bindings/python/src/openvino/opset7/ops.pyi+++ b/src/bindings/python/src/openvino/opset7/ops.pyi@@ -1,5 +1,6 @@# type: ignorefrom __future__ import annotations+from builtins import list as TensorShapefrom functools import partialfrom openvino._pyopenvino import Nodefrom openvino._pyopenvino import Shape@@ -97,5 +98,4 @@ NodeInput: typing._UnionGenericAlias # value = typing.Union[openvino._pyopenvinNumericData: typing._UnionGenericAlias # value = typing.Union[int, float, numpy.ndarray]NumericType: typing._UnionGenericAlias # value = typing.Union[type, numpy.dtype]ScalarData: typing._UnionGenericAlias # value = typing.Union[int, float]-TensorShape: typing._GenericAlias # value = typing.List[int]_get_node_factory_opset7: functools.partial # value = functools.partial(<function _get_node_factory at memory_address>, 'opset7')diff --git a/src/bindings/python/src/openvino/opset8/ops.pyi b/src/bindings/python/src/openvino/opset8/ops.pyiindex 25649ae1eea..588aa4ad274 100644--- a/src/bindings/python/src/openvino/opset8/ops.pyi+++ b/src/bindings/python/src/openvino/opset8/ops.pyi@@ -1,5 +1,6 @@# type: ignorefrom __future__ import annotations+from builtins import list as TensorShapefrom functools import partialfrom openvino._pyopenvino import Nodefrom openvino._pyopenvino.op import Constant@@ -449,5 +450,4 @@ def softmax(*args, **kwargs) -> openvino._pyopenvino.Node:"""NodeInput: typing._UnionGenericAlias # value = typing.Union[openvino._pyopenvino.Node, int, float, numpy.ndarray]-TensorShape: typing._GenericAlias # value = typing.List[int]_get_node_factory_opset8: functools.partial # value = functools.partial(<function _get_node_factory at memory_address>, 'opset8')diff --git a/src/bindings/python/src/openvino/package_utils.pyi b/src/bindings/python/src/openvino/package_utils.pyiindex 00034a0abe8..6a394099087 100644--- a/src/bindings/python/src/openvino/package_utils.pyi+++ b/src/bindings/python/src/openvino/package_utils.pyi@@ -1,14 +1,15 @@# type: ignorefrom __future__ import annotationsfrom builtins import module as ModuleType+from collections.abc import Callablefrom functools import wrapsfrom pathlib import Path-from typing import Any+import collections.abcimport importlib as importlibimport os as osimport sys as sysimport typing-__all__ = ['Any', 'LazyLoader', 'ModuleType', 'Path', 'classproperty', 'deprecated', 'deprecatedclassproperty', 'get_cmake_path', 'importlib', 'os', 'sys', 'wraps']+__all__ = ['Callable', 'LazyLoader', 'ModuleType', 'Path', 'classproperty', 'deprecated', 'deprecatedclassproperty', 'get_cmake_path', 'importlib', 'os', 'sys', 'wraps']class LazyLoader:"""A class to lazily load a module, importing it only when an attribute is accessed.@@ -24,7 +25,7 @@ class LazyLoader:class _ClassPropertyDescriptor:def __get__(self, obj: typing.Any, cls: typing.Any = None) -> typing.Any:...- def __init__(self, fget: typing.Callable):+ def __init__(self, fget: collections.abc.Callable):...def _add_openvino_libs_to_search_path() -> None:"""@@ -32,7 +33,7 @@ def _add_openvino_libs_to_search_path() -> None:"""def classproperty(func: typing.Any) -> _ClassPropertyDescriptor:...-def deprecated(name: typing.Any = None, version: str = '', message: str = '', stacklevel: int = 2) -> typing.Callable[..., typing.Any]:+def deprecated(name: typing.Any = None, version: str = '', message: str = '', stacklevel: int = 2) -> collections.abc.Callable[..., typing.Any]:"""Prints deprecation warning "{function_name} is deprecated and will be removed in version {version}. {message}" and runs the function.@@ -40,7 +41,7 @@ def deprecated(name: typing.Any = None, version: str = '', message: str = '', st:param message: A message explaining why the function is deprecated and/or what to use instead."""-def deprecatedclassproperty(name: typing.Any = None, version: str = '', message: str = '', stacklevel: int = 2) -> typing.Callable[[typing.Any], openvino.package_utils._ClassPropertyDescriptor]:+def deprecatedclassproperty(name: typing.Any = None, version: str = '', message: str = '', stacklevel: int = 2) -> collections.abc.Callable[[typing.Any], _ClassPropertyDescriptor]:...def get_cmake_path() -> str:"""diff --git a/src/bindings/python/src/openvino/preprocess.pyi b/src/bindings/python/src/openvino/preprocess/__init__.pyisimilarity index 100%rename from src/bindings/python/src/openvino/preprocess.pyirename to src/bindings/python/src/openvino/preprocess/__init__.pyidiff --git a/src/bindings/python/src/openvino/properties/_properties.pyi b/src/bindings/python/src/openvino/properties/_properties.pyiindex 97ee6021df3..c85ed832987 100644--- a/src/bindings/python/src/openvino/properties/_properties.pyi+++ b/src/bindings/python/src/openvino/properties/_properties.pyi@@ -2,20 +2,21 @@from __future__ import annotationsfrom builtins import builtin_function_or_method as BuiltinFunctionTypefrom builtins import module as ModuleType-from typing import Any+from collections.abc import Callable+import collections.abcimport sys as sysimport typing-__all__ = ['Any', 'BuiltinFunctionType', 'ModuleType', 'Property', 'sys']+__all__ = ['BuiltinFunctionType', 'Callable', 'ModuleType', 'Property', 'sys']class Property(str):"""This class allows to make a string object callable. Call returns underlying string's data."""@classmethod- def __new__(cls, prop: typing.Callable[..., typing.Any]):+ def __new__(cls, prop: collections.abc.Callable[..., typing.Any]):...- def __call__(self, *args: typing.Any) -> typing.Callable[..., typing.Any]:+ def __call__(self, *args: typing.Any) -> collections.abc.Callable[..., typing.Any]:...-def __append_property_to_module(func: typing.Callable[..., typing.Any], target_module_name: str) -> None:+def __append_property_to_module(func: collections.abc.Callable[..., typing.Any], target_module_name: str) -> None:"""Modifies the target module's __getattr__ method to expose a python property wrapper by the function's name.diff --git a/src/bindings/python/src/openvino/properties/device.pyi b/src/bindings/python/src/openvino/properties/device/__init__.pyisimilarity index 100%rename from src/bindings/python/src/openvino/properties/device.pyirename to src/bindings/python/src/openvino/properties/device/__init__.pyidiff --git a/src/bindings/python/src/openvino/properties/hint.pyi b/src/bindings/python/src/openvino/properties/hint/__init__.pyisimilarity index 100%rename from src/bindings/python/src/openvino/properties/hint.pyirename to src/bindings/python/src/openvino/properties/hint/__init__.pyidiff --git a/src/bindings/python/src/openvino/properties/intel_auto.pyi b/src/bindings/python/src/openvino/properties/intel_auto/__init__.pyisimilarity index 100%rename from src/bindings/python/src/openvino/properties/intel_auto.pyirename to src/bindings/python/src/openvino/properties/intel_auto/__init__.pyidiff --git a/src/bindings/python/src/openvino/properties/intel_cpu.pyi b/src/bindings/python/src/openvino/properties/intel_cpu/__init__.pyisimilarity index 100%rename from src/bindings/python/src/openvino/properties/intel_cpu.pyirename to src/bindings/python/src/openvino/properties/intel_cpu/__init__.pyidiff --git a/src/bindings/python/src/openvino/properties/intel_gpu.pyi b/src/bindings/python/src/openvino/properties/intel_gpu/__init__.pyisimilarity index 100%rename from src/bindings/python/src/openvino/properties/intel_gpu.pyirename to src/bindings/python/src/openvino/properties/intel_gpu/__init__.pyidiff --git a/src/bindings/python/src/openvino/properties/log.pyi b/src/bindings/python/src/openvino/properties/log/__init__.pyisimilarity index 100%rename from src/bindings/python/src/openvino/properties/log.pyirename to src/bindings/python/src/openvino/properties/log/__init__.pyidiff --git a/src/bindings/python/src/openvino/properties/streams.pyi b/src/bindings/python/src/openvino/properties/streams/__init__.pyisimilarity index 100%rename from src/bindings/python/src/openvino/properties/streams.pyirename to src/bindings/python/src/openvino/properties/streams/__init__.pyidiff --git a/src/bindings/python/src/openvino/tools/ovc/cli_parser.pyi b/src/bindings/python/src/openvino/tools/ovc/cli_parser.pyiindex b92a75fddb1..82930144a40 100644--- a/src/bindings/python/src/openvino/tools/ovc/cli_parser.pyi+++ b/src/bindings/python/src/openvino/tools/ovc/cli_parser.pyi@@ -27,7 +27,7 @@ class CanonicalizePathCheckExistenceAction(argparse.Action):"""@staticmethod- def check_value(values: typing.Union[str, typing.List[str], NoneType], param_name, try_mo_root = False, check_existence = True) -> typing.List[str]:+ def check_value(values: typing.Union[str, list[str], NoneType], param_name, try_mo_root = False, check_existence = True) -> list[str]:...def __call__(self, parser, namespace, values, option_string = None):...@@ -38,7 +38,7 @@ class Formatter(argparse.HelpFormatter):...def add_args_by_description(args_group, params_description):...-def canonicalize_and_check_paths(values: typing.Union[str, typing.List[str], NoneType], param_name, try_mo_root = False, check_existence = True) -> typing.List[str]:+def canonicalize_and_check_paths(values: typing.Union[str, list[str], NoneType], param_name, try_mo_root = False, check_existence = True) -> list[str]:...def check_bool(value):...diff --git a/src/bindings/python/src/openvino/tools/ovc/convert.pyi b/src/bindings/python/src/openvino/tools/ovc/convert.pyiindex ffc66590723..5b5886ac95d 100644--- a/src/bindings/python/src/openvino/tools/ovc/convert.pyi+++ b/src/bindings/python/src/openvino/tools/ovc/convert.pyi@@ -5,11 +5,9 @@ from openvino.tools.ovc.cli_parser import get_all_cli_parserfrom openvino.tools.ovc.convert_impl import _convertfrom openvino.tools.ovc.logger import get_logger_statefrom openvino.tools.ovc.logger import restore_logger_state-from typing import Anyimport openvino._ov_apiimport pathlib as pathlib-import typing-__all__ = ['Any', 'Model', 'convert_model', 'get_all_cli_parser', 'get_logger_state', 'pathlib', 'restore_logger_state']+__all__ = ['Model', 'convert_model', 'get_all_cli_parser', 'get_logger_state', 'pathlib', 'restore_logger_state']def convert_model(input_model: [str, pathlib.Path, typing.Any, list], input: [list, dict, str] = None, output: [str, list] = None, example_input: typing.Any = None, extension: [str, pathlib.Path, list, typing.Any] = None, verbose: bool = False, share_weights: bool = True) -> openvino._ov_api.Model:"""diff --git a/src/bindings/python/src/openvino/tools/ovc/convert_impl.pyi b/src/bindings/python/src/openvino/tools/ovc/convert_impl.pyiindex 25433273698..59bdc238d27 100644--- a/src/bindings/python/src/openvino/tools/ovc/convert_impl.pyi+++ b/src/bindings/python/src/openvino/tools/ovc/convert_impl.pyi@@ -1,6 +1,8 @@# type: ignorefrom __future__ import annotationsfrom collections import OrderedDict+from collections.abc import Callable+from collections.abc import Iterablefrom openvino._pyopenvino import OpConversionFailurefrom openvino._pyopenvino import PartialShapefrom openvino._pyopenvino import TelemetryExtension@@ -37,6 +39,7 @@ from openvino.tools.ovc.version import VersionCheckerfrom openvino_telemetry.backend import backend_ga4from pathlib import Pathimport argparse as argparse+import collections.abcimport datetime as datetimeimport logging as logimport openvino_telemetry as tm@@ -44,7 +47,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', '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']+__all__ = ['Callable', 'Error', 'FrameworkError', 'FrontEndManager', 'Iterable', '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):@@ -53,7 +56,7 @@ def args_to_argv(**kwargs):...def arguments_post_parsing(argv: argparse.Namespace):...-def check_iterable(iterable: typing.Iterable, func: typing.Callable):+def check_iterable(iterable: collections.abc.Iterable, func: collections.abc.Callable):...def check_model_object(argv):...diff --git a/src/bindings/python/src/openvino/tools/ovc/logger.pyi b/src/bindings/python/src/openvino/tools/ovc/logger.pyiindex 6f5ff89eeab..34e1e20c25c 100644--- a/src/bindings/python/src/openvino/tools/ovc/logger.pyi+++ b/src/bindings/python/src/openvino/tools/ovc/logger.pyi@@ -1,14 +1,13 @@# type: ignorefrom __future__ import annotationsfrom copy import copy-import absl as abslimport importlib as importlibimport loggingimport logging as logimport os as osimport re as reimport typing-__all__ = ['LvlFormatter', 'TagFilter', 'absl', 'copy', 'get_logger_state', 'handler_num', 'importlib', 'init_logger', 'log', 'os', 're', 'restore_logger_state']+__all__ = ['LvlFormatter', 'TagFilter', 'copy', 'get_logger_state', 'handler_num', 'importlib', 'init_logger', 'log', 'os', 're', 'restore_logger_state']class LvlFormatter(logging.Formatter):format_dict: typing.ClassVar[dict] = {10: '[ %(asctime)s ] [ %(levelname)s ] [ %(module)s:%(lineno)d ] %(msg)s', 20: '[ %(levelname)s ] %(msg)s', 30: '[ WARNING ] %(msg)s', 40: '[ %(levelname)s ] %(msg)s', 50: '[ %(levelname)s ] %(msg)s', 'framework_error': '[ FRAMEWORK ERROR ] %(msg)s', 'analysis_info': '[ ANALYSIS INFO ] %(msg)s'}def __init__(self, lvl, fmt = None):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 0111fcd7349..35b5c3df59c 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@@ -13,6 +13,9 @@ import re as reimport typing__all__ = ['Enum', 'Error', 'IOType', 'InputModel', 'PartialShape', 'Place', 'convert_params_lists_to_dicts', 'decode_name_with_port', 'fe_input_user_data_repack', 'fe_output_user_data_repack', 'fe_user_data_repack', 'find_first_unused_input', 'np', 'raise_no_node', 'raise_node_name_collision', 're']class IOType(enum.Enum):+ """+ An enumeration.+ """Input: typing.ClassVar[IOType] # value = <IOType.Input: 1>Output: typing.ClassVar[IOType] # value = <IOType.Output: 2>def convert_params_lists_to_dicts(input_model, input_user_shapes: [list, dict], input_user_data_types: [list, dict]):diff --git a/src/bindings/python/src/openvino/tools/ovc/moc_frontend/layout_utils.pyi b/src/bindings/python/src/openvino/tools/ovc/moc_frontend/layout_utils.pyiindex 7d9db819714..2180fb26af4 100644--- a/src/bindings/python/src/openvino/tools/ovc/moc_frontend/layout_utils.pyi+++ b/src/bindings/python/src/openvino/tools/ovc/moc_frontend/layout_utils.pyi@@ -1,10 +1,12 @@# type: ignorefrom __future__ import annotations+from collections.abc import Callablefrom openvino._pyopenvino import PartialShapefrom openvino.tools.ovc.error import Errorfrom openvino.tools.ovc.utils import refer_to_faq_msg+import collections.abcimport openvino._pyopenvino-__all__ = ['Error', 'PartialShape', 'get_dimension_index_by_label', 'refer_to_faq_msg', 'update_layout_to_dict']+__all__ = ['Callable', 'Error', 'PartialShape', 'get_dimension_index_by_label', 'refer_to_faq_msg', 'update_layout_to_dict']def get_dimension_index_by_label(input_shape: openvino._pyopenvino.PartialShape, input_names: list, layout_dict: [dict], dimension_label: str, default_dim: int):"""@@ -13,7 +15,7 @@ def get_dimension_index_by_label(input_shape: openvino._pyopenvino.PartialShape,For example, the index for 'D' dimension in "NHWDC" layout is 3."""-def update_layout_to_dict(inputs: list, layout: [list, dict], get_names_func: typing.Callable):+def update_layout_to_dict(inputs: list, layout: [list, dict], get_names_func: collections.abc.Callable):"""The function prepares layout values in the dictionary with items of the format:diff --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 d61281b0bb6..1233377d4f7 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@@ -18,6 +18,7 @@ import argparse as argparseimport logging as logimport numpyimport numpy as np+import openvino._pyopenvinoimport openvino.frontend.frontendimport os as osimport sys as sys@@ -37,6 +38,6 @@ def moc_pipeline(argv: argparse.Namespace, moc_front_end: openvino.frontend.fron:return: converted nGraph function ready for serialization"""-def raise_exception_for_input_output_cut(model_inputs_or_outputs: typing.List[openvino._pyopenvino.Place], new_nodes: typing.List[dict], is_input: bool):+def raise_exception_for_input_output_cut(model_inputs_or_outputs: list[openvino._pyopenvino.Place], new_nodes: list[dict], is_input: bool):...np_map_cast: dict # value = {bool: <function <lambda> at memory_address>, numpy.int8: <function <lambda> at memory_address>, numpy.int16: <function <lambda> at memory_address>, numpy.int32: <function <lambda> at memory_address>, numpy.int64: <function <lambda> at memory_address>, numpy.uint8: <function <lambda> at memory_address>, numpy.uint16: <function <lambda> at memory_address>, numpy.uint32: <function <lambda> at memory_address>, numpy.uint64: <function <lambda> at memory_address>, numpy.float16: <function <lambda> at memory_address>, numpy.float32: <function <lambda> at memory_address>, numpy.float64: <function <lambda> at memory_address>, str: <function <lambda> at memory_address>}diff --git a/src/bindings/python/src/openvino/tools/ovc/utils.pyi b/src/bindings/python/src/openvino/tools/ovc/utils.pyiindex 8e4bc6a52eb..43e6ee6ef86 100644--- a/src/bindings/python/src/openvino/tools/ovc/utils.pyi+++ b/src/bindings/python/src/openvino/tools/ovc/utils.pyi@@ -1,5 +1,6 @@# type: ignorefrom __future__ import annotations+from collections.abc import Iterablefrom importlib import metadata as importlib_metadatafrom openvino.tools.ovc.error import Errorfrom openvino_telemetry.backend import backend_ga4@@ -11,7 +12,7 @@ import numpy.ma.coreimport openvino_telemetry as tmimport os as osimport sys as sys-__all__ = ['Error', 'backend_ga4', 'bool_cast', 'check_values_equal', 'dynamic_dimension', 'get_ir_version', 'get_mo_root_dir', 'import_openvino_tokenizers', 'importlib', 'importlib_metadata', 'log', 'mo_array', 'np', 'np_map_cast', 'os', 'refer_to_faq_msg', 'sys', 'tm', 'validate_batch_in_shape']+__all__ = ['Error', 'Iterable', 'backend_ga4', 'bool_cast', 'check_values_equal', 'dynamic_dimension', 'get_ir_version', 'get_mo_root_dir', 'import_openvino_tokenizers', 'importlib', 'importlib_metadata', 'log', 'mo_array', 'np', 'np_map_cast', 'os', 'refer_to_faq_msg', 'sys', 'tm', 'validate_batch_in_shape']def bool_cast(x):...def check_values_equal(val1, val2):@@ -32,7 +33,7 @@ def get_mo_root_dir():"""def import_openvino_tokenizers():...-def mo_array(value: typing.Union[typing.Iterable[typing.Union[float, int]], float, int], dtype = None) -> numpy.ndarray:+def mo_array(value: typing.Union[collections.abc.Iterable[typing.Union[float, int]], float, int], dtype = None) -> numpy.ndarray:"""This function acts in a same way as np.array except for the case when dtype is not provideddiff --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 b949c39d7e4..5a6fe8db74a 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@@ -7,12 +7,11 @@ from openvino._pyopenvino import Tensorfrom openvino._pyopenvino import Typefrom openvino.utils.data_helpers.wrappers import OVDictfrom openvino.utils.data_helpers.wrappers import _InferRequestWrapper-from typing import Anyimport numpy as npimport openvino._pyopenvinoimport openvino.utils.data_helpers.wrappersimport typing-__all__ = ['Any', 'ConstOutput', 'ContainerTypes', 'OVDict', 'RemoteTensor', 'ScalarTypes', 'Tensor', 'Type', 'ValidKeys', 'create_copied', 'create_shared', 'get_request_tensor', 'is_list_simple_type', 'normalize_arrays', 'np', 'set_request_tensor', 'singledispatch', 'to_c_style', 'update_inputs', 'update_tensor', 'value_to_tensor']+__all__ = ['ConstOutput', 'ContainerTypes', 'OVDict', 'RemoteTensor', 'ScalarTypes', 'Tensor', 'Type', 'ValidKeys', 'create_copied', 'create_shared', 'get_request_tensor', 'is_list_simple_type', 'normalize_arrays', 'np', 'set_request_tensor', 'singledispatch', 'to_c_style', 'update_inputs', 'update_tensor', 'value_to_tensor']def _(inputs: typing.Union[openvino._pyopenvino.Tensor, numpy.number, int, float, str, bytes], request: openvino.utils.data_helpers.wrappers._InferRequestWrapper) -> openvino._pyopenvino.Tensor:...def _data_dispatch(request: openvino.utils.data_helpers.wrappers._InferRequestWrapper, inputs: typing.Union[dict, list, tuple, openvino.utils.data_helpers.wrappers.OVDict, openvino._pyopenvino.Tensor, numpy.ndarray, numpy.number, int, float, str] = None, is_shared: bool = False) -> typing.Union[dict, openvino._pyopenvino.Tensor]:diff --git a/src/bindings/python/src/openvino/utils/data_helpers/wrappers.pyi b/src/bindings/python/src/openvino/utils/data_helpers/wrappers.pyiindex 3ac6b902828..46172aecc94 100644--- a/src/bindings/python/src/openvino/utils/data_helpers/wrappers.pyi+++ b/src/bindings/python/src/openvino/utils/data_helpers/wrappers.pyi@@ -1,6 +1,10 @@# type: ignorefrom __future__ import annotations+from collections.abc import ItemsView+from collections.abc import Iterator+from collections.abc import KeysViewfrom collections.abc import Mapping+from collections.abc import ValuesViewfrom functools import singledispatchmethodfrom openvino._pyopenvino import ConstOutputfrom openvino._pyopenvino import InferRequest as InferRequestBase@@ -10,7 +14,7 @@ import numpyimport numpy as npimport openvino._pyopenvinoimport typing-__all__ = ['ConstOutput', 'InferRequestBase', 'Mapping', 'OVDict', 'Tensor', 'np', 'singledispatchmethod', 'tensor_from_file']+__all__ = ['ConstOutput', 'InferRequestBase', 'ItemsView', 'Iterator', 'KeysView', 'Mapping', 'OVDict', 'Tensor', 'ValuesView', 'np', 'singledispatchmethod', 'tensor_from_file']class OVDict(collections.abc.Mapping):"""Custom OpenVINO dictionary with inference results.@@ -59,7 +63,7 @@ class OVDict(collections.abc.Mapping):...def _OVDict__get_key(self, index: int) -> openvino._pyopenvino.ConstOutput:...- def _OVDict__get_names(self) -> typing.Dict[openvino._pyopenvino.ConstOutput, typing.Set[str]]:+ def _OVDict__get_names(self) -> dict[openvino._pyopenvino.ConstOutput, set[str]]:"""Return names of every output key.@@ -68,26 +72,26 @@ class OVDict(collections.abc.Mapping):"""def __getitem__(self, key: typing.Union[openvino._pyopenvino.ConstOutput, int, str]) -> numpy.ndarray:...- def __init__(self, _dict: typing.Dict[openvino._pyopenvino.ConstOutput, numpy.ndarray]) -> None:+ def __init__(self, _dict: dict[openvino._pyopenvino.ConstOutput, numpy.ndarray[typing.Any, numpy.dtype[typing.Any]]]) -> None:...- def __iter__(self) -> typing.Iterator:+ def __iter__(self) -> collections.abc.Iterator:...def __len__(self) -> int:...def __repr__(self) -> str:...- def items(self) -> typing.ItemsView[openvino._pyopenvino.ConstOutput, numpy.ndarray]:+ def items(self) -> collections.abc.ItemsView[openvino._pyopenvino.ConstOutput, numpy.ndarray[typing.Any, numpy.dtype[typing.Any]]]:...- def keys(self) -> typing.KeysView[openvino._pyopenvino.ConstOutput]:+ def keys(self) -> collections.abc.KeysView[openvino._pyopenvino.ConstOutput]:...- def names(self) -> typing.Tuple[typing.Set[str], ...]:+ def names(self) -> tuple[set[str], ...]:"""Return names of every output key.Insert empty set if key has no name."""- def to_dict(self) -> typing.Dict[openvino._pyopenvino.ConstOutput, numpy.ndarray]:+ def to_dict(self) -> dict[openvino._pyopenvino.ConstOutput, numpy.ndarray[typing.Any, numpy.dtype[typing.Any]]]:"""Return underlaying native dictionary.@@ -99,7 +103,7 @@ class OVDict(collections.abc.Mapping):"""Convert values of this dictionary to a tuple."""- def values(self) -> typing.ValuesView[numpy.ndarray]:+ def values(self) -> collections.abc.ValuesView[numpy.ndarray[typing.Any, numpy.dtype[typing.Any]]]:...class _InferRequestWrapper(openvino._pyopenvino.InferRequest):"""diff --git a/src/bindings/python/src/openvino/utils/decorators.pyi b/src/bindings/python/src/openvino/utils/decorators.pyiindex fd89f18b449..34bb152fe02 100644--- a/src/bindings/python/src/openvino/utils/decorators.pyi+++ b/src/bindings/python/src/openvino/utils/decorators.pyi@@ -1,17 +1,18 @@# type: ignorefrom __future__ import annotations+from collections.abc import Callablefrom functools import wrapsfrom inspect import signaturefrom openvino._pyopenvino import Nodefrom openvino._pyopenvino import Outputfrom openvino.utils.types import as_nodefrom openvino.utils.types import as_nodes-from typing import Anyfrom typing import get_argsfrom typing import get_origin+import collections.abcimport openvino._pyopenvinoimport typing-__all__ = ['Any', 'MultiMethod', 'Node', 'NodeInput', 'Output', 'as_node', 'as_nodes', 'binary_op', 'custom_preprocess_function', 'get_args', 'get_origin', 'nameable_op', 'overloading', 'registry', 'signature', 'unary_op', 'wraps']+__all__ = ['Callable', 'MultiMethod', 'Node', 'NodeInput', 'Output', 'as_node', 'as_nodes', 'binary_op', 'custom_preprocess_function', 'get_args', 'get_origin', 'nameable_op', 'overloading', 'registry', 'signature', 'unary_op', 'wraps']class MultiMethod:def __call__(self, *args, **kwargs) -> typing.Any:...@@ -23,27 +24,27 @@ class MultiMethod:...def matches_union(self, union_type, actual_type) -> bool:...- def register(self, types: tuple, function: typing.Callable) -> None:+ def register(self, types: tuple, function: collections.abc.Callable) -> None:...def _get_name(**kwargs: typing.Any) -> openvino._pyopenvino.Node:...def _set_node_friendly_name(node: openvino._pyopenvino.Node, *, name: typing.Optional[str] = None) -> openvino._pyopenvino.Node:...-def binary_op(node_factory_function: typing.Callable) -> typing.Callable:+def binary_op(node_factory_function: collections.abc.Callable) -> collections.abc.Callable:"""Convert the first two input values to Constant Nodes if numeric values are detected."""-def custom_preprocess_function(custom_function: typing.Callable) -> typing.Callable:+def custom_preprocess_function(custom_function: collections.abc.Callable) -> collections.abc.Callable:"""Convert Node returned from custom_function to Output."""-def nameable_op(node_factory_function: typing.Callable) -> typing.Callable:+def nameable_op(node_factory_function: collections.abc.Callable) -> collections.abc.Callable:"""Set the name to the openvino operator returned by the wrapped function."""-def overloading(*types: tuple) -> typing.Callable:+def overloading(*types: tuple) -> collections.abc.Callable:...-def unary_op(node_factory_function: typing.Callable) -> typing.Callable:+def unary_op(node_factory_function: collections.abc.Callable) -> collections.abc.Callable:"""Convert the first input value to a Constant Node if a numeric value is detected."""diff --git a/src/bindings/python/src/openvino/utils/input_validation.pyi b/src/bindings/python/src/openvino/utils/input_validation.pyiindex d993abb45a4..ceb6cd9eb85 100644--- a/src/bindings/python/src/openvino/utils/input_validation.pyi+++ b/src/bindings/python/src/openvino/utils/input_validation.pyi@@ -1,13 +1,15 @@# type: ignorefrom __future__ import annotations+from collections.abc import Callable+from collections.abc import Iterablefrom openvino.exceptions import UserInputError-from typing import Any+import collections.abcimport 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']+__all__ = ['Callable', 'Iterable', '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):"""Check whether provided value satisfies specified criteria.@@ -23,7 +25,7 @@ def _check_value(op_name, attr_key, value, val_type, cond = None):returns: True if attribute satisfies all criterias. Otherwise False."""-def assert_list_of_ints(value_list: typing.Iterable[int], message: str) -> None:+def assert_list_of_ints(value_list: collections.abc.Iterable[int], message: str) -> None:"""Verify that the provided value is an iterable of integers."""@@ -54,7 +56,7 @@ def check_valid_attributes(op_name, attributes, requirements):contain following values:(attr_name: str,is_required: bool,- value_type: Type,+ value_type: type,value_condition: Callable):raises UserInputError:diff --git a/src/bindings/python/src/openvino/utils/node_factory.pyi b/src/bindings/python/src/openvino/utils/node_factory.pyiindex cdfaf7afeca..48b5c000e93 100644--- a/src/bindings/python/src/openvino/utils/node_factory.pyi+++ b/src/bindings/python/src/openvino/utils/node_factory.pyi@@ -7,20 +7,20 @@ from openvino._pyopenvino import NodeFactory as _NodeFactoryfrom openvino._pyopenvino import Outputfrom openvino.exceptions import UserInputErrorfrom pathlib import Path-from typing import Anyimport openvino._pyopenvino-__all__ = ['Any', 'DEFAULT_OPSET', 'Extension', 'Node', 'NodeFactory', 'Output', 'Path', 'UserInputError', 'singledispatchmethod']+import typing+__all__ = ['DEFAULT_OPSET', 'Extension', 'Node', 'NodeFactory', 'Output', 'Path', 'UserInputError', 'singledispatchmethod']class NodeFactory:"""Factory front-end to create node objects."""@staticmethod- def _arguments_as_outputs(arguments: typing.List[typing.Union[openvino._pyopenvino.Node, openvino._pyopenvino.Output]]) -> typing.List[openvino._pyopenvino.Output]:+ def _arguments_as_outputs(arguments: list[openvino._pyopenvino.Node | openvino._pyopenvino.Output]) -> list[openvino._pyopenvino.Output]:...@staticmethoddef add_extension(*args, **kwargs) -> None:...- def _(self, extension: typing.Union[openvino._pyopenvino.Extension, typing.List[openvino._pyopenvino.Extension]]) -> None:+ def _(self, extension: typing.Union[openvino._pyopenvino.Extension, list[openvino._pyopenvino.Extension]]) -> None:"""Add custom operations from extension library.@@ -51,7 +51,7 @@ class NodeFactory::param opset_version: The opset version the factory will use to produce ops from."""- def create(self, op_type_name: str, arguments: typing.Optional[typing.List[typing.Union[openvino._pyopenvino.Node, openvino._pyopenvino.Output]]] = None, attributes: typing.Optional[typing.Dict[str, typing.Any]] = None) -> openvino._pyopenvino.Node:+ def create(self, op_type_name: str, arguments: typing.Optional[list[typing.Union[openvino._pyopenvino.Node, openvino._pyopenvino.Output]]] = None, attributes: typing.Optional[dict[str, typing.Any]] = None) -> openvino._pyopenvino.Node:"""Create node object from provided description.diff --git a/src/bindings/python/src/openvino/utils/postponed_constant.pyi b/src/bindings/python/src/openvino/utils/postponed_constant.pyiindex b7b57d7d006..f2ab4db6462 100644--- a/src/bindings/python/src/openvino/utils/postponed_constant.pyi+++ b/src/bindings/python/src/openvino/utils/postponed_constant.pyi@@ -1,26 +1,28 @@# type: ignorefrom __future__ import annotations+from collections.abc import Callablefrom openvino._op_base import Opfrom openvino._pyopenvino import PartialShapefrom openvino._pyopenvino import Shapefrom openvino._pyopenvino import Tensorfrom openvino._pyopenvino import Type+import collections.abcimport openvino._op_baseimport openvino._pyopenvino-__all__ = ['Op', 'PartialShape', 'PostponedConstant', 'Shape', 'Tensor', 'Type', 'make_postponed_constant']+__all__ = ['Callable', 'Op', 'PartialShape', 'PostponedConstant', 'Shape', 'Tensor', 'Type', 'make_postponed_constant']class PostponedConstant(openvino._op_base.Op):"""Postponed Constant is a way to materialize a big constant only when it is going to be serialized to IR and then immediately dispose."""- def __init__(self, element_type: openvino._pyopenvino.Type, shape: openvino._pyopenvino.Shape, maker: typing.Callable[[openvino._pyopenvino.Tensor], NoneType], name: typing.Optional[str] = None) -> None:+ def __init__(self, element_type: openvino._pyopenvino.Type, shape: openvino._pyopenvino.Shape, maker: collections.abc.Callable[[openvino._pyopenvino.Tensor], None], name: typing.Optional[str] = None) -> None:...- def clone_with_new_inputs(self, new_inputs: typing.List[openvino._pyopenvino.Tensor]) -> openvino._op_base.Op:+ def clone_with_new_inputs(self, new_inputs: list[openvino._pyopenvino.Tensor]) -> openvino._op_base.Op:...- def evaluate(self, outputs: typing.List[openvino._pyopenvino.Tensor], _: typing.List[openvino._pyopenvino.Tensor]) -> bool:+ def evaluate(self, outputs: list[openvino._pyopenvino.Tensor], _: list[openvino._pyopenvino.Tensor]) -> bool:...def has_evaluate(self) -> bool:...def validate_and_infer_types(self) -> None:...-def make_postponed_constant(element_type: openvino._pyopenvino.Type, shape: openvino._pyopenvino.Shape, maker: typing.Callable[[openvino._pyopenvino.Tensor], NoneType], name: typing.Optional[str] = None) -> openvino._op_base.Op:+def make_postponed_constant(element_type: openvino._pyopenvino.Type, shape: openvino._pyopenvino.Shape, maker: collections.abc.Callable[[openvino._pyopenvino.Tensor], None], name: typing.Optional[str] = None) -> openvino._op_base.Op:...diff --git a/src/bindings/python/src/openvino/utils/types.pyi b/src/bindings/python/src/openvino/utils/types.pyiindex d9591cd8137..ccffb2bd7b6 100644--- a/src/bindings/python/src/openvino/utils/types.pyi+++ b/src/bindings/python/src/openvino/utils/types.pyi@@ -1,5 +1,6 @@# type: ignorefrom __future__ import annotations+from builtins import list as TensorShapefrom openvino._pyopenvino import Nodefrom openvino._pyopenvino import Outputfrom openvino._pyopenvino import Shape@@ -20,7 +21,7 @@ def as_node(input_value: typing.Union[openvino._pyopenvino.Node, int, float, num"""Return input values as nodes. Scalars will be converted to Constant nodes."""-def as_nodes(*input_values: typing.Union[openvino._pyopenvino.Node, int, float, numpy.ndarray], name: typing.Optional[str] = None) -> typing.List[openvino._pyopenvino.Node]:+def as_nodes(*input_values: typing.Union[openvino._pyopenvino.Node, int, float, numpy.ndarray], name: typing.Optional[str] = None) -> list[openvino._pyopenvino.Node]:"""Return input values as nodes. Scalars will be converted to Constant nodes."""@@ -44,7 +45,7 @@ def get_numpy_ctype(openvino_type: openvino._pyopenvino.Type) -> type:"""Return numpy ctype for an openvino element type."""-def get_shape(data: typing.Union[int, float, numpy.ndarray]) -> typing.List[int]:+def get_shape(data: typing.Union[int, float, numpy.ndarray]) -> list[int]:"""Return a shape of NumericData."""@@ -56,7 +57,6 @@ NodeInput: typing._UnionGenericAlias # value = typing.Union[openvino._pyopenvinNumericData: typing._UnionGenericAlias # value = typing.Union[int, float, numpy.ndarray]NumericType: typing._UnionGenericAlias # value = typing.Union[type, numpy.dtype]ScalarData: typing._UnionGenericAlias # value = typing.Union[int, float]-TensorShape: typing._GenericAlias # value = typing.List[int]log: logging.Logger # value = <Logger openvino.utils.types (INFO)>openvino_to_numpy_types_map: list # value = [(<Type: 'char'>, bool), (<Type: 'char'>, numpy.bool), (<Type: 'float16'>, numpy.float16), (<Type: 'float32'>, numpy.float32), (<Type: 'double64'>, numpy.float64), (<Type: 'int8_t'>, numpy.int8), (<Type: 'int16_t'>, numpy.int16), (<Type: 'int32_t'>, numpy.int32), (<Type: 'int64_t'>, numpy.int64), (<Type: 'uint8_t'>, numpy.uint8), (<Type: 'uint16_t'>, numpy.uint16), (<Type: 'uint32_t'>, numpy.uint32), (<Type: 'uint64_t'>, numpy.uint64), (<Type: 'bfloat16'>, numpy.uint16), (<Type: 'string'>, str), (<Type: 'string'>, numpy.str_), (<Type: 'string'>, bytes), (<Type: 'string'>, numpy.bytes_)]openvino_to_numpy_types_str_map: list = [('boolean', bool), ('boolean', numpy.bool), ('f16', numpy.float16), ('f32', numpy.float32), ('f64', numpy.float64), ('i8', numpy.int8), ('i16', numpy.int16), ('i32', numpy.int32), ('i64', numpy.int64), ('u8', numpy.uint8), ('u16', numpy.uint16), ('u32', numpy.uint32), ('u64', numpy.uint64), ('string', str), ('string', numpy.str_), ('string', bytes), ('string', numpy.bytes_)]