From 2481d468415a77b42ea269189b0c2dc8be68af98 Mon Sep 17 00:00:00 2001 From: Georgios Pinitas Date: Tue, 19 Feb 2019 18:47:46 +0000 Subject: COMPMID-1710: Quantization information missmatching issues. Change-Id: I6a38fd270476bb072384c39bbfdcc940f258fd53 Signed-off-by: Georgios Pinitas Reviewed-on: https://review.mlplatform.org/730 Reviewed-by: Michele Di Giorgio Tested-by: Arm Jenkins --- src/runtime/NEON/functions/NEDepthwiseConvolutionLayer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/runtime/NEON') diff --git a/src/runtime/NEON/functions/NEDepthwiseConvolutionLayer.cpp b/src/runtime/NEON/functions/NEDepthwiseConvolutionLayer.cpp index db7f9af420..f0fd4cf256 100644 --- a/src/runtime/NEON/functions/NEDepthwiseConvolutionLayer.cpp +++ b/src/runtime/NEON/functions/NEDepthwiseConvolutionLayer.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017-2018 ARM Limited. + * Copyright (c) 2017-2019 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -72,7 +72,7 @@ void NEDepthwiseConvolutionLayer3x3::configure(ITensor *input, const ITensor *we accum_layout = DataLayout::NCHW; } - _accumulator.allocator()->init(TensorInfo(accum_shape, 1, DataType::S32, input->info()->quantization_info())); + _accumulator.allocator()->init(TensorInfo(accum_shape, 1, DataType::S32, output->info()->quantization_info())); _accumulator.info()->set_data_layout(accum_layout); zero_value = PixelValue(static_cast(input->info()->quantization_info().offset)); } -- cgit v1.2.1