From 9d2b9d61d094ec9f2114578b129af4fd1dc8884d Mon Sep 17 00:00:00 2001 From: jameswu2014 <545426914@qq.com> Date: Sat, 7 Mar 2020 18:28:25 +0800 Subject: [PATCH] fetch-resize-bug test=develop --- mobile/src/operators/kernel/fpga/V1/fetch_kernel.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/mobile/src/operators/kernel/fpga/V1/fetch_kernel.cpp b/mobile/src/operators/kernel/fpga/V1/fetch_kernel.cpp index 87ede2af1a..729fd289c8 100644 --- a/mobile/src/operators/kernel/fpga/V1/fetch_kernel.cpp +++ b/mobile/src/operators/kernel/fpga/V1/fetch_kernel.cpp @@ -80,6 +80,7 @@ void FetchKernel::Compute(const FetchParam ¶m) { auto output = ¶m.Out()->at(col); if (input->type() == type_id()) { output->ShareDataWith(*input); + output->Resize(input->dims()); return; } -- GitLab