From f8defca1f2a3c9697cf06dbd0643936e2d247c08 Mon Sep 17 00:00:00 2001 From: Michalis Spyrou Date: Fri, 2 Nov 2018 11:34:20 +0000 Subject: COMPMID-1451 Fix CLL2normalize typos Fixed a typo that caused compilation issues for ArmNN. Change-Id: Iab22adaf163eb3d2978d264f0ecf1238de98a67e Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/156483 Reviewed-by: Francis Murtagh Reviewed-by: Michele DiGiorgio Tested-by: bsgcomp --- arm_compute/core/CL/kernels/CLL2NormalizeLayerKernel.h | 4 ++-- arm_compute/runtime/CL/functions/CLL2NormalizeLayer.h | 8 ++++---- arm_compute/runtime/NEON/functions/NEL2NormalizeLayer.h | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) (limited to 'arm_compute') diff --git a/arm_compute/core/CL/kernels/CLL2NormalizeLayerKernel.h b/arm_compute/core/CL/kernels/CLL2NormalizeLayerKernel.h index dec4192fcd..ae05bcf879 100644 --- a/arm_compute/core/CL/kernels/CLL2NormalizeLayerKernel.h +++ b/arm_compute/core/CL/kernels/CLL2NormalizeLayerKernel.h @@ -50,7 +50,7 @@ public: /** Set the input and output tensors. * - * @param[in] input Source tensor. Data types supported: F32. Data layouts supported: NCHW. + * @param[in] input Source tensor. Data types supported: F32. Data layouts supported: NCHW/NHWC. * @param[in] sum Sum values tensor. Data types supported: same as @p input. * Sum will have the same number of dimensions as input. * @param[out] output Destination tensor. Data types and data layouts supported: Same as @p input. @@ -62,7 +62,7 @@ public: /** Static function to check if given info will lead to a valid configuration of @ref CLL2NormalizeLayerKernel. * - * @param[in] input Source tensor info. Data types supported: F32. Data layouts supported: NCHW. + * @param[in] input Source tensor info. Data types supported: F32. Data layouts supported: NCHW/NHWC. * @param[in] sum Sum values tensor info. Data types supported: same as @p input. * Sum will have the same number of dimensions as input. * @param[in] output Destination tensor info. Data types and data layouts supported: Same as @p input. diff --git a/arm_compute/runtime/CL/functions/CLL2NormalizeLayer.h b/arm_compute/runtime/CL/functions/CLL2NormalizeLayer.h index 86ccd3440f..a7c47a2327 100644 --- a/arm_compute/runtime/CL/functions/CLL2NormalizeLayer.h +++ b/arm_compute/runtime/CL/functions/CLL2NormalizeLayer.h @@ -53,23 +53,23 @@ public: /** Set the input and output tensors. * - * @param[in] input Source tensor. Data types supported: F32. Data layouts supported: NCHW/NCHW. + * @param[in] input Source tensor. Data types supported: F32. Data layouts supported: NCHW/NHWC. * @param[out] output Destination tensor. Data types and data layouts supported: Same as @p input. * @param[in] axis Axis along which to reduce. Supported reduction axis : 0, 2 * @param[in] epsilon (Optional) Lower bound value for the normalization. */ - void configure(ICLTensor *input, ICLTensor *output, unsigned int axis, float epsilon = 1e-12); + void configure(ICLTensor *input, ICLTensor *output, unsigned int axis, float epsilon = 1e-12f); /** Static function to check if given info will lead to a valid configuration of @ref CLL2NormalizeLayer. * - * @param[in] input Source tensor info. Data types supported: F32. Data layouts supported: NCHW/NCHW. + * @param[in] input Source tensor info. Data types supported: F32. Data layouts supported: NCHW/NHWC. * @param[in] output Destination tensor info. Data types and data layouts supported: Same as @p input. * @param[in] axis Axis along which to reduce. Supported reduction axis : 0, 2, * @param[in] epsilon (Optional) Lower bound value for the normalization. * * @return a status */ - static Status validate(const ITensorInfo *input, const ITensorInfo *output, unsigned int axis, float epsilon = 1e-12); + static Status validate(const ITensorInfo *input, const ITensorInfo *output, unsigned int axis, float epsilon = 1e-12f); // Inherited methods overridden: void run() override; diff --git a/arm_compute/runtime/NEON/functions/NEL2NormalizeLayer.h b/arm_compute/runtime/NEON/functions/NEL2NormalizeLayer.h index 3c88bbd9d3..c089856fcd 100644 --- a/arm_compute/runtime/NEON/functions/NEL2NormalizeLayer.h +++ b/arm_compute/runtime/NEON/functions/NEL2NormalizeLayer.h @@ -55,7 +55,7 @@ public: * @param[in] axis Dimension along which to reduce. Supported reduction axis : 0 * @param[in] epsilon (Optional) Lower bound value for the normalization. */ - void configure(ITensor *input, ITensor *output, unsigned int axis, float epsilon = 1e-12); + void configure(ITensor *input, ITensor *output, unsigned int axis, float epsilon = 1e-12f); /** Static function to check if given info will lead to a valid configuration of @ref NEL2NormalizeLayer. * @@ -66,7 +66,7 @@ public: * * @return a status */ - static Status validate(const ITensorInfo *input, const ITensorInfo *output, unsigned int axis, float epsilon = 1e-12); + static Status validate(const ITensorInfo *input, const ITensorInfo *output, unsigned int axis, float epsilon = 1e-12f); // Inherited methods overridden: void run() override; -- cgit v1.2.1