aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMatthew Sloyan <matthew.sloyan@arm.com>2021-01-12 16:19:43 +0000
committerKevin May <kevin.may@arm.com>2021-01-15 15:18:31 +0000
commit9d7a332e76cf861bc91be4e68d031de67ea468ae (patch)
tree27678095164f84384a06d31d6a63dd1aad340547 /tests
parent13816cd35c631110d55708c5617b5f3a303dc29c (diff)
downloadarmnn-9d7a332e76cf861bc91be4e68d031de67ea468ae.tar.gz
IVGCVSW-5644 Add documentation for cache loaded network
* Added ModelOptions documentation to CLBackendModelContext * Improved options descriptions in ExecuteNetworkProgramOptions.cpp Signed-off-by: Matthew Sloyan <matthew.sloyan@arm.com> Change-Id: I14f0c8bb4f299809b89f49c616b691e2f7956d5b
Diffstat (limited to 'tests')
-rw-r--r--tests/ExecuteNetwork/ExecuteNetworkProgramOptions.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/ExecuteNetwork/ExecuteNetworkProgramOptions.cpp b/tests/ExecuteNetwork/ExecuteNetworkProgramOptions.cpp
index 002a3d1d80..a080e57d0c 100644
--- a/tests/ExecuteNetwork/ExecuteNetworkProgramOptions.cpp
+++ b/tests/ExecuteNetwork/ExecuteNetworkProgramOptions.cpp
@@ -277,13 +277,17 @@ ProgramOptions::ProgramOptions() : m_CxxOptions{"ExecuteNetwork",
cxxopts::value<bool>(m_ExNetParams.m_EnableFastMath)->default_value("false")->implicit_value("true"))
("save-cached-network",
- "Enables saving of the cached network. "
+ "Enables saving of the cached network to a file given with the cached-network-filepath option. "
"See also --cached-network-filepath",
cxxopts::value<bool>(m_ExNetParams.m_SaveCachedNetwork)
->default_value("false")->implicit_value("true"))
("cached-network-filepath",
- "If non-empty, the given file will be used to load/save cached network.",
+ "If non-empty, the given file will be used to load/save the cached network. "
+ "If save-cached-network is given then the cached network will be saved to the given file. "
+ "To save the cached network a file must already exist. "
+ "If save-cached-network is not given then the cached network will be loaded from the given file. "
+ "This will remove initial compilation time of kernels and speed up the first execution.",
cxxopts::value<std::string>(m_ExNetParams.m_CachedNetworkFilePath)->default_value(""))
("fp16-turbo-mode",