aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/armnn/Descriptors.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/armnn/Descriptors.hpp b/include/armnn/Descriptors.hpp
index 8fbd32a76e..9a33cc002a 100644
--- a/include/armnn/Descriptors.hpp
+++ b/include/armnn/Descriptors.hpp
@@ -360,7 +360,9 @@ struct ReshapeDescriptor
struct SpaceToBatchNdDescriptor
{
SpaceToBatchNdDescriptor()
- : m_DataLayout(DataLayout::NCHW)
+ : m_BlockShape({1, 1})
+ , m_PadList({{0, 0}, {0, 0}})
+ , m_DataLayout(DataLayout::NCHW)
{}
SpaceToBatchNdDescriptor(const std::vector<unsigned int>& blockShape,