From f72f9367d1eddee91f15a64952b99ee6b80b821d Mon Sep 17 00:00:00 2001 From: Georgios Pinitas Date: Fri, 12 Jan 2018 16:29:45 +0000 Subject: COMPMID-791: Adds support of QASYMM8 in NEDepthwiseConvolution3x3 Change-Id: I1a9ed6c3420ddf8978aeaad48d9915333b006b49 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/116374 Tested-by: Jenkins Reviewed-by: Anthony Barbier --- tests/validation/fixtures/DepthwiseConvolutionLayerFixture.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'tests/validation/fixtures/DepthwiseConvolutionLayerFixture.h') diff --git a/tests/validation/fixtures/DepthwiseConvolutionLayerFixture.h b/tests/validation/fixtures/DepthwiseConvolutionLayerFixture.h index fc48bcec72..df5436fcf7 100644 --- a/tests/validation/fixtures/DepthwiseConvolutionLayerFixture.h +++ b/tests/validation/fixtures/DepthwiseConvolutionLayerFixture.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017 ARM Limited. + * Copyright (c) 2017-2018 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -34,6 +34,8 @@ #include "tests/validation/Helpers.h" #include "tests/validation/reference/DepthwiseConvolutionLayer.h" +#include "utils/Utils.h" + #include namespace arm_compute @@ -82,7 +84,7 @@ protected: } case DataType::S32: { - std::uniform_int_distribution distribution(-1000, 1000); + std::uniform_int_distribution distribution(-100, 100); library->fill(tensor, distribution, i); break; } @@ -136,7 +138,7 @@ protected: { SimpleTensor src{ in_shape, data_type, 1, 0, quantization_info }; SimpleTensor weights{ weights_shape, data_type, 1, 0, quantization_info }; - SimpleTensor biases{ biases_shape, data_type, 1, 0, quantization_info }; + SimpleTensor biases{ biases_shape, bias_data_type, 1, 0, quantization_info }; fill(src, 0); fill(weights, 1); -- cgit v1.2.1