diff options
author | Georgios Pinitas <georgios.pinitas@arm.com> | 2017-11-17 10:55:00 +0000 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:35:24 +0000 |
commit | 540d008180a39a84770e51b4bc891cd2ff85980e (patch) | |
tree | 500faadfafde7b92bdf7cb46c01501d2db01728f /tests/validation/CPP/ConvolutionLayer.h | |
parent | 43ce898014faabbe8ab1cdf714b7aad3d3c9b2a9 (diff) | |
download | ComputeLibrary-540d008180a39a84770e51b4bc891cd2ff85980e.tar.gz |
COMPMID-556: Fixes bias in CLDirectConvolutionLayer to be int32.
Biases were incorrectly passed as uchar8 in asymmetric quantized
calculations while they should be in int32.
Change-Id: I461f5e4ef6eb44374c1094378a1bfe9ade5e247d
Reviewed-on: http://mpd-gerrit.cambridge.arm.com/96244
Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>
Reviewed-by: Gian Marco Iodice <gianmarco.iodice@arm.com>
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'tests/validation/CPP/ConvolutionLayer.h')
-rw-r--r-- | tests/validation/CPP/ConvolutionLayer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/validation/CPP/ConvolutionLayer.h b/tests/validation/CPP/ConvolutionLayer.h index 117e846b1c..57455ba401 100644 --- a/tests/validation/CPP/ConvolutionLayer.h +++ b/tests/validation/CPP/ConvolutionLayer.h @@ -35,8 +35,8 @@ namespace validation { namespace reference { -template <typename T> -SimpleTensor<T> convolution_layer(const SimpleTensor<T> &src, const SimpleTensor<T> &weights, const SimpleTensor<T> &bias, const TensorShape &output_shape, const PadStrideInfo &info); +template <typename T, typename TB> +SimpleTensor<T> convolution_layer(const SimpleTensor<T> &src, const SimpleTensor<T> &weights, const SimpleTensor<TB> &bias, const TensorShape &output_shape, const PadStrideInfo &info); } // namespace reference } // namespace validation } // namespace test |