diff options
author | Jan Eilers <jan.eilers@arm.com> | 2021-09-07 12:46:15 +0100 |
---|---|---|
committer | Jan Eilers <jan.eilers@arm.com> | 2021-09-13 10:05:00 +0100 |
commit | 284b5d19c8cf446b7eec16ea560c544ac39008c1 (patch) | |
tree | 8a4d34db3fff091bacd15b004b9c6e6e4b8248ba /tests/ExecuteNetwork/ExecuteNetworkProgramOptions.cpp | |
parent | 65d5d2ddf77c69e76643e40440aa986defe6d0d7 (diff) | |
download | armnn-284b5d19c8cf446b7eec16ea560c544ac39008c1.tar.gz |
Add 'do-not-print-output' option to ExNet
Signed-off-by: Jan Eilers <jan.eilers@arm.com>
Change-Id: I10fb010ee8d3f813d2264cefb526f352e30d7046
Diffstat (limited to 'tests/ExecuteNetwork/ExecuteNetworkProgramOptions.cpp')
-rw-r--r-- | tests/ExecuteNetwork/ExecuteNetworkProgramOptions.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/ExecuteNetwork/ExecuteNetworkProgramOptions.cpp b/tests/ExecuteNetwork/ExecuteNetworkProgramOptions.cpp index 927d804725..b1c87d088a 100644 --- a/tests/ExecuteNetwork/ExecuteNetworkProgramOptions.cpp +++ b/tests/ExecuteNetwork/ExecuteNetworkProgramOptions.cpp @@ -254,6 +254,11 @@ ProgramOptions::ProgramOptions() : m_CxxOptions{"ExecuteNetwork", "Add unsupported operators as stand-in layers (where supported by parser)", cxxopts::value<bool>(m_ExNetParams.m_ParseUnsupported)->default_value("false")->implicit_value("true")) + ("do-not-print-output", + "The default behaviour of ExecuteNetwork is to print the resulting outputs on the console. " + "This behaviour can be changed by adding this flag to your command.", + cxxopts::value<bool>(m_ExNetParams.m_DontPrintOutputs)->default_value("false")->implicit_value("true")) + ("q,quantize-input", "If this option is enabled, all float inputs will be quantized as appropriate for the model's inputs. " "If unset, default to not quantized. Accepted values (true or false)", |