From d71d2be0ab380a2d1fbaf051e43b368330b4d27c Mon Sep 17 00:00:00 2001 From: Manuel Bottini Date: Thu, 21 May 2020 17:14:36 +0100 Subject: COMPMID-3069: Removing deprecated functions and classes from 20.05 release Change-Id: Ic4d20995d6c6bb76d07113e86247bad2722e4e83 Signed-off-by: Manuel Bottini Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/3244 Tested-by: Arm Jenkins Reviewed-by: Michele Di Giorgio Comments-Addressed: Arm Jenkins --- arm_compute/core/Types.h | 68 ------------------------------------------------ 1 file changed, 68 deletions(-) (limited to 'arm_compute/core/Types.h') diff --git a/arm_compute/core/Types.h b/arm_compute/core/Types.h index d59bba6ff4..759ff07822 100644 --- a/arm_compute/core/Types.h +++ b/arm_compute/core/Types.h @@ -1191,74 +1191,6 @@ struct PoolingLayerInfo fp_mixed_precision(false) { } - /** Constructor - * - * @param[in] pool_type Pooling type @ref PoolingType. - * @param[in] pool_size Pooling size, in elements, across x and y. - * @param[in] pad_stride_info (Optional) Padding and stride information @ref PadStrideInfo - * @param[in] exclude_padding (Optional) Strategy when accounting padding in calculations. - * True will exclude padding while false will not (Used in AVG/L2 pooling to determine the pooling area). - * Defaults to false; - * @param[in] fp_mixed_precision (Optional) Use wider accumulators (32 bit instead of 16 for FP16) to improve accuracy. - */ - ARM_COMPUTE_DEPRECATED_REL_REPLACE(20.02, PoolingLayerInfo(PoolingType, unsigned int, DataLayout, PadStrideInfo, bool, bool)) - explicit PoolingLayerInfo(PoolingType pool_type, - unsigned int pool_size, - PadStrideInfo pad_stride_info = PadStrideInfo(), - bool exclude_padding = false, - bool fp_mixed_precision = false) - : pool_type(pool_type), - pool_size(Size2D(pool_size, pool_size)), - data_layout(DataLayout::UNKNOWN), - pad_stride_info(pad_stride_info), - exclude_padding(exclude_padding), - is_global_pooling(false), - fp_mixed_precision(fp_mixed_precision) - { - } - /** Constructor - * - * @param[in] pool_type Pooling type @ref PoolingType. - * @param[in] pool_size Pooling size, in elements, across x and y. - * @param[in] pad_stride_info (Optional) Padding and stride information @ref PadStrideInfo - * @param[in] exclude_padding (Optional) Strategy when accounting padding in calculations. - * True will exclude padding while false will not (Used in AVG/L2 pooling to determine the pooling area). - * Defaults to false; - * @param[in] fp_mixed_precision (Optional) Use wider accumulators (32 bit instead of 16 for FP16) to improve accuracy. - */ - ARM_COMPUTE_DEPRECATED_REL_REPLACE(20.02, PoolingLayerInfo(PoolingType, Size2D, DataLayout, PadStrideInfo, bool, bool)) - explicit PoolingLayerInfo(PoolingType pool_type, - Size2D pool_size, - PadStrideInfo pad_stride_info = PadStrideInfo(), - bool exclude_padding = false, - bool fp_mixed_precision = false) - : pool_type(pool_type), - pool_size(pool_size), - data_layout(DataLayout::UNKNOWN), - pad_stride_info(pad_stride_info), - exclude_padding(exclude_padding), - is_global_pooling(false), - fp_mixed_precision(fp_mixed_precision) - { - } - /** Constructor - * - * @note This constructor is used for global pooling - * - * @param[in] pool_type Pooling type @ref PoolingType. - */ - ARM_COMPUTE_DEPRECATED_REL_REPLACE(20.02, PoolingLayerInfo(PoolingType, DataLayout)) - explicit PoolingLayerInfo(PoolingType pool_type) - : pool_type(pool_type), - pool_size(Size2D()), - data_layout(DataLayout::UNKNOWN), - pad_stride_info(PadStrideInfo(1, 1, 0, 0)), - exclude_padding(false), - is_global_pooling(true), - fp_mixed_precision(false) - { - } - /** Constructor * * @param[in] pool_type Pooling type @ref PoolingType. -- cgit v1.2.1