diff options
author | SiCongLi <sicong.li@arm.com> | 2021-02-24 15:40:57 +0000 |
---|---|---|
committer | SiCong Li <sicong.li@arm.com> | 2021-03-08 09:39:14 +0000 |
commit | b88272e2dcf09803cd275cfeb5ca1ea743a091ff (patch) | |
tree | 6637bef6d413bc513ffa451b0993102d7da57f4d /src/core/cpu/kernels/CpuReshapeKernel.cpp | |
parent | c7b1e84ac5f3ada1b2f78c66979ef4d44804a955 (diff) | |
download | ComputeLibrary-b88272e2dcf09803cd275cfeb5ca1ea743a091ff.tar.gz |
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 <sicong.li@arm.com>
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/5203
Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/core/cpu/kernels/CpuReshapeKernel.cpp')
-rw-r--r-- | src/core/cpu/kernels/CpuReshapeKernel.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core/cpu/kernels/CpuReshapeKernel.cpp b/src/core/cpu/kernels/CpuReshapeKernel.cpp index 41ff8bd390..4ab1612518 100644 --- a/src/core/cpu/kernels/CpuReshapeKernel.cpp +++ b/src/core/cpu/kernels/CpuReshapeKernel.cpp @@ -82,13 +82,11 @@ void CpuReshapeKernel::configure(const ITensorInfo *src, ITensorInfo *dst) { ARM_COMPUTE_ERROR_ON_NULLPTR(src, dst); ARM_COMPUTE_ERROR_THROW_ON(validate_arguments(src, dst)); + ARM_COMPUTE_UNUSED(dst); // Configure kernel window Window win = calculate_max_window(*src); - // Set the destination valid region - dst->set_valid_region(ValidRegion(Coordinates(), dst->tensor_shape())); - ICpuKernel::configure(win); } |