aboutsummaryrefslogtreecommitdiff
path: root/include/armnn/Descriptors.hpp
diff options
context:
space:
mode:
authorNattapat Chaimanowong <nattapat.chaimanowong@arm.com>2018-12-05 15:17:18 +0000
committerLes Bell <les.bell@arm.com>2018-12-06 08:36:56 +0000
commitac5aa1faef759e704d369e8164ea91c6d7049946 (patch)
tree4202198355c149afdaa72e20e3a299e8b8974256 /include/armnn/Descriptors.hpp
parent8174f3629d4b0dc0af7a75d2a201d756bc9e9d5b (diff)
downloadarmnn-ac5aa1faef759e704d369e8164ea91c6d7049946.tar.gz
IVGCVSW-2315 Add descriptor for Debug
Change-Id: I6b26c681989ef815752186f027a245ef8da7aea2
Diffstat (limited to 'include/armnn/Descriptors.hpp')
-rw-r--r--include/armnn/Descriptors.hpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/armnn/Descriptors.hpp b/include/armnn/Descriptors.hpp
index c905eb2c97..8fbd32a76e 100644
--- a/include/armnn/Descriptors.hpp
+++ b/include/armnn/Descriptors.hpp
@@ -464,4 +464,19 @@ struct StridedSliceDescriptor
DataLayout m_DataLayout;
};
+struct DebugDescriptor
+{
+ DebugDescriptor()
+ : m_SlotIndex(0)
+ {}
+
+ DebugDescriptor(const std::string name, unsigned int index)
+ : m_LayerName(name)
+ , m_SlotIndex(index)
+ {}
+
+ std::string m_LayerName;
+ unsigned int m_SlotIndex;
+};
+
}