From b7851f9b29dbbe995acf6dc271471e73261c196a Mon Sep 17 00:00:00 2001 From: Sadik Armagan Date: Wed, 6 Oct 2021 16:37:02 +0100 Subject: IVGCVSW-5636 'Implement NNAPI caching functions' * Get number of inputs and outputs from optimized network. * Get number of cached files if backend supports caching. Signed-off-by: Sadik Armagan Change-Id: Ie02ac123bb7df9b0593a2fe46b5bb564a5994780 --- include/armnn/INetwork.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/armnn/INetwork.hpp') diff --git a/include/armnn/INetwork.hpp b/include/armnn/INetwork.hpp index 707ae00bb3..f85b29ee81 100644 --- a/include/armnn/INetwork.hpp +++ b/include/armnn/INetwork.hpp @@ -722,6 +722,9 @@ public: profiling::ProfilingGuid GetGuid() const; + size_t GetNumInputs() const; + size_t GetNumOutputs() const; + // Creates a copy of the IOptimizedNetwork. The IOptimizedNetwork will not be reoptimized, // the provided ModelOptions will only be used when creating a LoadedNetwork. IOptimizedNetwork(const IOptimizedNetwork& other, const ModelOptions& modelOptions); -- cgit v1.2.1