From 6ad0e5a1e7fdd050126334d6f28918e0580d634f Mon Sep 17 00:00:00 2001 From: Daria Mityagina Date: Thu, 8 Jun 2023 16:47:40 +0300 Subject: [PATCH] Update comments and help text (#17707) --- samples/cpp/benchmark_app/README.md | 2 +- samples/cpp/benchmark_app/benchmark_app.hpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/samples/cpp/benchmark_app/README.md b/samples/cpp/benchmark_app/README.md index 46f2d8e55fd..ea35571774f 100644 --- a/samples/cpp/benchmark_app/README.md +++ b/samples/cpp/benchmark_app/README.md @@ -193,7 +193,7 @@ Running the application with the ``-h`` or ``--help`` option yields the followin -ip Optional. Specifies precision for all input layers of the model. -op Optional. Specifies precision for all output layers of the model. -iop Optional. Specifies precision for input and output layers by name. - Example: -iop "input:FP16, output:FP16". + Example: -iop "input:f16, output:f16". Notice that quotes are required. Overwrites precision from ip and op options for specified layers. -mean_values [R,G,B] Optional. Mean values to be used for the input image per channel. Values to be provided in the [R,G,B] format. Can be defined for desired input of the model, for example: "--mean_values data[255,255,255],info[255,255,255]". The exact meaning and order of channels depend on how the original model was trained. Applying the values affects performance and may cause type conversion diff --git a/samples/cpp/benchmark_app/benchmark_app.hpp b/samples/cpp/benchmark_app/benchmark_app.hpp index 2dfce4dd603..e168445c61b 100644 --- a/samples/cpp/benchmark_app/benchmark_app.hpp +++ b/samples/cpp/benchmark_app/benchmark_app.hpp @@ -149,7 +149,7 @@ static constexpr char outputs_precision_message[] = "Optional. Specifies precisi static constexpr char iop_message[] = "Optional. Specifies precision for input and output layers by name.\n" - " Example: -iop \"input:FP16, output:FP16\".\n" + " Example: -iop \"input:f16, output:f16\".\n" " Notice that quotes are required.\n" " Overwrites precision from ip and op options for " "specified layers."; @@ -329,7 +329,7 @@ DEFINE_string(ip, "", inputs_precision_message); DEFINE_string(op, "", outputs_precision_message); /// @brief Specify precision for input and output layers by name.\n" -/// Example: -iop \"input:FP16, output:FP16\".\n" +/// Example: -iop \"input:f16, output:f16\".\n" /// Notice that quotes are required.\n" /// Overwrites layout from ip and op options for specified layers."; DEFINE_string(iop, "", iop_message);