diff options
author | Matthew Sloyan <matthew.sloyan@arm.com> | 2021-01-12 16:19:43 +0000 |
---|---|---|
committer | Kevin May <kevin.may@arm.com> | 2021-01-15 15:18:31 +0000 |
commit | 9d7a332e76cf861bc91be4e68d031de67ea468ae (patch) | |
tree | 27678095164f84384a06d31d6a63dd1aad340547 /src/backends/cl | |
parent | 13816cd35c631110d55708c5617b5f3a303dc29c (diff) | |
download | armnn-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 'src/backends/cl')
-rw-r--r-- | src/backends/cl/ClBackendModelContext.hpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/backends/cl/ClBackendModelContext.hpp b/src/backends/cl/ClBackendModelContext.hpp index c84cdbbfcf..e7a26cd688 100644 --- a/src/backends/cl/ClBackendModelContext.hpp +++ b/src/backends/cl/ClBackendModelContext.hpp @@ -16,6 +16,15 @@ namespace armnn /// - "FastMathEnabled"\n /// Using the fast_math flag can lead to performance improvements in fp32 and fp16 layers but may result in\n /// results with reduced or different precision. The fast_math flag will not have any effect on int8 performance. +/// - "SaveCachedNetwork"\n +/// Using the save_cached_network flag enables saving the cached network\n +/// to a file given with the cached_network_file_path option. +/// - "CachedNetworkFilePath"\n +/// If the cached_network_file_path is a valid file and the save_cached_network flag is present\n +/// then the cached network will be saved to the given file.\n +/// If the cached_network_file_path is a valid file and the save_cached_network flag is not present\n +/// then the cached network will be loaded from the given file.\n +/// This will remove the time taken for initial compilation of kernels and speed up the first execution. class ClBackendModelContext : public IBackendModelContext { public: |