Update comments and help text (#17707)
This commit is contained in:
1 parent
385cfee24a
commit
6ad0e5a1e7
2 files changed
+3
-3
No files matched your search
@@ -193,7 +193,7 @@ Running the application with the ``-h`` or ``--help`` option yields the followin
|
||||
-ip <value> Optional. Specifies precision for all input layers of the model.
|
||||
-op <value> Optional. Specifies precision for all output layers of the model.
|
||||
-iop <value> 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
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user