From 8fda1cb6f4142133fff045a6f9c18778757c316c Mon Sep 17 00:00:00 2001 From: Pablo Tello Date: Wed, 5 Jul 2017 15:20:38 +0100 Subject: COMPMID-421: Added FP16 support in BatchNormalizationLayer. Change-Id: I7142e0e8466ef79e016ae56d285e8e9291573e52 Reviewed-on: http://mpd-gerrit.cambridge.arm.com/79814 Reviewed-by: Moritz Pflanzer Reviewed-by: Anthony Barbier Tested-by: Kaizen --- arm_compute/core/NEON/NEMath.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'arm_compute/core/NEON/NEMath.h') diff --git a/arm_compute/core/NEON/NEMath.h b/arm_compute/core/NEON/NEMath.h index b467a600d6..39f0c3bf77 100644 --- a/arm_compute/core/NEON/NEMath.h +++ b/arm_compute/core/NEON/NEMath.h @@ -36,6 +36,16 @@ namespace arm_compute */ float32x4_t vinvsqrtq_f32(float32x4_t x); +#ifdef ARM_COMPUTE_ENABLE_FP16 +/** Calculate inverse square root. + * + * @param[in] x Input value. + * + * @return The calculated inverse square root. + */ +float16x8_t vinvsqrtq_f16(float16x8_t x); +#endif /* ARM_COMPUTE_ENABLE_FP16 */ + /** Calculate reciprocal. * * @param[in] x Input value. -- cgit v1.2.1