aboutsummaryrefslogtreecommitdiff
path: root/include/armnn/Descriptors.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/armnn/Descriptors.hpp')
-rw-r--r--include/armnn/Descriptors.hpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/armnn/Descriptors.hpp b/include/armnn/Descriptors.hpp
index dfd532f633..7fd36d5873 100644
--- a/include/armnn/Descriptors.hpp
+++ b/include/armnn/Descriptors.hpp
@@ -351,7 +351,12 @@ struct MeanDescriptor
struct PadDescriptor
{
- PadDescriptor(const std::vector<std::pair<unsigned int, unsigned int>>& padList);
+ PadDescriptor()
+ {}
+
+ PadDescriptor(const std::vector<std::pair<unsigned int, unsigned int>>& padList)
+ : m_PadList(padList)
+ {}
// first is number of values to add before the tensor in the dimension,
// second is the number of values to add after the tensor in the dimension