From ee12254d4aae887ba654aa26bebc2e1330fc0a88 Mon Sep 17 00:00:00 2001 From: Georgios Pinitas Date: Mon, 26 Jun 2017 15:54:06 +0100 Subject: COMPMID-417: Fix negative overflowing in NESoftmaxLayer. Change-Id: Ic8fa05ac44855f591ae8f5de63204973f5694c83 Reviewed-on: http://mpd-gerrit.cambridge.arm.com/78880 Tested-by: Kaizen Reviewed-by: Anthony Barbier --- arm_compute/core/NEON/NEMath.inl | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'arm_compute/core/NEON/NEMath.inl') diff --git a/arm_compute/core/NEON/NEMath.inl b/arm_compute/core/NEON/NEMath.inl index a31a4c0dc5..9a49493cf6 100644 --- a/arm_compute/core/NEON/NEMath.inl +++ b/arm_compute/core/NEON/NEMath.inl @@ -85,8 +85,10 @@ inline float32x4_t vtaylor_polyq_f32(float32x4_t x, const std::array