diff --git a/mobile/src/operators/kernel/fpga/V1/fetch_kernel.cpp b/mobile/src/operators/kernel/fpga/V1/fetch_kernel.cpp index 87ede2af1ab2fa3225c0cd3e75c3fe0c8c8fb509..729fd289c89b94dd0c5f64e17205e388a686ca74 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; }