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 --- .../NEON/kernels/NEGEMMLowpOffsetContributionOutputStageKernel.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/core/NEON/kernels/NEGEMMLowpOffsetContributionOutputStageKernel.cpp') diff --git a/src/core/NEON/kernels/NEGEMMLowpOffsetContributionOutputStageKernel.cpp b/src/core/NEON/kernels/NEGEMMLowpOffsetContributionOutputStageKernel.cpp index 3c8f5ae022..0abf9c4046 100644 --- a/src/core/NEON/kernels/NEGEMMLowpOffsetContributionOutputStageKernel.cpp +++ b/src/core/NEON/kernels/NEGEMMLowpOffsetContributionOutputStageKernel.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019-2020 Arm Limited. + * Copyright (c) 2019-2021 Arm Limited. * * SPDX-License-Identifier: MIT * @@ -851,9 +851,6 @@ std::pair validate_and_configure_window(ITensorInfo *mm_result, // Note: This kernel performs 16 elements per iteration. // However, since we use a left-over for loop, we cannot have any read or write out of memory // For this reason num_elems_processed_per_iteration is 1 and so update_window_and_padding() can be skipped - Coordinates coord; - coord.set_num_dimensions(output->num_dimensions()); - output->set_valid_region(ValidRegion(coord, output->tensor_shape())); return std::make_pair(Status{}, win); } -- cgit v1.2.1