Skip to content

Commit

Permalink
Rename IE to OV (openvinotoolkit#22733)
Browse files Browse the repository at this point in the history
  • Loading branch information
vurusovs authored Feb 9, 2024
1 parent 0affac4 commit dfe0699
Show file tree
Hide file tree
Showing 389 changed files with 678 additions and 692 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING_PR.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,5 @@ Regardless of the automated tests, you should ensure the quality of your changes
* [How to create a fork](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/fork-a-repo)
* [Install Git](https://git-scm.com/book/en/v2/Getting-Started-First-Time-Git-Setup)
* If you want to add a new sample, please have a look at the Guide for contributing
to C++/C/Python IE samples and add the license statement at the top of new files for
to C++/C/Python OV samples and add the license statement at the top of new files for
C++ example, Python example.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ set(_DEFINE_AVX512F "HAVE_AVX512F" ${_DEFINE_AVX2})
ov_avx512_optimization_flags(_FLAGS_AVX512F)
ov_avx2_optimization_flags (_FLAGS_AVX2)
ov_sse42_optimization_flags (_FLAGS_SSE42)
set(_FLAGS_AVX "") ## TBD is not defined for IE project yet
set(_FLAGS_AVX "") ## TBD is not defined for OV project yet
set(_FLAGS_ANY "") ##

## way to duplicate file via cmake tool set
Expand Down
2 changes: 1 addition & 1 deletion cmake/developer_package/packaging/packaging.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ endfunction()
#
# ov_cpack_add_component(NAME ...)
#
# Wraps original `cpack_add_component` and adds component to internal IE list
# Wraps original `cpack_add_component` and adds component to internal OV list
#
function(ov_cpack_add_component name)
if(NOT ${name} IN_LIST OV_CPACK_COMPONENTS_ALL)
Expand Down
6 changes: 3 additions & 3 deletions cmake/developer_package/tbb/TBBConfig.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
# Perform search of TBB package corresponding with specified search order.
#
# TBBROOT var is set into external package path or has a default value
# with IE own version of TBB. Search order is next:
# with OV own version of TBB. Search order is next:
# 1) ${TBBROOT}/cmake
# 2) ${TBBROOT} with IE own version of TBBConfig.cmake (actual for TBB < 2017.7)
# 2) ${TBBROOT} with OV own version of TBBConfig.cmake (actual for TBB < 2017.7)
#

# Path to IE own version of TBBConfig.cmake old TBB version without cmake config.
# Path to OV own version of TBBConfig.cmake old TBB version without cmake config.
if(APPLE)
set(_OV_OWN_TBB_CONFIG tbb/mac)
elseif(UNIX)
Expand Down
2 changes: 1 addition & 1 deletion samples/c/hello_classification/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ For more detailed information on how this sample works, check the dedicated [art
| Options | Values |
| ---------------------------| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Validated Models | [alexnet](https://docs.openvino.ai/2023.3/omz_models_model_alexnet.html), [googlenet-v1](https://docs.openvino.ai/2023.3/omz_models_model_googlenet_v1.html) |
| Model Format | Inference Engine Intermediate Representation (\*.xml + \*.bin), ONNX (\*.onnx) |
| Model Format | OpenVINO Intermediate Representation (\*.xml + \*.bin), ONNX (\*.onnx) |
| Validated images | The sample uses OpenCV\* to [read input image](https://docs.opencv.org/master/d4/da8/group__imgcodecs.html#ga288b8b3da0892bd651fce07b3bbd3a56) (\*.bmp, \*.png) |
| Supported devices | [All](https://docs.openvino.ai/2023.3/openvino_docs_OV_UG_supported_plugins_Supported_Devices.html) |
| Other language realization | [C++](https://docs.openvino.ai/2023.3/openvino_sample_hello_classification.html), |
Expand Down
4 changes: 2 additions & 2 deletions samples/c/hello_nv12_input_classification/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ For more detailed information on how this sample works, check the dedicated [art
| Options | Values |
| ----------------------------| ---------------------------------------------------------------------------------------------------------------------|
| Validated Models | [alexnet](https://docs.openvino.ai/2023.3/omz_models_model_alexnet.html) |
| Model Format | Inference Engine Intermediate Representation (\*.xml + \*.bin), ONNX (\*.onnx) |
| Model Format | OpenVINO Intermediate Representation (\*.xml + \*.bin), ONNX (\*.onnx) |
| Validated images | An uncompressed image in the NV12 color format - \*.yuv |
| Supported devices | [All](https://docs.openvino.ai/2023.3/openvino_docs_OV_UG_supported_plugins_Supported_Devices.html) |
| Other language realization | [C++](https://docs.openvino.ai/2023.3/openvino_sample_hello_nv12_input_classification.html) |
Expand All @@ -28,6 +28,6 @@ The following C++ API is used in the application:
| | ``ov_preprocess_preprocess_steps_convert_color`` | |


Basic Inference Engine API is covered by [Hello Classification C sample](https://docs.openvino.ai/2023.3/openvino_sample_hello_classification.html).
Basic OpenVINO API is covered by [Hello Classification C sample](https://docs.openvino.ai/2023.3/openvino_sample_hello_classification.html).


4 changes: 2 additions & 2 deletions samples/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ if (NOT BIN_FOLDER)
endif()

if(OpenVINO_SOURCE_DIR)
# in case if samples are built from IE repo
# in case if samples are built from OV repo
set(OV_MAIN_SAMPLES_DIR "${OpenVINO_SOURCE_DIR}")
set(OpenVINO_DIR "${CMAKE_BINARY_DIR}")
else()
# in case if samples are built out of IE repo
# in case if samples are built out of OV repo
set(OV_MAIN_SAMPLES_DIR ${CMAKE_CURRENT_BINARY_DIR})
endif()

Expand Down
4 changes: 2 additions & 2 deletions samples/cpp/benchmark_app/benchmark_app.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -231,11 +231,11 @@ static const char exec_graph_path_message[] =

// @brief message for dump config option
static const char dump_config_message[] =
"Optional. Path to JSON file to dump IE parameters, which were set by application.";
"Optional. Path to JSON file to dump OV parameters, which were set by application.";

// @brief message for load config option
static const char load_config_message[] =
"Optional. Path to JSON file to load custom IE parameters."
"Optional. Path to JSON file to load custom OV parameters."
" Please note, command line parameters have higher priority then parameters from configuration file.\n"
" Example 1: a simple JSON file for HW device with primary properties.\n"
" {\n"
Expand Down
4 changes: 2 additions & 2 deletions samples/cpp/hello_query_device/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
// clang-format on

/**
* @brief Print IE Parameters
* @param reference on IE Parameter
* @brief Print OV Parameters
* @param reference on OV Parameter
* @return void
*/
void print_any_value(const ov::Any& value) {
Expand Down
2 changes: 1 addition & 1 deletion samples/python/hello_query_device/hello_query_device.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@


def param_to_string(parameters) -> str:
"""Convert a list / tuple of parameters returned from IE to a string."""
"""Convert a list / tuple of parameters returned from OV to a string."""
if isinstance(parameters, (list, tuple)):
return ', '.join([str(x) for x in parameters])
else:
Expand Down
20 changes: 10 additions & 10 deletions src/bindings/c/include/openvino/c/ov_core.h
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ ov_core_free(ov_core_t* core);
/**
* @brief Reads models from IR / ONNX / PDPD / TF / TFLite formats.
* @ingroup ov_core_c_api
* @param core A pointer to the ie_core_t instance.
* @param core A pointer to the ov_core_t instance.
* @param model_path Path to a model.
* @param bin_path Path to a data file.
* For IR format (*.bin):
Expand All @@ -150,7 +150,7 @@ ov_core_read_model(const ov_core_t* core, const char* model_path, const char* bi
/**
* @brief Reads models from IR / ONNX / PDPD / TF / TFLite formats, path is unicode.
* @ingroup ov_core_c_api
* @param core A pointer to the ie_core_t instance.
* @param core A pointer to the ov_core_t instance.
* @param model_path Path to a model.
* @param bin_path Path to a data file.
* For IR format (*.bin):
Expand All @@ -174,7 +174,7 @@ ov_core_read_model_unicode(const ov_core_t* core,
/**
* @brief Reads models from IR / ONNX / PDPD / TF / TFLite formats with models string size.
* @ingroup ov_core_c_api
* @param core A pointer to the ie_core_t instance.
* @param core A pointer to the ov_core_t instance.
* @param model_str String with a model in IR / ONNX / PDPD / TF / TFLite format, support model string containing
* several null chars.
* @param str_len The length of model string.
Expand All @@ -198,7 +198,7 @@ ov_core_read_model_from_memory_buffer(const ov_core_t* core,
* Users can create as many compiled models as they need and use
* them simultaneously (up to the limitation of the hardware resources).
* @ingroup ov_core_c_api
* @param core A pointer to the ie_core_t instance.
* @param core A pointer to the ov_core_t instance.
* @param model Model object acquired from Core::read_model.
* @param device_name Name of a device to load a model to.
* @param property_args_size How many properties args will be passed, each property contains 2 args: key and value.
Expand All @@ -220,7 +220,7 @@ ov_core_compile_model(const ov_core_t* core,
* This can be more efficient than using the ov_core_read_model_from_XXX + ov_core_compile_model flow,
* especially for cases when caching is enabled and a cached model is available.
* @ingroup ov_core_c_api
* @param core A pointer to the ie_core_t instance.
* @param core A pointer to the ov_core_t instance.
* @param model_path Path to a model.
* @param device_name Name of a device to load a model to.
* @param property_args_size How many properties args will be passed, each property contains 2 args: key and value.
Expand All @@ -243,7 +243,7 @@ ov_core_compile_model_from_file(const ov_core_t* core,
* This can be more efficient than using the ov_core_read_model_from_XXX + ov_core_compile_model flow,
* especially for cases when caching is enabled and a cached model is available.
* @ingroup ov_core_c_api
* @param core A pointer to the ie_core_t instance.
* @param core A pointer to the ov_core_t instance.
* @param model_path Path to a model.
* @param device_name Name of a device to load a model to.
* @param property_args_size How many properties args will be passed, each property contains 2 args: key and value.
Expand All @@ -265,7 +265,7 @@ ov_core_compile_model_from_file_unicode(const ov_core_t* core,
/**
* @brief Sets properties for a device, acceptable keys can be found in ov_property_key_xxx.
* @ingroup ov_core_c_api
* @param core A pointer to the ie_core_t instance.
* @param core A pointer to the ov_core_t instance.
* @param device_name Name of a device.
* @param ... variadic paramaters The format is <char* property_key, char* property_value>.
* Supported property key please see ov_property.h.
Expand All @@ -278,7 +278,7 @@ ov_core_set_property(const ov_core_t* core, const char* device_name, ...);
* @brief Gets properties related to device behaviour.
* The method extracts information that can be set via the set_property method.
* @ingroup ov_core_c_api
* @param core A pointer to the ie_core_t instance.
* @param core A pointer to the ov_core_t instance.
* @param device_name Name of a device to get a property value.
* @param property_key Property key.
* @param property_value A pointer to property value with string format.
Expand All @@ -290,7 +290,7 @@ ov_core_get_property(const ov_core_t* core, const char* device_name, const char*
/**
* @brief Returns devices available for inference.
* @ingroup ov_core_c_api
* @param core A pointer to the ie_core_t instance.
* @param core A pointer to the ov_core_t instance.
* @param devices A pointer to the ov_available_devices_t instance.
* Core objects go over all registered plugins and ask about available devices.
* @return Status code of the operation: OK(0) for success.
Expand Down Expand Up @@ -340,7 +340,7 @@ ov_core_get_versions_by_device_name(const ov_core_t* core, const char* device_na
/**
* @brief Releases memory occupied by ov_core_version_list_t.
* @ingroup ov_core_c_api
* @param versions A pointer to the ie_core_versions to free memory.
* @param versions A pointer to the ov_core_version_list_t to free memory.
*/
OPENVINO_C_API(void)
ov_core_versions_free(ov_core_version_list_t* versions);
Expand Down
4 changes: 2 additions & 2 deletions src/bindings/python/src/openvino/runtime/opset1/ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -1516,7 +1516,7 @@ def lstm_cell(
default_p = make_constant_node(peepholes_array, dtype=data_dtype)
node_inputs.append(default_p)

weights_format = "fico" # IE LSTMWeightsFormat, no such attribute in the OV spec
weights_format = "fico" # OV LSTMWeightsFormat, no such attribute in the OV spec
input_forget = False # nGraph default, no such attribute in the OV spec

attributes = {
Expand Down Expand Up @@ -1602,7 +1602,7 @@ def lstm_sequence(
default_p = make_constant_node(peepholes_array, dtype=data_dtype)
node_inputs.append(default_p)

weights_format = "fico" # IE LSTMWeightsFormat, no such attribute in the OV spec
weights_format = "fico" # OV LSTMWeightsFormat, no such attribute in the OV spec
input_forget = False # nGraph default, no such attribute in the OV spec

attributes = {
Expand Down
2 changes: 1 addition & 1 deletion src/bindings/python/tests/test_graph/test_einsum.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def einsum_op_check(input_shapes: list, equation: str, data_type: np.dtype,
"""Test Einsum operation for given input shapes, equation, and data type.
It generates input data of given shapes and type, receives reference results using numpy,
and tests IE implementation by matching with reference numpy results.
and tests OV implementation by matching with reference numpy results.
:param input_shapes: a list of tuples with shapes
:param equation: Einsum equation
:param data_type: a type of input data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ namespace pass {
namespace low_precision {

/**
* @ingroup ie_transformation_common_api
* @ingroup ov_transformation_common_api
* @brief AddTransformation propagates dequantization subtraction from one input branch to another and
* propagates dequantization multiplication from the same branch through Add operation.
*
* For more details about the transformation, refer to
* [AddTransformation](@ref openvino_docs_OV_UG_lpt_AddTransformation) page
* in the Inference Engine Developer Guide.
* in the OpenVINO Developer Guide.
*/
class LP_TRANSFORMATIONS_API AddTransformation : public EltwiseBaseTransformation {
public:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ class LP_TRANSFORMATIONS_API AlignQuantizationIntervals;
} // namespace ov

/**
* @ingroup ie_transformation_common_api
* @ingroup ov_transformation_common_api
* @brief AlignQuantizationIntervals transformation marks precision preserved operations subgraph by `IntervalsAlignmentAttribute`
* after FakeQuantize operations.
*
* For more details about the transformation, refer to
* [AlignQuantizationIntervals](@ref openvino_docs_OV_UG_lpt_AlignQuantizationIntervals) page
* in the Inference Engine Developer Guide.
* in the OpenVINO Developer Guide.
*/
class ov::pass::low_precision::AlignQuantizationIntervals : public ov::pass::ModelPass {
public:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ class LP_TRANSFORMATIONS_API AlignQuantizationParameters;
} // namespace ov

/**
* @ingroup ie_transformation_common_api
* @ingroup ov_transformation_common_api
* @brief AlignQuantizationParameters transformation marks precision preserved operations subgraph by `QuantizationAlignmentAttribute`
* attribute after FakeQuantize operations.
*
* For more details about the transformation, refer to
* [AlignQuantizationParameters](@ref openvino_docs_OV_UG_lpt_AlignQuantizationParameters) page
* in the Inference Engine Developer Guide.
* in the OpenVINO Developer Guide.
*/
class ov::pass::low_precision::AlignQuantizationParameters : public ov::pass::ModelPass {
public:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ namespace pass {
namespace low_precision {

/**
* @ingroup ie_transformation_common_api
* @ingroup ov_transformation_common_api
* @brief AvgPoolTransformation propagates dequantization operations through AvgPool operation.
*
* For more details about the transformation, refer to
* [AvgPoolTransformation](@ref openvino_docs_OV_UG_lpt_AvgPoolTransformation) page
* in the Inference Engine Developer Guide.
* in the OpenVINO Developer Guide.
*/
class LP_TRANSFORMATIONS_API AvgPoolTransformation : public LayerTransformation {
public:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ namespace pass {
namespace low_precision {

/**
* @ingroup ie_transformation_common_api
* @ingroup ov_transformation_common_api
* @brief BatchToSpaceTransformation propagates dequantization operations through BatchToSpace operation.
*
* For more details about the transformation, refer to
* [BatchToSpaceTransformation](@ref openvino_docs_OV_UG_lpt_BatchToSpaceTransformation) page
* in the Inference Engine Developer Guide.
* in the OpenVINO Developer Guide.
*/
class LP_TRANSFORMATIONS_API BatchToSpaceTransformation : public LayerTransformation {
public:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ namespace pass {
namespace low_precision {

/**
* @ingroup ie_transformation_common_api
* @ingroup ov_transformation_common_api
* @brief ClampTransformation propagates dequantization operations through Clamp operation.
*
* For more details about the transformation, refer to
* [ClampTransformation](@ref openvino_docs_OV_UG_lpt_ClampTransformation) page
* in the Inference Engine Developer Guide.
* in the OpenVINO Developer Guide.
*/
class LP_TRANSFORMATIONS_API ClampTransformation : public LayerTransformation {
public:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespace pass {
namespace low_precision {

/**
* @ingroup ie_transformation_common_api
* @ingroup ov_transformation_common_api
* @brief Base class for cleanup low precision transformation.
*/
class LP_TRANSFORMATIONS_API CleanupTransformation : public LayerTransformation {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ namespace pass {
namespace low_precision {

/**
* @ingroup ie_transformation_common_api
* @ingroup ov_transformation_common_api
* @brief ConcatTransformation propagates dequantization operations through Concat operation.
*
* For more details about the transformation, refer to
* [ConcatTransformation](@ref openvino_docs_OV_UG_lpt_ConcatTransformation) page
* in the Inference Engine Developer Guide.
* in the OpenVINO Developer Guide.
*/
class LP_TRANSFORMATIONS_API ConcatTransformation : public LayerTransformation {
public:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ class LP_TRANSFORMATIONS_API ConvertSubtractConstant;
} // namespace ov

/**
* @ingroup ie_transformation_common_api
* @ingroup ov_transformation_common_api
* @brief ConvertSubtractConstant marks Convert operations on constant subgraph by DISABLED_CONSTANT_FOLDING attribute
* to prevent constant folding.
*
* For more details about the transformation, refer to
* [ConvertSubtractConstant](@ref openvino_docs_OV_UG_lpt_ConvertSubtractConstant) page
* in the Inference Engine Developer Guide.
* in the OpenVINO Developer Guide.
*/
class ov::pass::low_precision::ConvertSubtractConstant : public ov::pass::MatcherPass {
public:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ namespace pass {
namespace low_precision {

/**
* @ingroup ie_transformation_common_api
* @ingroup ov_transformation_common_api
* @brief ConvolutionTransformation propagates dequantization operations through Convolution operation.
*
* For more details about the transformation, refer to
* [ConvolutionTransformation](@ref openvino_docs_OV_UG_lpt_ConvolutionTransformation) page
* in the Inference Engine Developer Guide.
* in the OpenVINO Developer Guide.
*/
class LP_TRANSFORMATIONS_API ConvolutionTransformation : public WeightableLayerTransformation {
public:
Expand Down
Loading

0 comments on commit dfe0699

Please sign in to comment.