diff --git a/src/operators/feed_op.h b/src/operators/feed_op.h index 5969e679552345d25c8c9c7a4950eb3b6d72eca2..0ed3c448e207305ec4a4a4b2ccd926a1e100757d 100644 --- a/src/operators/feed_op.h +++ b/src/operators/feed_op.h @@ -56,6 +56,8 @@ class FeedOp : public framework::OperatorBase { 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); }