aboutsummaryrefslogtreecommitdiff
path: root/src/core/cpu/kernels/CpuConcatenateBatchKernel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/cpu/kernels/CpuConcatenateBatchKernel.cpp')
-rw-r--r--src/core/cpu/kernels/CpuConcatenateBatchKernel.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/core/cpu/kernels/CpuConcatenateBatchKernel.cpp b/src/core/cpu/kernels/CpuConcatenateBatchKernel.cpp
index 48eac13041..bd6d777572 100644
--- a/src/core/cpu/kernels/CpuConcatenateBatchKernel.cpp
+++ b/src/core/cpu/kernels/CpuConcatenateBatchKernel.cpp
@@ -183,10 +183,7 @@ void CpuConcatenateBatchKernel::configure(const ITensorInfo *src, unsigned int b
}
// 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);
}