aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorjimfly01 <jim.flynn@arm.com>2018-09-19 10:59:49 +0100
committerMatthew Bentham <matthew.bentham@arm.com>2018-10-10 16:16:56 +0100
commit2c9322a275b0450fd8a7c49b54924890639d2001 (patch)
treef044af9d97bb5b08c643ddaeba67b48177186152 /include
parent0cff16365b2ebb4d02929b86a304b91df19a985c (diff)
downloadarmnn-2c9322a275b0450fd8a7c49b54924890639d2001.tar.gz
IVGCVSW-1880: Add no-op factory implementations of CreatePad
* Added PadDescriptor and PadQueueDescriptor * Factory method CreatePad on all backends returning null workloads Change-Id: Ifeb50f9249ea31edfc3586d49b008ea1b5c59ae2
Diffstat (limited to 'include')
-rw-r--r--include/armnn/Descriptors.hpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/armnn/Descriptors.hpp b/include/armnn/Descriptors.hpp
index 5f9df6b2c3..8940e0b003 100644
--- a/include/armnn/Descriptors.hpp
+++ b/include/armnn/Descriptors.hpp
@@ -347,4 +347,14 @@ struct MeanDescriptor
bool m_KeepDims;
};
+struct PadDescriptor
+{
+ PadDescriptor(const std::vector<std::pair<unsigned int, unsigned int>>& 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
+ // the number of pairs should match the number of dimensions in the input tensor.
+ std::vector<std::pair<unsigned int, unsigned int>> m_PadList;
+};
+
}