提交 6c9aa421 编写于 作者: J jameswu2014

pre-commit pass

上级 9d2b9d61
...@@ -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 dims equal to input dim
output->Resize(input->dims()); output->Resize(input->dims());
return; return;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册