Property

Detailed Documentation

The definitions & operations about property.

Global Variables

 ov_property_key_supported_properties

Read-only property<string> to get a string list of supported read-only properties.

 ov_property_key_available_devices

Read-only property<string> to get a list of available device IDs.

 ov_property_key_optimal_number_of_infer_requests

Read-only property<uint32_t string> to get an unsigned integer value of optimaln number of compiled model infer requests.

 ov_property_key_range_for_async_infer_requests

Read-only property<string(unsigned int, unsigned int, unsigned int)> to provide a hint for a range for number of async infer requests. If device supports streams, the metric provides range for number of IRs per stream.

 ov_property_key_range_for_streams

Read-only property<string(unsigned int, unsigned int)> to provide information about a range for streams on platforms where streams are supported.

 ov_property_key_device_full_name

Read-only property<string> to get a string value representing a full device name.

 ov_property_key_device_capabilities

Read-only property<string> to get a string list of capabilities options per device.

 ov_property_key_model_name

Read-only property<string> to get a name of name of a model.

 ov_property_key_optimal_batch_size

Read-only property<uint32_t string> to query information optimal batch size for the given device and the network.

 ov_property_key_max_batch_size

Read-only property to get maximum batch size which does not cause performance degradation due to memory swap impact.

 ov_property_key_cache_dir

Read-write property<string> to set/get the directory which will be used to store any data cached by plugins.

 ov_property_key_num_streams

Read-write property<uint32_t string> to set/get the number of executor logical partitions.

 ov_property_key_affinity

Read-write property to set/get the name for setting CPU affinity per thread option.

 ov_property_key_inference_num_threads

Read-write property<int32_t string> to set/get the maximum number of threads that can be used for inference tasks.

 ov_property_key_hint_performance_mode

Read-write property, it is high-level OpenVINO Performance Hints.

 ov_property_key_hint_inference_precision

Read-write property<ov_element_type_e> to set the hint for device to use specified precision for inference.

 ov_property_key_hint_num_requests

(Optional) Read-write property<uint32_t string> that backs the Performance Hints by giving additional information on how many inference requests the application will be keeping in flight usually this value comes from the actual use-case (e.g. number of video-cameras, or other sources of inputs)

 ov_property_key_log_level

Read-write property<string> for setting desirable log level.

 ov_property_key_hint_model_priority

Read-write property, high-level OpenVINO model priority hint.

 ov_property_key_enable_profiling

Read-write property<string> for setting performance counters option.

 ov_property_key_device_priorities

Read-write property<std::pair<std::string, Any>>, device Priorities config option, with comma-separated devices listed in the desired priority.