aboutsummaryrefslogtreecommitdiff
path: root/src/backends/reference/workloads/Abs.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/backends/reference/workloads/Abs.hpp')
-rw-r--r--src/backends/reference/workloads/Abs.hpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/backends/reference/workloads/Abs.hpp b/src/backends/reference/workloads/Abs.hpp
new file mode 100644
index 0000000000..b1165d2d93
--- /dev/null
+++ b/src/backends/reference/workloads/Abs.hpp
@@ -0,0 +1,19 @@
+//
+// Copyright © 2017 Arm Ltd. All rights reserved.
+// SPDX-License-Identifier: MIT
+//
+
+#include "BaseIterator.hpp"
+#include <armnn/Tensor.hpp>
+#include <armnn/Types.hpp>
+
+namespace armnn
+{
+
+/// Performs the absolute function elementwise
+/// on the inputs to give the outputs.
+void Abs(Decoder<float>& in,
+ Encoder<float>& out,
+ const TensorInfo& tensorInfo);
+
+} //namespace armnn