aboutsummaryrefslogtreecommitdiff
path: root/src/backends/reference/workloads/Pad.hpp
diff options
context:
space:
mode:
authorMohamed Nour Abouelseoud <mohamednour.abouelseoud@arm.com>2018-10-12 12:26:24 +0100
committerMatthew Bentham <matthew.bentham@arm.com>2018-10-22 16:57:54 +0100
commit7420e55aefe545452639992ab1972fd355a9ed30 (patch)
treedeae0ab925ca138e2c5f1130477d92f5d45c9de6 /src/backends/reference/workloads/Pad.hpp
parentb5acbb77918df98debac200ebe082ce9aaab6a8c (diff)
downloadarmnn-7420e55aefe545452639992ab1972fd355a9ed30.tar.gz
IVGCVSW-1885 add RefPadWorkload implementation and associated unit tests
* Added RefPadWorkload implementation * Added unit tests and applied them to CL and Ref backends * Fixed a bug in ClPadWorkload Change-Id: I8cb76bc9d60ae8a39b08d40f05d628e3b72f6410
Diffstat (limited to 'src/backends/reference/workloads/Pad.hpp')
-rw-r--r--src/backends/reference/workloads/Pad.hpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/backends/reference/workloads/Pad.hpp b/src/backends/reference/workloads/Pad.hpp
new file mode 100644
index 0000000000..ed80ef8eb0
--- /dev/null
+++ b/src/backends/reference/workloads/Pad.hpp
@@ -0,0 +1,20 @@
+//
+// Copyright © 2017 Arm Ltd. All rights reserved.
+// SPDX-License-Identifier: MIT
+//
+
+#pragma once
+
+#include "armnn/DescriptorsFwd.hpp"
+#include "armnn/Tensor.hpp"
+
+#include <vector>
+
+namespace armnn
+{
+void Pad(const TensorInfo& inputInfo,
+ const TensorInfo& outputInfo,
+ std::vector<std::pair<unsigned int, unsigned int>> m_PadList,
+ const float* inputData,
+ float* outData);
+} //namespace armnn