diff options
author | Mike Kelly <mike.kelly@arm.com> | 2021-07-21 09:42:43 +0100 |
---|---|---|
committer | mike.kelly <mike.kelly@arm.com> | 2021-07-26 08:56:53 +0000 |
commit | d7ed6d4e53a877a25fcea754d76c8831451f18f1 (patch) | |
tree | 74edb3b7cdc991232bb8f8577ae2fd89dfc95b0a /tests/ExecuteNetwork/ExecuteNetworkProgramOptions.cpp | |
parent | 4adf0de1f2380c215b7d6f643afe04ef4366df1e (diff) | |
download | armnn-d7ed6d4e53a877a25fcea754d76c8831451f18f1.tar.gz |
GitHub #557 wrong result in int8 modelexperimental/CustomAllocator3
* Added support for qasymms8 (int8) to ImageTensorGenerator
* Added qasymmu8 as alias for qasymm8 in ImageTensorGenerator
* Added support for qasymms8 (int8) to ExecuteNetwork
* Added qasymmu8 as alias for qasymm8 in ExecuteNetwork
* Set tflite to be the default model format in ImageTensorGenerator as
it's the only supported model format.
Signed-off-by: Mike Kelly <mike.kelly@arm.com>
Change-Id: Ieda7b78e668ea390e3565cd65a41fe0a9c8a5b83
Diffstat (limited to 'tests/ExecuteNetwork/ExecuteNetworkProgramOptions.cpp')
-rw-r--r-- | tests/ExecuteNetwork/ExecuteNetworkProgramOptions.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/ExecuteNetwork/ExecuteNetworkProgramOptions.cpp b/tests/ExecuteNetwork/ExecuteNetworkProgramOptions.cpp index 25ddecf3ba..b12547f51c 100644 --- a/tests/ExecuteNetwork/ExecuteNetworkProgramOptions.cpp +++ b/tests/ExecuteNetwork/ExecuteNetworkProgramOptions.cpp @@ -232,7 +232,7 @@ ProgramOptions::ProgramOptions() : m_CxxOptions{"ExecuteNetwork", cxxopts::value<bool>(m_ExNetParams.m_ParseUnsupported)->default_value("false")->implicit_value("true")) ("q,quantize-input", - "If this option is enabled, all float inputs will be quantized to qasymm8. " + "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)", cxxopts::value<bool>(m_ExNetParams.m_QuantizeInput)->default_value("false")->implicit_value("true")) @@ -264,13 +264,13 @@ ProgramOptions::ProgramOptions() : m_CxxOptions{"ExecuteNetwork", ("y,input-type", "The type of the input tensors in the network separated by comma. " "If unset, defaults to \"float\" for all defined inputs. " - "Accepted values (float, int or qasymm8).", + "Accepted values (float, int, qasymms8 or qasymmu8).", cxxopts::value<std::string>()) ("z,output-type", "The type of the output tensors in the network separated by comma. " "If unset, defaults to \"float\" for all defined outputs. " - "Accepted values (float, int or qasymm8).", + "Accepted values (float, int, qasymms8 or qasymmu8).", cxxopts::value<std::string>()) ("T,tflite-executor", |