提交 9d2b9d61 编写于 作者: J jameswu2014

fetch-resize-bug test=develop

上级 b31ef95d
...@@ -80,6 +80,7 @@ void FetchKernel<FPGA, float>::Compute(const FetchParam<FPGA> &param) { ...@@ -80,6 +80,7 @@ void FetchKernel<FPGA, float>::Compute(const FetchParam<FPGA> &param) {
auto output = &param.Out()->at(col); auto output = &param.Out()->at(col);
if (input->type() == type_id<float>()) { if (input->type() == type_id<float>()) {
output->ShareDataWith(*input); output->ShareDataWith(*input);
output->Resize(input->dims());
return; return;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册