aboutsummaryrefslogtreecommitdiff
path: root/src/core/CL/kernels/CLReductionOperationKernel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/CL/kernels/CLReductionOperationKernel.cpp')
-rw-r--r--src/core/CL/kernels/CLReductionOperationKernel.cpp4
1 files changed, 0 insertions, 4 deletions
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;