diff options
author | Michele Di Giorgio <michele.digiorgio@arm.com> | 2019-10-08 17:17:18 +0100 |
---|---|---|
committer | Michele Di Giorgio <michele.digiorgio@arm.com> | 2019-10-11 11:15:35 +0000 |
commit | 633d30be83a7cc76cf7221d7004d768dc4381742 (patch) | |
tree | 8b13ede0aea5e963afa919ee7fedffea5bbea714 /tests/validation/reference/DepthwiseConvolutionLayer.h | |
parent | f882901164d3996c9d9bca1cb18944b71e8605f8 (diff) | |
download | ComputeLibrary-633d30be83a7cc76cf7221d7004d768dc4381742.tar.gz |
COMPMID-2306: CLDepthwiseConvolution: support for QUANT8_PER_CHANNEL_SYMM - Reference
This patch modifies the reference implementation and the fixtures of
depthwise convolution layer to support QSYMM8_PER_CHANNEL quantization.
Change-Id: I28adb5c110308b1024a213bec2d35a89180a46dc
Signed-off-by: Michele Di Giorgio <michele.digiorgio@arm.com>
Reviewed-on: https://review.mlplatform.org/c/2063
Reviewed-by: Giorgio Arena <giorgio.arena@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Giuseppe Rossini <giuseppe.rossini@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'tests/validation/reference/DepthwiseConvolutionLayer.h')
-rw-r--r-- | tests/validation/reference/DepthwiseConvolutionLayer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/validation/reference/DepthwiseConvolutionLayer.h b/tests/validation/reference/DepthwiseConvolutionLayer.h index ee323fa8df..38a225a1ae 100644 --- a/tests/validation/reference/DepthwiseConvolutionLayer.h +++ b/tests/validation/reference/DepthwiseConvolutionLayer.h @@ -35,8 +35,8 @@ namespace validation { namespace reference { -template <typename T, typename TB> -SimpleTensor<T> depthwise_convolution(const SimpleTensor<T> &src, const SimpleTensor<T> &weights, const SimpleTensor<TB> &biases, const TensorShape &dst_shape, const PadStrideInfo &conv_info, +template <typename T, typename TW, typename TB> +SimpleTensor<T> depthwise_convolution(const SimpleTensor<T> &src, const SimpleTensor<TW> &weights, const SimpleTensor<TB> &biases, const TensorShape &dst_shape, const PadStrideInfo &conv_info, unsigned int depth_multiplier, const Size2D &dilation = Size2D(1U, 1U), const QuantizationInfo &out_quant_info = QuantizationInfo(0.0f, 0)); } // namespace reference } // namespace validation |