aboutsummaryrefslogtreecommitdiff
path: root/include/armnn/Descriptors.hpp
diff options
context:
space:
mode:
authorMohamed Nour Abouelseoud <mohamednour.abouelseoud@arm.com>2018-09-24 13:30:09 +0100
committerMatthew Bentham <matthew.bentham@arm.com>2018-10-10 16:16:57 +0100
commit5662c206864df4121eea29c541c24c0f62113809 (patch)
treef80aa8a094dc3ede6d2c7e4a905ac2f278199268 /include/armnn/Descriptors.hpp
parent351d13d0b5fa698b72130012b2f069d30b911cb3 (diff)
downloadarmnn-5662c206864df4121eea29c541c24c0f62113809.tar.gz
IVGCVSW-1881 Add PadLayer to ArmNN
Change-Id: Ib70883a20fa7b82bfb090aa98cc51a6d645b5722
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