diff options
author | Vidhya Sudhan Loganathan <vidhyasudhan.loganathan@arm.com> | 2018-07-02 09:13:49 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:54:10 +0000 |
commit | 014333d73883c3872e458cedda5ccef586a7ccd4 (patch) | |
tree | 0f28bbc1ab769993af91b40e4584061f6ed6d3fa /tests/Utils.h | |
parent | de01468bbfff3a7d8bcbba3bfdf5698fb2e3b267 (diff) | |
download | ComputeLibrary-014333d73883c3872e458cedda5ccef586a7ccd4.tar.gz |
COMPMID-970 : Remove QS8 / QS16 support
Removed Fixed point position arguments from test sources
Change-Id: I8343724723b71611fd501ed34de0866d3fb60e7e
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/136382
Tested-by: Jenkins <bsgcomp@arm.com>
Reviewed-by: Michele DiGiorgio <michele.digiorgio@arm.com>
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'tests/Utils.h')
-rw-r--r-- | tests/Utils.h | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/tests/Utils.h b/tests/Utils.h index 332c916498..7d064bdf48 100644 --- a/tests/Utils.h +++ b/tests/Utils.h @@ -508,21 +508,20 @@ inline bool is_in_valid_region(const ValidRegion &valid_region, Coordinates coor /** Create and initialize a tensor of the given type. * - * @param[in] shape Tensor shape. - * @param[in] data_type Data type. - * @param[in] num_channels (Optional) Number of channels. - * @param[in] fixed_point_position (Optional) Number of fractional bits. - * @param[in] quantization_info (Optional) Quantization info for asymmetric quantized types. - * @param[in] data_layout (Optional) Data layout. Default is NCHW. + * @param[in] shape Tensor shape. + * @param[in] data_type Data type. + * @param[in] num_channels (Optional) Number of channels. + * @param[in] quantization_info (Optional) Quantization info for asymmetric quantized types. + * @param[in] data_layout (Optional) Data layout. Default is NCHW. * * @return Initialized tensor of given type. */ template <typename T> inline T create_tensor(const TensorShape &shape, DataType data_type, int num_channels = 1, - int fixed_point_position = 0, QuantizationInfo quantization_info = QuantizationInfo(), DataLayout data_layout = DataLayout::NCHW) + QuantizationInfo quantization_info = QuantizationInfo(), DataLayout data_layout = DataLayout::NCHW) { T tensor; - TensorInfo info(shape, num_channels, data_type, fixed_point_position); + TensorInfo info(shape, num_channels, data_type); info.set_quantization_info(quantization_info); info.set_data_layout(data_layout); tensor.allocator()->init(info); |