From 00f94426f18658a85243812d070be3b324a039f0 Mon Sep 17 00:00:00 2001 From: Maciej Smyk Date: Mon, 29 May 2023 09:02:39 +0200 Subject: [PATCH] [DOCS] Configuring devices article update for master (#17756) * Update configure_devices.md --- .../migration_ov_2_0/configure_devices.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/docs/OV_Runtime_UG/migration_ov_2_0/configure_devices.md b/docs/OV_Runtime_UG/migration_ov_2_0/configure_devices.md index bf7ff625c4f..b31deb054c6 100644 --- a/docs/OV_Runtime_UG/migration_ov_2_0/configure_devices.md +++ b/docs/OV_Runtime_UG/migration_ov_2_0/configure_devices.md @@ -2,12 +2,11 @@ @sphinxdirective - -Inference Engine API provides the `ability to configure devices `__ via configuration keys and `get device specific metrics `__. The values taken from `InferenceEngine::Core::GetConfig `__ are requested by the string name, while the return type is `InferenceEngine::Parameter `__, making users lost on what the actual type is stored in this parameter. +The Inference Engine API provides the ability to configure devices with configuration keys and obtain device-specific metrics. The values retrived from `InferenceEngine::Core::GetConfig `__ are requested by the string name, while the return type is `InferenceEngine::Parameter `__ , which results in users not knowing what the actual type is stored in this parameter. API 2.0 solves these issues by introducing :doc:`properties `, which unify metrics and configuration key concepts. The main advantage is that they have the C++ type: -.. code-block:: +.. code-block:: sh static constexpr Property full_name{"FULL_DEVICE_NAME"}; @@ -22,6 +21,10 @@ where the property can be requested from an inference device as: The snippets in the following sections demonstrate the device configurations for migrating from Inference Engine to API 2.0. +.. note:: + + The Inference Engine API is a **legacy solution** and it is recomended to use API 2.0. If you want to learn more about Inference Engine API, its configuration and how to obtain device-specific metrics from it, check the following `article `__ from the 2021.4 version of OpenVINO documentation. + Setting Configuration Values ############################ @@ -194,7 +197,8 @@ Setting Configuration Values :fragment: compiled_model_set_property -## Getting Information +Getting Information +################### **Inference Engine API**