Skip to content

OpenVINO™ is an open source toolkit for optimizing and deploying AI inference

Fix typos in files (#32392)

Pawel Raasz416707060ffc
diff --git a/cmake/developer_package/compile_flags/functions.cmake b/cmake/developer_package/compile_flags/functions.cmake
index a49ae7e2f3e..d8f398a582d 100644
--- a/cmake/developer_package/compile_flags/functions.cmake
+++ b/cmake/developer_package/compile_flags/functions.cmake
@@ -10,7 +10,7 @@ include(CheckCXXSourceCompiles)
# ov_disable_deprecated_warnings()
#
# Disables deprecated warnings generation in current scope (directory, function)
-# Defines ov_c_cxx_deprecated varaible which contains C / C++ compiler flags
+# Defines ov_c_cxx_deprecated variable which contains C / C++ compiler flags
#
macro(ov_disable_deprecated_warnings)
if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
@@ -37,7 +37,7 @@ endmacro()
# ov_deprecated_no_errors()
#
# Don't threat deprecated warnings as errors in current scope (directory, function)
-# Defines ov_c_cxx_deprecated_no_errors varaible which contains C / C++ compiler flags
+# Defines ov_c_cxx_deprecated_no_errors variable which contains C / C++ compiler flags
#
macro(ov_deprecated_no_errors)
if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
diff --git a/cmake/developer_package/cross_compile/find_commands.cmake b/cmake/developer_package/cross_compile/find_commands.cmake
index a632be57a31..45f8b639cad 100644
--- a/cmake/developer_package/cross_compile/find_commands.cmake
+++ b/cmake/developer_package/cross_compile/find_commands.cmake
@@ -46,7 +46,7 @@ if(CMAKE_CROSSCOMPILING AND NOT (OV_ARCH STREQUAL OV_HOST_ARCH AND
# ov_set_if_not_defined(CMAKE_FIND_ROOT_PATH "/usr")
endif()
- # controling CMAKE_FIND_ROOT_PATH usage
+ # controlling CMAKE_FIND_ROOT_PATH usage
ov_set_if_not_defined(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
ov_set_if_not_defined(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
ov_set_if_not_defined(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
diff --git a/cmake/developer_package/download/download_and_extract.cmake b/cmake/developer_package/download/download_and_extract.cmake
index d4fd69d7865..492e91e4959 100644
--- a/cmake/developer_package/download/download_and_extract.cmake
+++ b/cmake/developer_package/download/download_and_extract.cmake
@@ -35,7 +35,7 @@ function (GetNameAndUrlToDownload name url archive_name_unified archive_name_win
endif()
endfunction(GetNameAndUrlToDownload)
-#download from paltform specific folder from share server
+#download from platform specific folder from share server
function (DownloadAndExtractPlatformSpecific
component
archive_name_unified
@@ -113,7 +113,7 @@ function (ExtractWithVersion URL archive_path unpacked_path folder result files_
endfunction (ExtractWithVersion)
function (DownloadOrExtractInternal URL archive_path unpacked_path folder fattal resultExt sha256 files_to_extract)
- debug_message("checking wether archive downloaded : ${archive_path}")
+ debug_message("checking whether archive downloaded : ${archive_path}")
set (downloadStatus "NOTOK")
if (NOT EXISTS ${archive_path})
DownloadAndExtractInternal(${URL} ${archive_path} ${unpacked_path} ${folder} ${fattal} result ${sha256} ${files_to_extract})
diff --git a/cmake/developer_package/packaging/packaging.cmake b/cmake/developer_package/packaging/packaging.cmake
index f4b35ebc406..0575b11ecd9 100644
--- a/cmake/developer_package/packaging/packaging.cmake
+++ b/cmake/developer_package/packaging/packaging.cmake
@@ -217,7 +217,7 @@ function(ov_check_conflicts_versions var_name)
# perform check
if(NOT ov_prev_version IN_LIST ${var_name})
- message(FATAL_ERROR "List ${var_name} (${${var_name}}) does not contain verison ${ov_prev_version}")
+ message(FATAL_ERROR "List ${var_name} (${${var_name}}) does not contain version ${ov_prev_version}")
endif()
endfunction()
diff --git a/cmake/developer_package/python_requirements.cmake b/cmake/developer_package/python_requirements.cmake
index 19a2c6e3674..26a63878716 100644
--- a/cmake/developer_package/python_requirements.cmake
+++ b/cmake/developer_package/python_requirements.cmake
@@ -17,7 +17,7 @@ function(ov_check_pip_package)
)
set(oneValueRequiredArgs
REQUIREMENT # Requirement-specifier to check
- RESULT_VAR # Result varibale to set return code {ON | OFF}
+ RESULT_VAR # Result variable to set return code {ON | OFF}
)
set(multiValueArgs)
@@ -75,7 +75,7 @@ function(ov_check_pip_packages)
)
set(oneValueRequiredArgs
REQUIREMENTS_FILE # File with requirement-specifiers to check
- RESULT_VAR # Result varibale to set return code {ON | OFF}
+ RESULT_VAR # Result variable to set return code {ON | OFF}
)
set(multiValueArgs)
diff --git a/cmake/developer_package/tbb/win/TBBConfig.cmake b/cmake/developer_package/tbb/win/TBBConfig.cmake
index ada582cba29..5c72ca56a73 100644
--- a/cmake/developer_package/tbb/win/TBBConfig.cmake
+++ b/cmake/developer_package/tbb/win/TBBConfig.cmake
@@ -64,7 +64,7 @@ if (WINDOWS_STORE)
set(_tbb_compiler_subdir ${_tbb_compiler_subdir}_ui)
endif()
-#set conveniance variable to locate TBB files (these are used for a PSXE install)
+#set convenience variable to locate TBB files (these are used for a PSXE install)
get_filename_component(_tbb_lib_path "${_tbb_root}/lib/${_tbb_arch_subdir}/${_tbb_compiler_subdir}" ABSOLUTE)
get_filename_component(_tbb_inc_path "${_tbb_root}/include/" ABSOLUTE)
diff --git a/cmake/packaging/debian.cmake b/cmake/packaging/debian.cmake
index 49c1f8e59da..31be58883f6 100644
--- a/cmake/packaging/debian.cmake
+++ b/cmake/packaging/debian.cmake
@@ -208,7 +208,7 @@ macro(ov_cpack_settings)
set(npu_copyright "generic")
# NPU plugin also builds level-zero as thirdparty
- # let's add it to the list of dependency search directories to avoid missing dependncy on libze_loader.so.1
+ # let's add it to the list of dependency search directories to avoid missing dependency on libze_loader.so.1
if(OV_GENERATOR_MULTI_CONFIG)
# $<CONFIG> generator expression does not work in this place, have to add all possible configs
foreach(config IN LISTS CMAKE_CONFIGURATION_TYPES)
@@ -441,7 +441,7 @@ macro(ov_cpack_settings)
# Install latest symlink packages
#
- # NOTE: we expicitly don't add runtime latest packages
+ # NOTE: we explicitly don't add runtime latest packages
# since a user needs to depend on specific VERSIONED runtime package
# with fixed SONAMEs, while latest package can be updated multiple times
# ov_debian_add_latest_component(libraries)
diff --git a/cmake/packaging/rpm.cmake b/cmake/packaging/rpm.cmake
index 428d0755495..d8d3d939f89 100644
--- a/cmake/packaging/rpm.cmake
+++ b/cmake/packaging/rpm.cmake
@@ -407,7 +407,7 @@ macro(ov_cpack_settings)
# Install latest symlink packages
#
- # NOTE: we expicitly don't add runtime latest packages
+ # NOTE: we explicitly don't add runtime latest packages
# since a user needs to depend on specific VERSIONED runtime package
# with fixed SONAMEs, while latest package can be updated multiple times
# ov_rpm_add_latest_component(libraries)
diff --git a/docs/articles_en/assets/snippets/gpu/queue_sharing.cpp b/docs/articles_en/assets/snippets/gpu/queue_sharing.cpp
index 95517af1466..373d7629488 100644
--- a/docs/articles_en/assets/snippets/gpu/queue_sharing.cpp
+++ b/docs/articles_en/assets/snippets/gpu/queue_sharing.cpp
@@ -59,7 +59,7 @@ int main() {
infer_request.start_async();
// execute some postprocessing kernel.
- // infer_request.wait() is not called, synchonization between inference and post-processing is done via
+ // infer_request.wait() is not called, synchronization between inference and post-processing is done via
// enqueueBarrierWithWaitList call.
cl::Kernel kernel_postproc(program, "user_kernel_postproc");
kernel_postproc.setArg(0, shared_out_buffer);
diff --git a/docs/articles_en/assets/snippets/main.py b/docs/articles_en/assets/snippets/main.py
index dd963f839e7..cdd08213a88 100644
--- a/docs/articles_en/assets/snippets/main.py
+++ b/docs/articles_en/assets/snippets/main.py
@@ -27,7 +27,7 @@ def import_python_modules(directory, subdirectory=""):
except AttributeError as e:
pass
- print(f"Snippet {item} succesfully executed.")
+ print(f"Snippet {item} successfully executed.")
if os.path.isdir(os.path.join(directory, item)):
diff --git a/docs/articles_en/assets/snippets/ov_properties_api.cpp b/docs/articles_en/assets/snippets/ov_properties_api.cpp
index e5f1ff7648f..738b50a95fa 100644
--- a/docs/articles_en/assets/snippets/ov_properties_api.cpp
+++ b/docs/articles_en/assets/snippets/ov_properties_api.cpp
@@ -35,7 +35,7 @@ auto nireq = compiled_model.get_property(ov::optimal_number_of_infer_requests);
core.set_property("CPU", ov::hint::performance_mode(ov::hint::PerformanceMode::LATENCY));
// compiled with latency configuration hint
auto compiled_model_latency = core.compile_model(model, "CPU");
-// compiled with overriden ov::hint::performance_mode value
+// compiled with overridden ov::hint::performance_mode value
auto compiled_model_thrp = core.compile_model(model, "CPU",
ov::hint::performance_mode(ov::hint::PerformanceMode::THROUGHPUT));
//! [core_set_property_then_compile]
diff --git a/docs/articles_en/assets/snippets/ov_properties_api.py b/docs/articles_en/assets/snippets/ov_properties_api.py
index 2345a9307b8..46ddab52942 100644
--- a/docs/articles_en/assets/snippets/ov_properties_api.py
+++ b/docs/articles_en/assets/snippets/ov_properties_api.py
@@ -42,7 +42,7 @@ def main():
core.set_property("CPU", {hints.performance_mode: hints.PerformanceMode.LATENCY})
# compiled with latency configuration hint
compiled_model_latency = core.compile_model(model, "CPU")
- # compiled with overriden performance hint value
+ # compiled with overridden performance hint value
config = {hints.performance_mode: hints.PerformanceMode.THROUGHPUT}
compiled_model_thrp = core.compile_model(model, "CPU", config)
# [core_set_property_then_compile]
diff --git a/docs/articles_en/documentation/openvino-extensibility/openvino-plugin-library/advanced-guides/low-precision-transformations.rst b/docs/articles_en/documentation/openvino-extensibility/openvino-plugin-library/advanced-guides/low-precision-transformations.rst
index a2edce2bde9..08672dc9a48 100644
--- a/docs/articles_en/documentation/openvino-extensibility/openvino-plugin-library/advanced-guides/low-precision-transformations.rst
+++ b/docs/articles_en/documentation/openvino-extensibility/openvino-plugin-library/advanced-guides/low-precision-transformations.rst
@@ -421,7 +421,7 @@ If LPT input model operation output has ``fp16`` precision then dequantization c
Customization
#############
-Low Precision Transformations can be customizable. Build-in customization options:
+Low Precision Transformations can be customizable. Built-in customization options:
* operation precision restrictions,
* operation per tensor quantization restrictions,
diff --git a/docs/articles_en/documentation/openvino-ir-format/operation-sets/operation-specs/detection/roi-align-rotated-15.rst b/docs/articles_en/documentation/openvino-ir-format/operation-sets/operation-specs/detection/roi-align-rotated-15.rst
index dc6f9c2d31c..079006c0ec4 100644
--- a/docs/articles_en/documentation/openvino-ir-format/operation-sets/operation-specs/detection/roi-align-rotated-15.rst
+++ b/docs/articles_en/documentation/openvino-ir-format/operation-sets/operation-specs/detection/roi-align-rotated-15.rst
@@ -27,7 +27,7 @@ ROIAlignRotated
The 4 points used for bilinear interpolation are calculated as the closest integer coordinates to the sample point.
As an example, if the sample point is [2.14, 3.56], then the 4 integer points are [2, 3], [2, 4], [3, 3], [3, 4].
-Each ROI box's center is shifted by [-0.5, -0.5] before pooling to achive better alignment with the closest integer coordinates used for bilinear filtering.
+Each ROI box's center is shifted by [-0.5, -0.5] before pooling to achieve better alignment with the closest integer coordinates used for bilinear filtering.
**Attributes**
diff --git a/docs/articles_en/documentation/openvino-ir-format/operation-sets/operation-specs/sequence/gru-cell-3.rst b/docs/articles_en/documentation/openvino-ir-format/operation-sets/operation-specs/sequence/gru-cell-3.rst
index f58418ee923..ef1f7323049 100644
--- a/docs/articles_en/documentation/openvino-ir-format/operation-sets/operation-specs/sequence/gru-cell-3.rst
+++ b/docs/articles_en/documentation/openvino-ir-format/operation-sets/operation-specs/sequence/gru-cell-3.rst
@@ -12,7 +12,7 @@ GRUCell
**Short description**: *GRUCell* represents a single GRU Cell that computes the output using the formula described in the `paper <https://arxiv.org/abs/1406.1078>`__.
-**Detailed description**: *GRUCell* computes the output *Ht* for the current time step based on the followint formula:
+**Detailed description**: *GRUCell* computes the output *Ht* for the current time step based on the following formula:
.. code-block:: sh
diff --git a/docs/articles_en/get-started/learn-openvino/openvino-samples/benchmark-tool.rst b/docs/articles_en/get-started/learn-openvino/openvino-samples/benchmark-tool.rst
index 9b65b93b322..bac83d9c566 100644
--- a/docs/articles_en/get-started/learn-openvino/openvino-samples/benchmark-tool.rst
+++ b/docs/articles_en/get-started/learn-openvino/openvino-samples/benchmark-tool.rst
@@ -390,7 +390,7 @@ available options and parameters:
Optional. Batch size value. If not specified, the batch size value is determined from Intermediate Representation
-shape SHAPE Optional. Set shape for input. For example, "input1[1,3,224,224],input2[1,4]" or "[1,3,224,224]" in case of one input size. This parameter
- affect model Parameter shape, can be dynamic. For dynamic dimesions use symbol `?`, `-1` or range `low.. up`.
+ affect model Parameter shape, can be dynamic. For dynamic dimensions use symbol `?`, `-1` or range `low.. up`.
-data_shape DATA_SHAPE
Optional. Optional if model shapes are all static (original ones or set by -shape).Required if at least one input shape is dynamic and input
@@ -528,7 +528,7 @@ available options and parameters:
-h, --help Print the usage message
-m <path> Required. Path to an .xml/.onnx file with a trained model or to a .blob files with a trained compiled model.
-i <path> Optional. Path to a folder with images and/or binaries or to specific image or binary file.
- In case of dynamic shapes models with several inputs provide the same number of files for each input (except cases with single file for any input) :"input1:1.jpg input2:1.bin", "input1:1.bin,2.bin input2:3.bin input3:4.bin,5.bin ". Also you can pass specific keys for inputs: "random" - for fillling input with random data, "image_info" - for filling input with image size.
+ In case of dynamic shapes models with several inputs provide the same number of files for each input (except cases with single file for any input) :"input1:1.jpg input2:1.bin", "input1:1.bin,2.bin input2:3.bin input3:4.bin,5.bin ". Also you can pass specific keys for inputs: "random" - for filling input with random data, "image_info" - for filling input with image size.
You should specify either one files set to be used for all inputs (without providing input names) or separate files sets for every input of model (providing inputs names).
Currently supported data types: bmp, bin, npy.
If OPENCV is enabled, this functionality is extended with the following data types:
@@ -542,7 +542,7 @@ available options and parameters:
Using explicit 'nstreams' or other device-specific options, please set hint to 'none'
-niter <integer> Optional. Number of iterations. If not specified, the number of iterations is calculated depending on a device.
-max_irate <float> Optional. Maximum inference rate by frame per second.
- If not specified, default value is 0, the inference will run at maximium rate depending on a device capabilities.
+ If not specified, default value is 0, the inference will run at maximum rate depending on a device capabilities.
Tweaking this value allow better accuracy in power usage measurement by limiting the execution.
-t Optional. Time in seconds to execute topology.
diff --git a/docs/articles_en/openvino-workflow/model-optimization-guide/compressing-models-during-training/filter-pruning.rst b/docs/articles_en/openvino-workflow/model-optimization-guide/compressing-models-during-training/filter-pruning.rst
index 2a551d7aa44..b372e11a807 100644
--- a/docs/articles_en/openvino-workflow/model-optimization-guide/compressing-models-during-training/filter-pruning.rst
+++ b/docs/articles_en/openvino-workflow/model-optimization-guide/compressing-models-during-training/filter-pruning.rst
@@ -231,7 +231,7 @@ For more details, see the following `documentation <https://github.com/openvinot
Deploying pruned model
######################
-The pruned model requres an extra step that should be done to get performance improvement. This step involves removal of the
+The pruned model requires an extra step that should be done to get performance improvement. This step involves removal of the
zero filters from the model. This is done at the model conversion step using :doc:`model conversion API <../../model-preparation>` tool when model is converted from the framework representation (ONNX, TensorFlow, etc.) to OpenVINO Intermediate Representation.
* To remove zero filters from the pruned model add the following parameter to the model conversion command: ``transform=Pruning``
diff --git a/docs/articles_en/openvino-workflow/running-inference/optimize-inference/optimizing-memory-usage.rst b/docs/articles_en/openvino-workflow/running-inference/optimize-inference/optimizing-memory-usage.rst
index f7d71530b25..8c9d13490cc 100644
--- a/docs/articles_en/openvino-workflow/running-inference/optimize-inference/optimizing-memory-usage.rst
+++ b/docs/articles_en/openvino-workflow/running-inference/optimize-inference/optimizing-memory-usage.rst
@@ -41,7 +41,7 @@ The most RAM-consuming OpenVINO stage is model compilation. It may cause several
pressure, the following options are available:
* Apply ``malloc_trim(0)``. The function attempts to release free memory even from thread
- caches, so it may signifficantly decrease and stabilize VMRSS usage
+ caches, so it may significantly decrease and stabilize VMRSS usage
* Use glibc ``Tunables``. A couple of promising options are:
``glibc.malloc.trim_threshold`` and `glibc.malloc.arena_max`.
diff --git a/docs/sphinx_setup/api/nodejs_api/openvino-node/interfaces/Tensor.rst b/docs/sphinx_setup/api/nodejs_api/openvino-node/interfaces/Tensor.rst
index 8e51702aa1b..382262bcdbf 100644
--- a/docs/sphinx_setup/api/nodejs_api/openvino-node/interfaces/Tensor.rst
+++ b/docs/sphinx_setup/api/nodejs_api/openvino-node/interfaces/Tensor.rst
@@ -40,7 +40,7 @@ Properties
content of the ``TypedArray`` subclass is a copy of the tensor underlaying
memory.
- Its setter fills the underlaying tensor memory by copying the binary data
+ Its setter fills the underlying tensor memory by copying the binary data
buffer from the ``TypedArray`` subclass. An exception will be thrown if the size
or type of array does not match the tensor.
diff --git a/samples/cpp/benchmark_app/benchmark_app.hpp b/samples/cpp/benchmark_app/benchmark_app.hpp
index 5c0f0341417..d11e5a0b4a0 100644
--- a/samples/cpp/benchmark_app/benchmark_app.hpp
+++ b/samples/cpp/benchmark_app/benchmark_app.hpp
@@ -19,7 +19,7 @@ static const char input_message[] =
" In case of dynamic shapes models with several inputs provide the same number"
" of files for each input (except cases with single file for any input):"
"\"input1:1.jpg input2:1.bin\", \"input1:1.bin,2.bin input2:3.bin input3:4.bin,5.bin \"."
- " Also you can pass specific keys for inputs: \"random\" - for fillling input with random data,"
+ " Also you can pass specific keys for inputs: \"random\" - for filling input with random data,"
" \"image_info\" - for filling input with image size.\n"
" You should specify either one files set to be used for all inputs (without "
"providing "
@@ -68,7 +68,7 @@ static const char load_from_file_message[] = "Optional. Loads model from file di
/// @brief message for maximum inference rate
static const char maximum_inference_rate_message[] =
"Optional. Maximum inference rate by frame per second"
- "If not specified, default value is 0, the inference will run at maximium rate depending on a device capabilities. "
+ "If not specified, default value is 0, the inference will run at maximum rate depending on a device capabilities. "
"Tweaking this value allow better accuracy in power usage measurement by limiting the execution.";
/// @brief message for execution time
@@ -329,7 +329,7 @@ DEFINE_string(infer_precision, "", inference_precision_message);
/// @brief Specify precision for all input layers of the network
DEFINE_string(ip, "", inputs_precision_message);
-/// @brief Specify precision for all ouput layers of the network
+/// @brief Specify precision for all output layers of the network
DEFINE_string(op, "", outputs_precision_message);
/// @brief Specify precision for input and output layers by name.\n"
@@ -351,7 +351,7 @@ DEFINE_uint64(nthreads, 0, infer_num_threads_message);
// @brief Enable plugin messages
DEFINE_string(pin, "", infer_threads_pinning_message);
-/// @brief Define flag for switching beetwen host and device memory allocation for input and output buffers
+/// @brief Define flag for switching between host and device memory allocation for input and output buffers
DEFINE_bool(use_device_mem, false, use_device_mem_message);
/// @brief The percentile which will be reported in latency metric
diff --git a/samples/cpp/benchmark_app/main.cpp b/samples/cpp/benchmark_app/main.cpp
index 928ed621d4c..7f90d31707f 100644
--- a/samples/cpp/benchmark_app/main.cpp
+++ b/samples/cpp/benchmark_app/main.cpp
@@ -159,7 +159,7 @@ bool parse_and_check_command_line(int argc, char* argv[]) {
}
if (FLAGS_hint != "none" && (FLAGS_nstreams != "" || FLAGS_nthreads != 0 || FLAGS_pin != "")) {
throw std::logic_error("-nstreams, -nthreads and -pin options are fine tune options. To use them you "
- "should explicitely set -hint option to none. This is not OpenVINO limitation "
+ "should explicitly set -hint option to none. This is not OpenVINO limitation "
"(those options can be used in OpenVINO together), but a benchmark_app UI rule.");
}
if (!FLAGS_report_type.empty() && FLAGS_report_type != noCntReport && FLAGS_report_type != averageCntReport &&
@@ -294,9 +294,8 @@ void warn_if_no_batch(const benchmark_app::InputsInfo& first_inputs) {
[](const std::pair<const std::string, benchmark_app::InputInfo>& info) {
return ov::layout::has_batch(info.second.layout);
})) {
- slog::warn
- << "No batch dimension was found, asssuming batch to be 1. Beware: this might affect FPS calculation."
- << slog::endl;
+ slog::warn << "No batch dimension was found, assuming batch to be 1. Beware: this might affect FPS calculation."
+ << slog::endl;
}
}
@@ -456,7 +455,7 @@ int main(int argc, char* argv[]) {
// Remove the hardware devices if AUTO/MULTI/HETERO appears in the devices list.
if (is_virtual) {
devices.clear();
- // Parse out the currect virtual device as the target device.
+ // Parse out the current virtual device as the target device.
std::string virtual_device = split(device_name, ':').at(0);
auto iter_virtual = std::find(hardware_devices.begin(), hardware_devices.end(), virtual_device);
hardware_devices.erase(iter_virtual);
diff --git a/samples/cpp/benchmark_app/utils.cpp b/samples/cpp/benchmark_app/utils.cpp
index 798b51bedaf..2aa830815f7 100644
--- a/samples/cpp/benchmark_app/utils.cpp
+++ b/samples/cpp/benchmark_app/utils.cpp
@@ -290,7 +290,7 @@ size_t get_batch_size(const benchmark_app::InputsInfo& inputs_info) {
if (batch_size == 0)
batch_size = info.second.batch();
else if (batch_size != info.second.batch())
- throw std::logic_error("Can't deterimine batch size: batch is "
+ throw std::logic_error("Can't determine batch size: batch is "
"different for different inputs!");
}
}
diff --git a/samples/cpp/hello_reshape_ssd/main.cpp b/samples/cpp/hello_reshape_ssd/main.cpp
index e241a5357a1..632154f1bb0 100644
--- a/samples/cpp/hello_reshape_ssd/main.cpp
+++ b/samples/cpp/hello_reshape_ssd/main.cpp
@@ -121,7 +121,7 @@ int main(int argc, char* argv[]) {
// 6) declare output element type as FP32
output_info.tensor().set_element_type(ov::element::f32);
- // 7) Apply preprocessing modifing the original 'model'
+ // 7) Apply preprocessing modifying the original 'model'
model = ppp.build();
// clang-format on
// -------------------------------------------------------------------
diff --git a/samples/js/node/helpers.js b/samples/js/node/helpers.js
index 5d56d4c60a7..d812b54abd0 100644
--- a/samples/js/node/helpers.js
+++ b/samples/js/node/helpers.js
@@ -60,7 +60,7 @@ async function downloadFile(url, filename, destination) {
return new Promise((resolve, reject) => {
file.on('error', e => {
- reject(`Error oppening file stream: ${e}`);
+ reject(`Error opening file stream: ${e}`);
});
const getRequest = module.get(url, { agent }, res => {
diff --git a/samples/python/classification_sample_async/classification_sample_async.py b/samples/python/classification_sample_async/classification_sample_async.py
index d42638c63fa..03768e1a338 100755
--- a/samples/python/classification_sample_async/classification_sample_async.py
+++ b/samples/python/classification_sample_async/classification_sample_async.py
@@ -93,7 +93,7 @@ def main() -> int:
# - precision of tensor is supposed to be 'f32'
ppp.output().tensor().set_element_type(ov.Type.f32)
- # 4) Apply preprocessing modifing the original 'model'
+ # 4) Apply preprocessing modifying the original 'model'
model = ppp.build()
# --------------------------- Step 4. Set up input --------------------------------------------------------------------
diff --git a/samples/python/hello_reshape_ssd/hello_reshape_ssd.py b/samples/python/hello_reshape_ssd/hello_reshape_ssd.py
index 01cdbbc4c4f..99640256715 100755
--- a/samples/python/hello_reshape_ssd/hello_reshape_ssd.py
+++ b/samples/python/hello_reshape_ssd/hello_reshape_ssd.py
@@ -69,7 +69,7 @@ def main():
# - precision of tensor is supposed to be 'f32'
ppp.output().tensor().set_element_type(ov.Type.f32)
- # 4) Apply preprocessing modifing the original 'model'
+ # 4) Apply preprocessing modifying the original 'model'
model = ppp.build()
# ---------------------------Step 4. Loading model to the device-------------------------------------------------------
diff --git a/samples/python/model_creation_sample/model_creation_sample.py b/samples/python/model_creation_sample/model_creation_sample.py
index 2bfd2f92783..d192b2251f9 100755
--- a/samples/python/model_creation_sample/model_creation_sample.py
+++ b/samples/python/model_creation_sample/model_creation_sample.py
@@ -154,7 +154,7 @@ def main():
# - precision of tensor is supposed to be 'f32'
ppp.output().tensor().set_element_type(ov.Type.f32)
- # 4) Apply preprocessing modifing the original 'model'
+ # 4) Apply preprocessing modifying the original 'model'
model = ppp.build()
# Set a batch size equal to number of input images
diff --git a/scripts/utils/utils.py b/scripts/utils/utils.py
index be9a3af69fe..17098d63be9 100644
--- a/scripts/utils/utils.py
+++ b/scripts/utils/utils.py
@@ -42,13 +42,13 @@ class Automation:
if git_hash_short == "0":
git_hash_short = subprocess.check_output(["git", "rev-parse", "--short", "HEAD"]).decode("utf-8").strip(
"\n")
- verson = "{0}.{1}.{2}.{3}".format(major_version, minor_version, build_number, git_hash_short)
+ version = "{0}.{1}.{2}.{3}".format(major_version, minor_version, build_number, git_hash_short)
timestamp = datetime.now().strftime("%I:%M%p %B %d, %Y")
with open(os.path.join(dst_path, "version.txt"), 'w') as f:
f.write(timestamp + '\n')
- f.write(verson + '\n')
+ f.write(version + '\n')
f.write(git_hash + '\n')
- return verson
+ return version
@staticmethod
def make_tarfile(out_file_name, source_dir):
diff --git a/src/tests/ov_helpers/ov_snippets_models/include/subgraph_simple.hpp b/src/tests/ov_helpers/ov_snippets_models/include/subgraph_simple.hpp
index 631b060f074..5fa9bc796c2 100644
--- a/src/tests/ov_helpers/ov_snippets_models/include/subgraph_simple.hpp
+++ b/src/tests/ov_helpers/ov_snippets_models/include/subgraph_simple.hpp
@@ -155,7 +155,7 @@ public:
"Only 4D input shapes are currently supported by this test");
// todo:
// Note that single-element constant are not supported by the test, since they'll be converted
- // to snippets::op::Scalar. So a more comlex logics is required to produce reference function.
+ // to snippets::op::Scalar. So a more complex logics is required to produce reference function.
OPENVINO_ASSERT(input_shapes[0][1] == input_shapes[1][1], "Channel dimensions must be equal and != 1");
OPENVINO_ASSERT(input_shapes[0].is_static() && input_shapes[1].is_static(), "This test supports only static shapes");
}
diff --git a/src/tests/test_utils/common_test_utils/src/ov_plugin_cache.cpp b/src/tests/test_utils/common_test_utils/src/ov_plugin_cache.cpp
index 439a35484ed..fb202693c21 100644
--- a/src/tests/test_utils/common_test_utils/src/ov_plugin_cache.cpp
+++ b/src/tests/test_utils/common_test_utils/src/ov_plugin_cache.cpp
@@ -69,7 +69,7 @@ ov::Core create_core(const std::string& in_target_device) {
ov_core.set_property(config_device, global_plugin_config);
} catch (...) {
OPENVINO_THROW("Property " + property.first +
- ", which was tryed to set in --config file, is not supported by " + target_device);
+ ", which was tried to set in --config file, is not supported by " + target_device);
}
}
}
diff --git a/src/tests/test_utils/common_test_utils/src/postgres_helpers.cpp b/src/tests/test_utils/common_test_utils/src/postgres_helpers.cpp
index 74861d36e16..f12a3989219 100644
--- a/src/tests/test_utils/common_test_utils/src/postgres_helpers.cpp
+++ b/src/tests/test_utils/common_test_utils/src/postgres_helpers.cpp
@@ -51,7 +51,7 @@ PGresultHolder PostgreSQLConnection::common_query(const char* query) {
// free a machine. Otherwise we will lose all results.
if (result.get() == nullptr) {
try_reconnect();
- // If reconnection attempt was successfull - let's try to set new query
+ // If reconnection attempt was successful - let's try to set new query
if (m_is_connected) {
result.reset(PQexec(this->m_active_connection, query));
}
@@ -153,7 +153,7 @@ PostgreSQLConnection::~PostgreSQLConnection(void) {
/// \brief Initialization of exact object. Uses environment variable PGQL_ENV_CONN_NAME for making a connection.
/// \returns Returns false in case of failure or absence of ENV-variable.
-/// Returns true in case of connection has been succesfully established.
+/// Returns true in case of connection has been successfully established.
bool PostgreSQLConnection::initialize(void) {
if (this->m_active_connection != nullptr) {
std::cerr << PG_WRN << "PostgreSQL connection is already established.\n";
@@ -542,7 +542,7 @@ bool parse_test_name(const char* line, std::map<std::string, std::string>& keyVa
std::string paramName;
- // Looking for '/' as a delimeter between group name and parameters
+ // Looking for '/' as a delimiter between group name and parameters
const char *ptr = line, *grpNameEnd = nullptr;
while (*ptr != 0 && *ptr != '/')
++ptr;
@@ -559,19 +559,19 @@ bool parse_test_name(const char* line, std::map<std::string, std::string>& keyVa
while (*ptr != 0) { // Do until line ends
while (*ptr != 0 && *ptr != '=')
- ++ptr; // find key=value delimeter or EOL
+ ++ptr; // find key=value delimiter or EOL
if (paramNameStart == ptr)
break; // break if nothing found
paramName = std::string(paramNameStart, ptr - paramNameStart); // store parameter name
- if (*ptr == '=') { // if we found a key=value delimeter (not EOL)
+ if (*ptr == '=') { // if we found a key=value delimiter (not EOL)
paramValueStart = ++ptr; // start looking for value after '=' char
while (*ptr != 0) { // try to find a value end
- if (*ptr == '(') // braket found - ignores key=value delimeter until string end or all closing braket
+ if (*ptr == '(') // bracket found - ignores key=value delimiter until string end or all closing bracket
// will be found
++bkt;
- else if (*ptr == ')') // closing braket found - decrease breaket counter
+ else if (*ptr == ')') // closing bracket found - decrease bracket counter
--bkt;
- else if (*ptr == '=' && bkt == 0) // stop on key=value delimeter only outside of brakets
+ else if (*ptr == '=' && bkt == 0) // stop on key=value delimiter only outside of brackets
break;
++ptr;
}
@@ -580,9 +580,9 @@ bool parse_test_name(const char* line, std::map<std::string, std::string>& keyVa
while (ptr > paramValueStart && (*(ptr - 1) == '_' || *(ptr - 1) < 0x20))
--ptr;
add_pair(keyValues, std::string(paramName), std::string(paramValueStart, ptr - paramValueStart));
- } else if (*ptr == '=') { // if we stopped by item's delimeter (paramN=valueN_paramN+1=valueN+1)
+ } else if (*ptr == '=') { // if we stopped by item's delimiter (paramN=valueN_paramN+1=valueN+1)
// Because we have params which contains underscore, this algorithm may interpret '_' wrong. Best way -
- // prohibit usage of '_' in param names, or change item's delimeter '_' to another one. In such case
+ // prohibit usage of '_' in param names, or change item's delimiter '_' to another one. In such case
// this part of code should be removed
auto excCheckLambda = [ptr, paramValueStart](const std::string& exc) {
size_t len = exc.length();
diff --git a/src/tests/test_utils/functional_test_utils/layer_tests_summary/conformance_helper_tools/compare_subgraph_dir.py b/src/tests/test_utils/functional_test_utils/layer_tests_summary/conformance_helper_tools/compare_subgraph_dir.py
index 8fe44fac31f..e034a14a6fc 100644
--- a/src/tests/test_utils/functional_test_utils/layer_tests_summary/conformance_helper_tools/compare_subgraph_dir.py
+++ b/src/tests/test_utils/functional_test_utils/layer_tests_summary/conformance_helper_tools/compare_subgraph_dir.py
@@ -11,7 +11,7 @@ def parse_arguments():
parser = ArgumentParser()
origin_help = "Path to output subgraphs dir"
- ref_help = "Path to refence subgraphs dir"
+ ref_help = "Path to reference subgraphs dir"
parser.add_argument("-o", "--origin", help=origin_help, required=True)
parser.add_argument("-r", "--reference", help=ref_help, required=True)
diff --git a/src/tests/test_utils/functional_test_utils/layer_tests_summary/highlight_tables.py b/src/tests/test_utils/functional_test_utils/layer_tests_summary/highlight_tables.py
index 1f3fb5932e3..f4c64c38b21 100644
--- a/src/tests/test_utils/functional_test_utils/layer_tests_summary/highlight_tables.py
+++ b/src/tests/test_utils/functional_test_utils/layer_tests_summary/highlight_tables.py
@@ -30,7 +30,7 @@ def parse_arguments():
output_folder_help = "Output report folder"
expected_devices_help = "List of expected devices"
expected_test_mode_help = """
- Test mode like static, dymanic or ov_api_conformance_tests,
+ Test mode like static, dynamic or ov_api_conformance_tests,
it will be defined by path
If script will found xml, but path will not include test_mode,
script will save result in Other.
@@ -38,12 +38,12 @@ def parse_arguments():
report_tag_help = "Report tag"
report_version_help = "Report version"
current_commit_help = """
- Commit hash of current repo state, which was specifyed in --current_xmls.
+ Commit hash of current repo state, which was specified in --current_xmls.
This state will be used as main source for creating highlite table.
"""
prev_commit_help = """
- Commit hash of previos repo state, which was specifyed in --prev_xmls.
- This state will be used for comparing with curent results and showing changes.
+ Commit hash of previous repo state, which was specified in --prev_xmls.
+ This state will be used for comparing with current results and showing changes.
"""
parser.add_argument('--current_xmls', help=xml_help, required=True)
diff --git a/src/tests/test_utils/functional_test_utils/layer_tests_summary/rename_conformance_ir.py b/src/tests/test_utils/functional_test_utils/layer_tests_summary/rename_conformance_ir.py
index d0797a59fa4..5f60447cb5b 100644
--- a/src/tests/test_utils/functional_test_utils/layer_tests_summary/rename_conformance_ir.py
+++ b/src/tests/test_utils/functional_test_utils/layer_tests_summary/rename_conformance_ir.py
@@ -29,7 +29,7 @@ except:
env = set_env_variable(env, "PYTHONPATH", py_ov)
env = set_env_variable(env, LD_LIB_PATH_NAME, ov_bin_path)
- logger.warning("Set the following env varibles to rename conformance ir based on hash: ")
+ logger.warning("Set the following env variables to rename conformance ir based on hash: ")
logger.warning(f'PYTHONPATH={env["PYTHONPATH"]}')
logger.warning(f'{LD_LIB_PATH_NAME}={env[LD_LIB_PATH_NAME]}')
exit(0)
diff --git a/src/tests/test_utils/functional_test_utils/layer_tests_summary/run_parallel.py b/src/tests/test_utils/functional_test_utils/layer_tests_summary/run_parallel.py
index fb9fce49916..0a4346f77d1 100644
--- a/src/tests/test_utils/functional_test_utils/layer_tests_summary/run_parallel.py
+++ b/src/tests/test_utils/functional_test_utils/layer_tests_summary/run_parallel.py
@@ -207,7 +207,7 @@ class TaskManager:
def init_worker(self):
if len(self._command_list) <= self._idx:
logger.warning(
- "Skip worker initialiazation. Command list lenght <= worker index"
+ "Skip worker initialiazation. Command list length <= worker index"
)
return
if self._device_cnt == 0:
@@ -313,7 +313,7 @@ class TaskManager:
# logger.info(f"Process {pid} takes {float((datetime.datetime.now() - self._timers[pid]).total_seconds())}")
self._process_list.pop(pid)
logger.info(
- f"Compeleting processes: Active process counter: {len(self._process_list)}..."
+ f"Completing processes: Active process counter: {len(self._process_list)}..."
)
break
except TimeoutExpired:
@@ -432,7 +432,7 @@ class TestParallelRunner:
try:
os.remove(test_list_file_name)
except Exception as err:
- logger.warning(f"Imposible to remove {test_list_file_name}. Error: {err}")
+ logger.warning(f"Impossible to remove {test_list_file_name}. Error: {err}")
command_to_get_test_list = self._command + f' --gtest_list_tests > {test_list_file_name}'
logger.info(f"Get test list using command: {command_to_get_test_list}")
run_res = run(command_to_get_test_list, check=True, shell=True)
@@ -723,7 +723,7 @@ class TestParallelRunner:
def postprocess_logs(self):
test_results = {}
- logger.info("Log analize is started")
+ logger.info("Log analysis is started")
saved_tests = []
interapted_tests = set()
INTERAPTED_DIR = "interapted"
diff --git a/src/tests/test_utils/functional_test_utils/layer_tests_summary/utils/get_available_devices.py b/src/tests/test_utils/functional_test_utils/layer_tests_summary/utils/get_available_devices.py
index 43f24bbecf4..f10ee0b2d56 100644
--- a/src/tests/test_utils/functional_test_utils/layer_tests_summary/utils/get_available_devices.py
+++ b/src/tests/test_utils/functional_test_utils/layer_tests_summary/utils/get_available_devices.py
@@ -23,7 +23,7 @@ except:
env = set_env_variable(env, "PYTHONPATH", py_ov)
env = set_env_variable(env, LD_LIB_PATH_NAME, ov_bin_path)
- logger.warning("Set the following env varibles to rename conformance ir based on hash: ")
+ logger.warning("Set the following env variables to rename conformance ir based on hash: ")
logger.warning(f'PYTHONPATH={env["PYTHONPATH"]}')
logger.warning(f'{LD_LIB_PATH_NAME}={env[LD_LIB_PATH_NAME]}')
exit(0)
diff --git a/src/tests/test_utils/functional_test_utils/src/crash_handler.cpp b/src/tests/test_utils/functional_test_utils/src/crash_handler.cpp
index 25769df69e3..d70ca622406 100644
--- a/src/tests/test_utils/functional_test_utils/src/crash_handler.cpp
+++ b/src/tests/test_utils/functional_test_utils/src/crash_handler.cpp
@@ -26,7 +26,7 @@ typedef _crt_signal_t sighandler;
typedef sighandler_t sighandler;
#endif
-// enviroment to restore in case of crash
+// environment to restore in case of crash
jmp_buf env;
unsigned int CrashHandler::MAX_TEST_WORK_TIME = UINT_MAX;
bool CrashHandler::IGNORE_CRASH = false;
@@ -40,7 +40,7 @@ CrashHandler::CrashHandler(CONFORMANCE_TYPE type) {
sighandler crashHandler = [](int errCode) {
std::cerr << "Unexpected application crash with code: " << errCode << std::endl;
- // reset custom signal handler to avoid infinit loop
+ // reset custom signal handler to avoid infinite loop
// if for some reasons sigsetjmp will not be available
signal(SIGABRT, SIG_DFL);
signal(SIGSEGV, SIG_DFL);
@@ -77,7 +77,7 @@ CrashHandler::CrashHandler(CONFORMANCE_TYPE type) {
std::cerr << "Unexpected application crash with code: " << errCode << ". Program will aborted."
<< std::endl;
- // reset custom signal handler to avoid infinit loop
+ // reset custom signal handler to avoid infinite loop
// if for some reasons sigsetjmp will not be available
signal(SIGABRT, SIG_DFL);
signal(SIGSEGV, SIG_DFL);
@@ -105,7 +105,7 @@ CrashHandler::CrashHandler(CONFORMANCE_TYPE type) {
}
CrashHandler::~CrashHandler() {
- // reset custom signal handler to avoid infinit loop
+ // reset custom signal handler to avoid infinite loop
signal(SIGABRT, SIG_DFL);
signal(SIGSEGV, SIG_DFL);
signal(SIGILL, SIG_DFL);