aboutsummaryrefslogtreecommitdiff
path: root/src/backends/reference/workloads/Softmax.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/backends/reference/workloads/Softmax.hpp')
-rw-r--r--src/backends/reference/workloads/Softmax.hpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/backends/reference/workloads/Softmax.hpp b/src/backends/reference/workloads/Softmax.hpp
new file mode 100644
index 0000000000..3b974f9e9e
--- /dev/null
+++ b/src/backends/reference/workloads/Softmax.hpp
@@ -0,0 +1,16 @@
+//
+// Copyright © 2017 Arm Ltd. All rights reserved.
+// SPDX-License-Identifier: MIT
+//
+
+#pragma once
+
+#include <armnn/Tensor.hpp>
+
+namespace armnn
+{
+
+/// Computes the softmax function on some inputs, into outputs, with a shape given by tensorInfo.
+void Softmax(const float* in, float* out, const TensorInfo& tensorInfo, float beta);
+
+} //namespace armnn