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