aboutsummaryrefslogtreecommitdiff
path: root/include/armnn/Types.hpp
diff options
context:
space:
mode:
authorNattapat Chaimanowong <nattapat.chaimanowong@arm.com>2019-03-22 14:01:46 +0000
committernattapat.chaimanowong <nattapat.chaimanowong@arm.com>2019-03-22 14:38:31 +0000
commit6e9482013f41725ccca0767c0c5db9b29f77d981 (patch)
tree7b33e2cb17009c3103b5731f8d8ffa2b37484347 /include/armnn/Types.hpp
parent2a304ede65afb3426dccbd742ac3f5b42e8fb04a (diff)
downloadarmnn-6e9482013f41725ccca0767c0c5db9b29f77d981.tar.gz
IVGCVSW-2865 Extend IRuntime to add a new method RegisterDebugCallback(...)
* Made changes to LoadedNetwork and IWorkload to pass on the registered callback function Change-Id: I6ea10f2a299d6de8bf681c8ff36d3fbed1d6d887 Signed-off-by: Nattapat Chaimanowong <nattapat.chaimanowong@arm.com>
Diffstat (limited to 'include/armnn/Types.hpp')
-rw-r--r--include/armnn/Types.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/armnn/Types.hpp b/include/armnn/Types.hpp
index 36e3c5b52a..693a050586 100644
--- a/include/armnn/Types.hpp
+++ b/include/armnn/Types.hpp
@@ -180,4 +180,9 @@ private:
/// Define LayerGuid type.
using LayerGuid = unsigned int;
+class ITensorHandle;
+
+/// Define the type of callback for the debug layer to call
+using DebugCallbackFunction = std::function<void(LayerGuid, unsigned int, ITensorHandle*)>;
+
} // namespace armnn