From b88272e2dcf09803cd275cfeb5ca1ea743a091ff Mon Sep 17 00:00:00 2001 From: SiCongLi Date: Wed, 24 Feb 2021 15:40:57 +0000 Subject: Remove usage of valid window region in NHWC CPU kernels - Part2 Remove set_valid_region methods from all NHWC CPU ML functions / operators / kernels Resolves COMPMID-4152 (2/2) Change-Id: If9725e9c5b0213b87db96675e81b7fb724970b98 Signed-off-by: SiCongLi Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/5203 Reviewed-by: Georgios Pinitas Tested-by: Arm Jenkins --- src/core/NEON/kernels/NEGEMMLowpReductionKernel.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/core/NEON/kernels/NEGEMMLowpReductionKernel.cpp') diff --git a/src/core/NEON/kernels/NEGEMMLowpReductionKernel.cpp b/src/core/NEON/kernels/NEGEMMLowpReductionKernel.cpp index db038e559e..965b04df2c 100644 --- a/src/core/NEON/kernels/NEGEMMLowpReductionKernel.cpp +++ b/src/core/NEON/kernels/NEGEMMLowpReductionKernel.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017-2020 Arm Limited. + * Copyright (c) 2017-2021 Arm Limited. * * SPDX-License-Identifier: MIT * @@ -82,7 +82,6 @@ void NEGEMMLowpMatrixAReductionKernel::configure(const ITensor *mtx_a, ITensor * auto_init_if_empty(*_output->info(), TensorShape(_input->info()->dimension(1)), 1, DataType::S32); Window win = calculate_max_window(*_output->info(), Steps(1)); - _output->info()->set_valid_region(ValidRegion(Coordinates(), _output->info()->tensor_shape())); INEKernel::configure(win); } @@ -204,7 +203,6 @@ void NEGEMMLowpMatrixBReductionKernel::configure(const ITensor *mtx_b, ITensor * // Configure kernel window Window win = calculate_max_window_horizontal(*_output->info(), Steps(num_elems_processed_per_iteration)); - _output->info()->set_valid_region(ValidRegion(Coordinates(), _output->info()->tensor_shape())); INEKernel::configure(win); } -- cgit v1.2.1