From 0a2dfabd76a45c58d0a14567f0503369c4e6fbf3 Mon Sep 17 00:00:00 2001 From: Sadik Armagan Date: Wed, 6 Oct 2021 16:41:44 +0100 Subject: IVGCVSW-5636 'Implement NNAPI caching functions' * Cached serialized ArmNN model. !armnn:6384 Signed-off-by: Sadik Armagan Signed-off-by: Kevin May Change-Id: I78120a7f8ea892a28c0ff25f1b54e67a4f912574 --- Utils.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Utils.hpp') diff --git a/Utils.hpp b/Utils.hpp index da101535..9bd28ba6 100644 --- a/Utils.hpp +++ b/Utils.hpp @@ -139,7 +139,10 @@ void DumpJsonProfilingIfRequired(bool gpuProfilingEnabled, std::string ExportNetworkGraphToDotFile(const armnn::IOptimizedNetwork& optimizedNetwork, const std::string& dumpDir); -std::string SerializeNetwork(const armnn::INetwork& network, const std::string& dumpDir); +std::string SerializeNetwork(const armnn::INetwork& network, + const std::string& dumpDir, + std::vector& dataCacheData, + bool dataCachingActive = true); void RenameExportedFiles(const std::string& existingSerializedFileName, const std::string& existingDotFileName, -- cgit v1.2.1