Skip to content

Commit 5d36297

Browse files
Update Python API stub files
1 parent bb73ac8 commit 5d36297

File tree

1 file changed

+7
-1
lines changed
  • src/bindings/python/src/openvino/_pyopenvino/properties

1 file changed

+7
-1
lines changed

src/bindings/python/src/openvino/_pyopenvino/properties/__init__.pyi

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import typing
1313
"""
1414
openvino.properties submodule
1515
"""
16-
__all__: list[str] = ['CacheMode', 'WorkloadType', 'auto_batch_timeout', 'available_devices', 'cache_dir', 'cache_encryption_callbacks', 'cache_mode', 'compilation_num_threads', 'device', 'enable_mmap', 'enable_profiling', 'execution_devices', 'force_tbb_terminate', 'hint', 'inference_num_threads', 'intel_auto', 'intel_cpu', 'intel_gpu', 'intel_npu', 'key_cache_group_size', 'key_cache_precision', 'loaded_from_cache', 'log', 'max_batch_size', 'model_name', 'num_streams', 'optimal_batch_size', 'optimal_number_of_infer_requests', 'range_for_async_infer_requests', 'range_for_streams', 'streams', 'supported_properties', 'value_cache_group_size', 'value_cache_precision', 'weights_path', 'workload_type']
16+
__all__: list[str] = ['CacheMode', 'WorkloadType', 'auto_batch_timeout', 'available_devices', 'cache_dir', 'cache_encryption_callbacks', 'cache_mode', 'compilation_num_threads', 'device', 'enable_mmap', 'enable_profiling', 'enable_weightless', 'execution_devices', 'force_tbb_terminate', 'hint', 'inference_num_threads', 'intel_auto', 'intel_cpu', 'intel_gpu', 'intel_npu', 'key_cache_group_size', 'key_cache_precision', 'loaded_from_cache', 'log', 'max_batch_size', 'model_name', 'num_streams', 'optimal_batch_size', 'optimal_number_of_infer_requests', 'range_for_async_infer_requests', 'range_for_streams', 'streams', 'supported_properties', 'value_cache_group_size', 'value_cache_precision', 'weights_path', 'workload_type']
1717
class CacheMode:
1818
"""
1919
Members:
@@ -144,6 +144,12 @@ def enable_profiling() -> str:
144144
@typing.overload
145145
def enable_profiling(arg0: bool) -> tuple[str, openvino._pyopenvino.OVAny]:
146146
...
147+
@typing.overload
148+
def enable_weightless() -> str:
149+
...
150+
@typing.overload
151+
def enable_weightless(arg0: bool) -> tuple[str, openvino._pyopenvino.OVAny]:
152+
...
147153
def execution_devices() -> str:
148154
...
149155
@typing.overload

0 commit comments

Comments
 (0)