提交 af5f3e05 编写于 作者: qnqinan's avatar qnqinan

update

上级 f2117454
...@@ -58,11 +58,9 @@ bool FusionFcKernel<FPGA, float>::Init(FusionFcParam *param) { ...@@ -58,11 +58,9 @@ bool FusionFcKernel<FPGA, float>::Init(FusionFcParam *param) {
convArgs.image.width = input_x->dims()[3]; convArgs.image.width = input_x->dims()[3];
convArgs.image.pad_height = 0; convArgs.image.pad_height = 0;
convArgs.image.pad_width = 0; convArgs.image.pad_width = 0;
convArgs.image.scale_address = convArgs.image.scale_address = input_x->fpga_args().scale_pointer();
input_x->fpga_args().scale_pointer();
convArgs.output.address = (void *)out_ptr; convArgs.output.address = (void *)out_ptr;
convArgs.output.scale_address = convArgs.output.scale_address = out->fpga_args().scale_pointer();
out->fpga_args().scale_pointer();
param->SetFpgaArgs(convArgs); param->SetFpgaArgs(convArgs);
return true; return true;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册