From da5e76263d8f6cee7875128bd28474194f16256f Mon Sep 17 00:00:00 2001 From: Sebastian Golebiewski Date: Mon, 19 Feb 2024 10:27:14 +0100 Subject: [PATCH] [DOCS] Update OpenVINO API references (#22884) Changing references from "OpenVINO API 2.0" to "OpenVINO API", as mentioned in https://github.com/openvinotoolkit/openvino/pull/22873#discussion_r1492115073 --------- Co-authored-by: Ilya Lavrenov --- docs/articles_en/openvino-workflow/deployment-locally.rst | 2 +- .../optimize-inference/high-level-performance-hints.rst | 2 +- docs/sphinx_setup/api/api_reference.rst | 2 +- samples/cpp/benchmark_app/main.cpp | 4 ++-- src/bindings/python/src/openvino/__init__.py | 2 +- tools/benchmark_tool/openvino/__init__.py | 2 +- tools/mo/openvino/__init__.py | 2 +- tools/openvino_dev/src/openvino/__init__.py | 2 +- tools/ovc/openvino/__init__.py | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-) diff --git a/docs/articles_en/openvino-workflow/deployment-locally.rst b/docs/articles_en/openvino-workflow/deployment-locally.rst index 5ab6e9a0eea..b86bf64d564 100644 --- a/docs/articles_en/openvino-workflow/deployment-locally.rst +++ b/docs/articles_en/openvino-workflow/deployment-locally.rst @@ -64,7 +64,7 @@ The granularity of OpenVINO packages may vary for different distribution types. .. image:: _static/images/deployment_simplified.svg -- The main library ``openvino`` is used by users' C++ applications to link against with. For C language applications, ``openvino_c`` is additionally required for distribution. The library includes OpenVINO API 2.0. +- The main library ``openvino`` is used by users' C++ applications to link against with. For C language applications, ``openvino_c`` is additionally required for distribution. The library includes OpenVINO API. - The "optional" plugin libraries like ``openvino_intel_cpu_plugin`` (matching the ``openvino_.+_plugin`` pattern) are used to provide inference capabilities on specific devices or additional capabilities like :doc:`Hetero Execution ` and :doc:`Multi-Device Execution `. - The "optional" plugin libraries like ``openvino_ir_frontend`` (matching ``openvino_.+_frontend``) are used to provide capabilities to read models of different file formats such as OpenVINO IR, TensorFlow, ONNX, and PaddlePaddle. diff --git a/docs/articles_en/openvino-workflow/running-inference/optimize-inference/high-level-performance-hints.rst b/docs/articles_en/openvino-workflow/running-inference/optimize-inference/high-level-performance-hints.rst index 848abe59602..15438b4b774 100644 --- a/docs/articles_en/openvino-workflow/running-inference/optimize-inference/high-level-performance-hints.rst +++ b/docs/articles_en/openvino-workflow/running-inference/optimize-inference/high-level-performance-hints.rst @@ -15,7 +15,7 @@ The preferred way to configure performance in OpenVINO Runtime is using performa The hints also set the direction of the configuration in the right order. Instead of mapping the application needs to the low-level performance settings, and keeping an associated application logic to configure each possible device separately, the hints express a target scenario with a single config key and let the *device* configure itself in response. -Previously, a certain level of automatic configuration was the result of the *default* values of the parameters. For example, the number of CPU streams was deduced from the number of CPU cores, when `ov::streams::AUTO `__ (``CPU_THROUGHPUT_AUTO`` in the pre-API 2.0 terminology) was set. However, the resulting number of streams did not account for actual compute requirements of the model to be inferred. +Previously, a certain level of automatic configuration was the result of the *default* values of the parameters. For example, the number of CPU streams was deduced from the number of CPU cores, when `ov::streams::AUTO `__ was set. However, the resulting number of streams did not account for actual compute requirements of the model to be inferred. The hints, in contrast, respect the actual model, so the parameters for optimal throughput are calculated for each model individually (based on its compute versus memory bandwidth requirements and capabilities of the device). Performance Hints: Latency and Throughput diff --git a/docs/sphinx_setup/api/api_reference.rst b/docs/sphinx_setup/api/api_reference.rst index e1debd5cfaf..933be0844e9 100644 --- a/docs/sphinx_setup/api/api_reference.rst +++ b/docs/sphinx_setup/api/api_reference.rst @@ -20,7 +20,7 @@ OpenVINO toolkit offers **APIs for Python, C, and C++** which share most feature most comprehensive one), have a common structure, naming convention styles, namespaces, and no duplicate structures. -OpenVINO API 2.0 may be described by the following: +OpenVINO API may be described by the following: - Preserves input element types and order of dimensions (layouts), and stores tensor names from the original models (Model Conversion API). diff --git a/samples/cpp/benchmark_app/main.cpp b/samples/cpp/benchmark_app/main.cpp index 29a0b02b857..fa5a2cd7a9d 100644 --- a/samples/cpp/benchmark_app/main.cpp +++ b/samples/cpp/benchmark_app/main.cpp @@ -422,7 +422,7 @@ int main(int argc, char* argv[]) { if (it_device_nstreams != device_nstreams.end()) { // set to user defined value if (supported(ov::num_streams.name())) { - // Use API 2.0 key for streams + // Use OpenVINO API key for streams device_config[key] = it_device_nstreams->second; } else if (is_virtual_device(device)) { update_device_config_for_virtual_device(it_device_nstreams->second, @@ -445,7 +445,7 @@ int main(int argc, char* argv[]) { << slog::endl; if (supported(ov::num_streams.name())) { - // Use API 2.0 key for streams + // Use OpenVINO API key for streams device_config[key] = ov::streams::AUTO; } else if (is_virtual_device(device)) { // Set nstreams to default value auto if no nstreams specified from cmd line. diff --git a/src/bindings/python/src/openvino/__init__.py b/src/bindings/python/src/openvino/__init__.py index e6700c56c61..221db08bb21 100644 --- a/src/bindings/python/src/openvino/__init__.py +++ b/src/bindings/python/src/openvino/__init__.py @@ -13,7 +13,7 @@ except ImportError: pass # # -# # API 2.0 +# # OpenVINO API # # This __init__.py forces checking of runtime modules to propagate errors. # # It is not compared with init files from openvino-dev package. # # diff --git a/tools/benchmark_tool/openvino/__init__.py b/tools/benchmark_tool/openvino/__init__.py index e6700c56c61..221db08bb21 100644 --- a/tools/benchmark_tool/openvino/__init__.py +++ b/tools/benchmark_tool/openvino/__init__.py @@ -13,7 +13,7 @@ except ImportError: pass # # -# # API 2.0 +# # OpenVINO API # # This __init__.py forces checking of runtime modules to propagate errors. # # It is not compared with init files from openvino-dev package. # # diff --git a/tools/mo/openvino/__init__.py b/tools/mo/openvino/__init__.py index 3cbe7805f4c..e97b0704957 100644 --- a/tools/mo/openvino/__init__.py +++ b/tools/mo/openvino/__init__.py @@ -12,7 +12,7 @@ try: except ImportError: pass -# API 2.0 +# OpenVINO API try: # Import all public modules from openvino import runtime as runtime diff --git a/tools/openvino_dev/src/openvino/__init__.py b/tools/openvino_dev/src/openvino/__init__.py index 3cbe7805f4c..e97b0704957 100644 --- a/tools/openvino_dev/src/openvino/__init__.py +++ b/tools/openvino_dev/src/openvino/__init__.py @@ -12,7 +12,7 @@ try: except ImportError: pass -# API 2.0 +# OpenVINO API try: # Import all public modules from openvino import runtime as runtime diff --git a/tools/ovc/openvino/__init__.py b/tools/ovc/openvino/__init__.py index e6700c56c61..221db08bb21 100644 --- a/tools/ovc/openvino/__init__.py +++ b/tools/ovc/openvino/__init__.py @@ -13,7 +13,7 @@ except ImportError: pass # # -# # API 2.0 +# # OpenVINO API # # This __init__.py forces checking of runtime modules to propagate errors. # # It is not compared with init files from openvino-dev package. # #