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/ITensorInfo.h | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'arm_compute/core/ITensorInfo.h') diff --git a/arm_compute/core/ITensorInfo.h b/arm_compute/core/ITensorInfo.h index ce0cf53fdf..f113445fb7 100644 --- a/arm_compute/core/ITensorInfo.h +++ b/arm_compute/core/ITensorInfo.h @@ -81,15 +81,6 @@ public: * @return Reference to this ITensorInfo object */ virtual ITensorInfo &set_tensor_shape(const TensorShape &shape) = 0; - /** Set the fixed point position to the specified value - * - * @warning The fixed point position must be set once the data type has been configured - * - * @param[in] fixed_point_position The new fixed point position - * - * @return Reference to this ITensorInfo object - */ - virtual ITensorInfo &set_fixed_point_position(int fixed_point_position) = 0; /** Set the quantization settings (scale and offset) of the tensor. * * @param[in] quantization_info QuantizationInfo containing the scale and offset @@ -158,11 +149,7 @@ public: * @return Offset in bytes from the beginning of the memory allocation to access the element (x, y, z, ...) */ virtual size_t offset_element_in_bytes(const Coordinates &pos) const = 0; - /** Fixed point position used when the tensor data type is QS8 or QS16 - * - * @return The fixed point position that expresses the number of bits for the fractional part of the number - */ - virtual int fixed_point_position() const = 0; + /** Element size in bytes calculated as data_size() * num_channels() * * @return The size of one element in bytes -- cgit v1.2.1