From f59b16f42ef68bde877b70816ffb953d64c8baa3 Mon Sep 17 00:00:00 2001 From: Isabella Gottardi Date: Thu, 25 Jul 2019 12:03:39 +0100 Subject: COMPMID-2336: Set the correct valid region to the concatenation layer output Change-Id: I1ff84054758a9a189f33d3180b5d81b3615963c7 Signed-off-by: Isabella Gottardi Reviewed-on: https://review.mlplatform.org/c/1620 Reviewed-by: Gian Marco Iodice Comments-Addressed: Arm Jenkins Tested-by: Arm Jenkins --- src/core/CL/kernels/CLWidthConcatenate2TensorsKernel.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/core/CL/kernels/CLWidthConcatenate2TensorsKernel.cpp') diff --git a/src/core/CL/kernels/CLWidthConcatenate2TensorsKernel.cpp b/src/core/CL/kernels/CLWidthConcatenate2TensorsKernel.cpp index bd4ff2c735..9c533dc89d 100644 --- a/src/core/CL/kernels/CLWidthConcatenate2TensorsKernel.cpp +++ b/src/core/CL/kernels/CLWidthConcatenate2TensorsKernel.cpp @@ -137,6 +137,9 @@ void CLWidthConcatenate2TensorsKernel::configure(const ICLTensor *input1, const ICLKernel::configure_internal(std::get<1>(win_config)); + // Set output valid region + output->info()->set_valid_region(ValidRegion(Coordinates(), output->info()->tensor_shape())); + // Pass paddings as arguments to the kernel const unsigned int input1_width = input1->info()->dimension(0); const unsigned int input1_right_padding = ceil_to_multiple(input1_width, num_elems_processed_per_iteration) - input1_width; -- cgit v1.2.1