openvino.runtime.deprecated#
- openvino.runtime.deprecated(name: Any | None = None, version: str = '', message: str = '', stacklevel: int = 2) Callable[[...], Any] #
Prints deprecation warning “{function_name} is deprecated and will be removed in version {version}. {message}” and runs the function.
- Parameters:
version – The version in which the code will be removed.
message – A message explaining why the function is deprecated and/or what to use instead.