aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNattapat Chaimanowong <nattapat.chaimanowong@arm.com>2019-03-28 10:29:12 +0000
committernattapat.chaimanowong <nattapat.chaimanowong@arm.com>2019-03-29 15:43:18 +0000
commit317cae526ba7b58891b6f054bb10af3b6e22d5a3 (patch)
treee2939198b33e2db223d83f2d9f8ad6c1704e385b /include
parent83add2165b680b3cf38403a7ce90ea86febd4cc7 (diff)
downloadarmnn-317cae526ba7b58891b6f054bb10af3b6e22d5a3.tar.gz
IVGCVSW-2866 Implement RegisterDebugCallback for RefDebugWorkload
Change-Id: I9144fb6b7d05561b5b8fd9db5dbe31c9257f10ca Signed-off-by: Nattapat Chaimanowong <nattapat.chaimanowong@arm.com>
Diffstat (limited to 'include')
-rw-r--r--include/armnn/Types.hpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/armnn/Types.hpp b/include/armnn/Types.hpp
index bdddd37a1c..438b6be741 100644
--- a/include/armnn/Types.hpp
+++ b/include/armnn/Types.hpp
@@ -183,7 +183,10 @@ 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*)>;
+/// Define the type of callback for the Debug layer to call
+/// @param guid - guid of layer connected to the input of the Debug layer
+/// @param slotIndex - index of the output slot connected to the input of the Debug layer
+/// @param tensorHandle - TensorHandle for the input tensor to the Debug layer
+using DebugCallbackFunction = std::function<void(LayerGuid guid, unsigned int slotIndex, ITensorHandle* tensorHandle)>;
} // namespace armnn