From 7485d5a62685cb745ab50e970adb722cb71557ac Mon Sep 17 00:00:00 2001 From: Vidhya Sudhan Loganathan Date: Wed, 4 Jul 2018 09:34:00 +0100 Subject: COMPMID-970 : Remove QS8 / QS16 support Removed fixed point related code. Change-Id: I487acf138dace3b0450e0d72ca7071eaec254566 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/137678 Tested-by: Jenkins Reviewed-by: Anthony Barbier --- arm_compute/core/Helpers.h | 24 ++++++------------------ 1 file changed, 6 insertions(+), 18 deletions(-) (limited to 'arm_compute/core/Helpers.h') diff --git a/arm_compute/core/Helpers.h b/arm_compute/core/Helpers.h index a3cbfb94e3..374e36442b 100644 --- a/arm_compute/core/Helpers.h +++ b/arm_compute/core/Helpers.h @@ -582,21 +582,19 @@ inline void permute(TensorShape &shape, const PermutationVector &perm) } } -/** Auto initialize the tensor info (shape, number of channels, data type and fixed point position) if the current assignment is empty. +/** Auto initialize the tensor info (shape, number of channels and data type) if the current assignment is empty. * - * @param[in,out] info Tensor info used to check and assign. - * @param[in] shape New shape. - * @param[in] num_channels New number of channels. - * @param[in] data_type New data type - * @param[in] fixed_point_position New fixed point position - * @param[in] quantization_info (Optional) New quantization info + * @param[in,out] info Tensor info used to check and assign. + * @param[in] shape New shape. + * @param[in] num_channels New number of channels. + * @param[in] data_type New data type + * @param[in] quantization_info (Optional) New quantization info * * @return True if the tensor info has been initialized */ bool auto_init_if_empty(ITensorInfo &info, const TensorShape &shape, int num_channels, DataType data_type, - int fixed_point_position, QuantizationInfo quantization_info = QuantizationInfo()); /** Auto initialize the tensor info using another tensor info. @@ -647,16 +645,6 @@ bool set_data_type_if_unknown(ITensorInfo &info, DataType data_type); */ bool set_data_layout_if_unknown(ITensorInfo &info, DataLayout data_layout); -/** Set the fixed point position to the specified value if - * the current fixed point position is 0 and the data type is QS8 or QS16 - * - * @param[in,out] info Tensor info used to check and assign. - * @param[in] fixed_point_position New fixed point position - * - * @return True if the fixed point position has been changed. - */ -bool set_fixed_point_position_if_zero(ITensorInfo &info, int fixed_point_position); - /** Set the quantization info to the specified value if * the current quantization info is empty and the data type of asymmetric quantized type * -- cgit v1.2.1