aboutsummaryrefslogtreecommitdiff
path: root/src/core/cpu/kernels/CpuConcatenateDepthKernel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/cpu/kernels/CpuConcatenateDepthKernel.cpp')
-rw-r--r--src/core/cpu/kernels/CpuConcatenateDepthKernel.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/core/cpu/kernels/CpuConcatenateDepthKernel.cpp b/src/core/cpu/kernels/CpuConcatenateDepthKernel.cpp
index f64c282ae4..d8eed44cd8 100644
--- a/src/core/cpu/kernels/CpuConcatenateDepthKernel.cpp
+++ b/src/core/cpu/kernels/CpuConcatenateDepthKernel.cpp
@@ -179,11 +179,7 @@ void CpuConcatenateDepthKernel::configure(const ITensorInfo *src, unsigned int d
}
// Configure kernel window
- Window win = calculate_max_window(*dst, Steps());
- Coordinates coord;
- coord.set_num_dimensions(dst->num_dimensions());
-
- dst->set_valid_region(ValidRegion(coord, dst->tensor_shape()));
+ Window win = calculate_max_window(*dst, Steps());
ICpuKernel::configure(win);
}