Property¶
Overview¶
The definitions & operations about property. More…
// global variables
 ov_property_key_supported_properties;
 ov_property_key_available_devices;
 ov_property_key_optimal_number_of_infer_requests;
 ov_property_key_range_for_async_infer_requests;
 ov_property_key_range_for_streams;
 ov_property_key_device_full_name;
 ov_property_key_device_capabilities;
 ov_property_key_model_name;
 ov_property_key_optimal_batch_size;
 ov_property_key_max_batch_size;
 ov_property_key_cache_dir;
 ov_property_key_num_streams;
 ov_property_key_affinity;
 ov_property_key_inference_num_threads;
 ov_property_key_hint_performance_mode;
 ov_property_key_hint_inference_precision;
 ov_property_key_hint_num_requests;
 ov_property_key_log_level;
 ov_property_key_hint_model_priority;
 ov_property_key_enable_profiling;
 ov_property_key_device_priorities;Detailed Documentation¶
The definitions & operations about property.
Global Variables¶
 ov_property_key_supported_propertiesRead-only property<string> to get a string list of supported read-only properties.
 ov_property_key_available_devicesRead-only property<string> to get a list of available device IDs.
 ov_property_key_optimal_number_of_infer_requestsRead-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_requestsRead-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_streamsRead-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_nameRead-only property<string> to get a string value representing a full device name.
 ov_property_key_device_capabilitiesRead-only property<string> to get a string list of capabilities options per device.
 ov_property_key_model_nameRead-only property<string> to get a name of name of a model.
 ov_property_key_optimal_batch_sizeRead-only property<uint32_t string> to query information optimal batch size for the given device and the network.
 ov_property_key_max_batch_sizeRead-only property to get maximum batch size which does not cause performance degradation due to memory swap impact.
 ov_property_key_cache_dirRead-write property<string> to set/get the directory which will be used to store any data cached by plugins.
 ov_property_key_num_streamsRead-write property<uint32_t string> to set/get the number of executor logical partitions.
 ov_property_key_affinityRead-write property to set/get the name for setting CPU affinity per thread option.
 ov_property_key_inference_num_threadsRead-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_modeRead-write property, it is high-level OpenVINO Performance Hints.
 ov_property_key_hint_inference_precisionRead-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_levelRead-write property<string> for setting desirable log level.
 ov_property_key_hint_model_priorityRead-write property, high-level OpenVINO model priority hint.
 ov_property_key_enable_profilingRead-write property<string> for setting performance counters option.
 ov_property_key_device_prioritiesRead-write property<std::pair<std::string, Any>>, device Priorities config option, with comma-separated devices listed in the desired priority.