aboutsummaryrefslogtreecommitdiff
path: root/src/backends/reference/workloads/ElementwiseFunction.hpp
diff options
context:
space:
mode:
authorÉanna Ó Catháin <eanna.ocathain@arm.com>2018-11-28 16:24:38 +0000
committerÉanna Ó Catháin <eanna.ocathain@arm.com>2018-11-28 16:24:38 +0000
commitd57415d9a2117da9cc5c58f8b5e39ba7455417d1 (patch)
tree7781ce03a1c3373121c6dff9d4eeb81fd306ad44 /src/backends/reference/workloads/ElementwiseFunction.hpp
parent5a4304a09fcbfd5fab4c73e5fd0d4cc9f3170395 (diff)
downloadarmnn-d57415d9a2117da9cc5c58f8b5e39ba7455417d1.tar.gz
IVGCVSW-2202 Refactoring Arithmetic* names to Elementwise* names for workloads and workload functions
Change-Id: I6f3fce12a55f7d38ceafcdfcd6b5181bf56e2c09
Diffstat (limited to 'src/backends/reference/workloads/ElementwiseFunction.hpp')
-rw-r--r--src/backends/reference/workloads/ElementwiseFunction.hpp24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/backends/reference/workloads/ElementwiseFunction.hpp b/src/backends/reference/workloads/ElementwiseFunction.hpp
new file mode 100644
index 0000000000..5011616c0c
--- /dev/null
+++ b/src/backends/reference/workloads/ElementwiseFunction.hpp
@@ -0,0 +1,24 @@
+//
+// Copyright © 2017 Arm Ltd. All rights reserved.
+// SPDX-License-Identifier: MIT
+//
+
+#pragma once
+
+#include <armnn/Tensor.hpp>
+
+namespace armnn
+{
+
+template <typename Functor>
+struct ElementwiseFunction
+{
+ ElementwiseFunction(const TensorShape& inShape0,
+ const TensorShape& inShape1,
+ const TensorShape& outShape,
+ const float* inData0,
+ const float* inData1,
+ float* outData);
+};
+
+} //namespace armnn