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

add initialization of padding parameters in feed op

上级 5737bb9c
......@@ -56,6 +56,8 @@ class FeedOp : public framework::OperatorBase<DeviceType> {
args.image.channels = input->dims()[1];
args.image.height = input->dims()[2];
args.image.width = input->dims()[3];
args.image.pad_height = 0;
args.image.pad_width = 0;
args.output.address = output_ptr;
fpga::PerformBypass(args);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册