aboutsummaryrefslogtreecommitdiff
path: root/src/backends/gpuFsa/layers/GpuFsaSoftmax.hpp
diff options
context:
space:
mode:
authorJohn Mcloughlin <john.mcloughlin@arm.com>2024-02-07 15:00:57 +0000
committerjohn.mcloughlin <john.mcloughlin@arm.com>2024-02-08 23:01:29 +0000
commit33753901d4c77c958d006fb8e4a283a9a33c4426 (patch)
tree80763d2b11826a3857fe531ec9bf8d0726087fd4 /src/backends/gpuFsa/layers/GpuFsaSoftmax.hpp
parent5bda97349eb99151a61ab787a33e9c224ca215be (diff)
downloadarmnn-33753901d4c77c958d006fb8e4a283a9a33c4426.tar.gz
IVGCVSW-7624 GpuFsa Op: Add Softmax operator
* Added softmax operator support * Added test cases Signed-off-by: John Mcloughlin <john.mcloughlin@arm.com> Change-Id: I51d530b110c4cb812f5aab31ad1ee4022d81d19e
Diffstat (limited to 'src/backends/gpuFsa/layers/GpuFsaSoftmax.hpp')
-rw-r--r--src/backends/gpuFsa/layers/GpuFsaSoftmax.hpp24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/backends/gpuFsa/layers/GpuFsaSoftmax.hpp b/src/backends/gpuFsa/layers/GpuFsaSoftmax.hpp
new file mode 100644
index 0000000000..cf078fc33f
--- /dev/null
+++ b/src/backends/gpuFsa/layers/GpuFsaSoftmax.hpp
@@ -0,0 +1,24 @@
+//
+// Copyright © 2024 Arm Ltd and Contributors. All rights reserved.
+// SPDX-License-Identifier: MIT
+//
+
+#pragma once
+
+#include <armnn/Descriptors.hpp>
+
+#include <gpuFsa/GpuFsaBackend.hpp>
+
+namespace armnn
+{
+
+arm_compute::Status GpuFsaSoftmaxValidate(const TensorInfo& input,
+ const TensorInfo& output,
+ const SoftmaxDescriptor& descriptor);
+
+void GpuFsaSoftmaxCreateOp(GpuFsaPreCompiledBlob* blob,
+ const TensorInfo& input,
+ const TensorInfo& output,
+ const SoftmaxDescriptor& descriptor);
+
+} \ No newline at end of file