From a4244190b6c7dc7d30d6adc621ca9a8b84b677ee Mon Sep 17 00:00:00 2001 From: John Richardson Date: Mon, 14 May 2018 17:20:39 +0100 Subject: COMPMID-948: Remove unused code in CLReductionOperationKernel Remove redudant code left over from validation method refactoring. Update output shapes in CL/ReductionOperation Validate test suite. Change-Id: Ica846dd7f65380fa21708472e10b5bc609a32027 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/131207 Tested-by: Jenkins Reviewed-by: Pablo Tello Reviewed-by: Anthony Barbier --- src/core/CL/kernels/CLReductionOperationKernel.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/core/CL/kernels/CLReductionOperationKernel.cpp') diff --git a/src/core/CL/kernels/CLReductionOperationKernel.cpp b/src/core/CL/kernels/CLReductionOperationKernel.cpp index 1347a9bc94..355dc7948e 100644 --- a/src/core/CL/kernels/CLReductionOperationKernel.cpp +++ b/src/core/CL/kernels/CLReductionOperationKernel.cpp @@ -98,10 +98,6 @@ void CLReductionOperationKernel::configure(const ICLTensor *input, ICLTensor *ou { ARM_COMPUTE_ERROR_ON_NULLPTR(input, output); - // Output tensor auto initialization if not yet initialized - TensorShape output_shape{ input->info()->tensor_shape() }; - output_shape.set(axis, 1); - ARM_COMPUTE_ERROR_THROW_ON(validate_arguments(input->info(), output->info(), axis, op)); const unsigned int num_elems_processed_per_iteration = 16; -- cgit v1.2.1