aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/runtime/CL/functions/CLSoftmaxLayer.h
diff options
context:
space:
mode:
authorPablo Palmier <Pablo.Palmier@arm.com>2017-10-18 11:03:08 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:35:24 +0000
commit48a60f9f7b0b7b5cf38253b7a2ac576aac43ef78 (patch)
tree0e0b519f8c21d61a0bb63c45eca92b5057e351cb /arm_compute/runtime/CL/functions/CLSoftmaxLayer.h
parentc9938d26cc12896c4d37eabac185b4fbe3365f93 (diff)
downloadComputeLibrary-48a60f9f7b0b7b5cf38253b7a2ac576aac43ef78.tar.gz
IVGCVSW-632 CL support for Softmax beta parameter
Change-Id: I21da48d2f40aa900301235eaced54b7eb644b0b2 Reviewed-on: http://mpd-gerrit.cambridge.arm.com/91307 Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com> Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'arm_compute/runtime/CL/functions/CLSoftmaxLayer.h')
-rw-r--r--arm_compute/runtime/CL/functions/CLSoftmaxLayer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arm_compute/runtime/CL/functions/CLSoftmaxLayer.h b/arm_compute/runtime/CL/functions/CLSoftmaxLayer.h
index 70a265c1ae..e87deb6d15 100644
--- a/arm_compute/runtime/CL/functions/CLSoftmaxLayer.h
+++ b/arm_compute/runtime/CL/functions/CLSoftmaxLayer.h
@@ -54,9 +54,10 @@ public:
/** Set the input and output tensors.
*
* @param[in] input Source tensor. Data types supported: QS8/QS16/F16/F32
+ * @param[in] beta A scaling factor for the exponent. QS8/QS16/F16 only support a beta value of 1.
* @param[out] output Destination tensor. Data types supported: same as @p input
*/
- void configure(const ICLTensor *input, ICLTensor *output);
+ void configure(const ICLTensor *input, ICLTensor *output, float beta = 1.0f);
// Inherited methods overridden:
void run() override;