From 48a60f9f7b0b7b5cf38253b7a2ac576aac43ef78 Mon Sep 17 00:00:00 2001 From: Pablo Palmier Date: Wed, 18 Oct 2017 11:03:08 +0100 Subject: IVGCVSW-632 CL support for Softmax beta parameter Change-Id: I21da48d2f40aa900301235eaced54b7eb644b0b2 Reviewed-on: http://mpd-gerrit.cambridge.arm.com/91307 Tested-by: Kaizen Reviewed-by: Anthony Barbier --- arm_compute/runtime/CL/functions/CLSoftmaxLayer.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'arm_compute/runtime/CL/functions/CLSoftmaxLayer.h') 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; -- cgit v1.2.1