diff --git a/samples/cpp/benchmark_app/utils.cpp b/samples/cpp/benchmark_app/utils.cpp index 2983711431d..5a6391ab76f 100644 --- a/samples/cpp/benchmark_app/utils.cpp +++ b/samples/cpp/benchmark_app/utils.cpp @@ -28,7 +28,7 @@ namespace benchmark_app { bool InputInfo::is_image() const { if ((layout != "NCHW") && (layout != "NHWC") && (layout != "CHW") && (layout != "HWC")) return false; - // If tensor_shape is still empty, assume this is still an Image and tensor shape will be filled later + // If data_shape is still empty, assume this is still an Image and tensor shape will be filled later return (dataShape.empty() || channels() == 3); } bool InputInfo::is_image_info() const { @@ -406,7 +406,7 @@ std::vector get_inputs_info(const std::string& shape_ throw std::logic_error( "Shapes number for every input should be either 1 or should be equal to shapes number of other inputs"); } - slog::info << "Number of test configurations is calculated basing on -tensor_shape parameter" << slog::endl; + slog::info << "Number of test configurations is calculated basing on -data_shape parameter" << slog::endl; } else if (fileNames.size() > 0) { slog::info << "Number of test configurations is calculated basing on number of input images" << slog::endl; min_size = std::min_element(fileNames.begin(), @@ -511,7 +511,7 @@ std::vector get_inputs_info(const std::string& shape_ if (contains_binaries(namesVector)) { throw std::logic_error("Input files list for input " + item.get_any_name() + " contains binary file(s) and input shape is dynamic. Tensor shape should " - "be defined explicitly (using -tensor_shape)."); + "be defined explicitly (using -data_shape)."); } info.dataShape = ov::Shape(info.partialShape.size(), 0); @@ -538,12 +538,12 @@ std::vector get_inputs_info(const std::string& shape_ if (fileIdx >= namesVector.size()) { throw std::logic_error( "Not enough files to fill in full batch (number of files should be a multiple of batch " - "size if -tensor_shape parameter is omitted and shape is dynamic)"); + "size if -data_shape parameter is omitted and shape is dynamic)"); } FormatReader::ReaderPtr reader(namesVector[fileIdx].c_str()); if ((w && w != reader->width()) || (h && h != reader->height())) { throw std::logic_error("Image sizes putting into one batch should be of the same size if input " - "shape is dynamic and -tensor_shape is omitted. Problem file: " + + "shape is dynamic and -data_shape is omitted. Problem file: " + namesVector[fileIdx]); } w = reader->width(); diff --git a/samples/cpp/benchmark_app/utils.hpp b/samples/cpp/benchmark_app/utils.hpp index 79348a44154..2bd1fdadab8 100644 --- a/samples/cpp/benchmark_app/utils.hpp +++ b/samples/cpp/benchmark_app/utils.hpp @@ -78,14 +78,14 @@ std::map> parse_input_parameters(const std /// command-line shape string /// command-line layout string /// command-line batch string -/// command-line tensor_shape string +/// command-line data_shape string /// command-line iscale string /// command-line imean string /// inputs vector obtained from ov::Model /// returns true to this parameter if reshape is required /// vector of benchmark_app::InputsInfo elements. /// Each element is a configuration item for every test configuration case -/// (number of cases is calculated basing on tensor_shape and other parameters). +/// (number of cases is calculated basing on data_shape and other parameters). /// Each element is a map (input_name, configuration) containing data for each input std::vector get_inputs_info(const std::string& shape_string, const std::string& layout_string, @@ -103,14 +103,14 @@ std::vector get_inputs_info(const std::string& shape_ /// command-line shape string /// command-line layout string /// command-line batch string -/// command-line tensor_shape string +/// command-line data_shape string /// command-line iscale string /// command-line imean string /// inputs vector obtained from ov::Model /// returns true to this parameter if reshape is required /// vector of benchmark_app::InputsInfo elements. /// Each element is a configuration item for every test configuration case -/// (number of cases is calculated basing on tensor_shape and other parameters). +/// (number of cases is calculated basing on data_shape and other parameters). /// Each element is a map (input_name, configuration) containing data for each /// input std::vector get_inputs_info(const std::string& shape_string,