From 57c033bb5400ef19e5952f191da3e878e21bba91 Mon Sep 17 00:00:00 2001 From: Georgios Pinitas Date: Thu, 15 Feb 2018 12:29:44 +0000 Subject: COMPMID-906: Use fused activation in NEON Batch normalization Change-Id: I5a6413548b2c9b8972c91ddba57395509dffd87e Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/120656 Tested-by: Jenkins Reviewed-by: Anthony Barbier --- arm_compute/runtime/NEON/functions/NEBatchNormalizationLayer.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'arm_compute/runtime/NEON/functions/NEBatchNormalizationLayer.h') diff --git a/arm_compute/runtime/NEON/functions/NEBatchNormalizationLayer.h b/arm_compute/runtime/NEON/functions/NEBatchNormalizationLayer.h index 5c8200beda..242144c987 100644 --- a/arm_compute/runtime/NEON/functions/NEBatchNormalizationLayer.h +++ b/arm_compute/runtime/NEON/functions/NEBatchNormalizationLayer.h @@ -58,6 +58,7 @@ public: * @param[in] gamma Gamma values tensor. 1 dimension with size equal to the feature maps [FM]. Data types supported: Same as @p input * @param[in] epsilon Small value to avoid division with zero. * @param[in] act_info (Optional) Activation layer information in case of a fused activation. Only RELU, BOUNDED_RELU and LU_BOUNDED_RELU supported. + * Data types supported: F32 */ void configure(ITensor *input, ITensor *output, const ITensor *mean, const ITensor *var, const ITensor *beta, const ITensor *gamma, float epsilon, ActivationLayerInfo act_info = ActivationLayerInfo()); @@ -73,6 +74,7 @@ public: * @param[in] gamma Gamma values tensor info. 1 dimension with size equal to the feature maps [FM]. Data types supported: Same as @p input * @param[in] epsilon Small value to avoid division with zero. * @param[in] act_info (Optional) Activation layer information in case of a fused activation. Only RELU, BOUNDED_RELU and LU_BOUNDED_RELU supported. + * Data types supported: F32 * * @return a status */ @@ -86,9 +88,6 @@ public: private: NEBatchNormalizationLayerKernel _norm_kernel; /**< Batch normalization layer kernel */ - // COMPMID-906 Use fused activation in NEON Batch normalization - NEActivationLayer _act_func; - bool _act_info_enabled; }; } #endif /* __ARM_COMPUTE_NEBATCHNORMALIZATIONLAYER_H__ */ -- cgit v1.2.1