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); } diff --git a/tools/op.cmake b/tools/op.cmake index fd2b103842a3017fa5c93d39602a4c2bee47d94e..74f296646e7df7991e59daedc34ecc68895ad5cb 100644 --- a/tools/op.cmake +++ b/tools/op.cmake @@ -108,6 +108,7 @@ if ("FPGAnets" IN_LIST NET) set(DROPOUT_OP ON) set(FUSION_CONVBNRELU_OP ON) set(FUSION_CONVBN_OP ON) + set(FUSION_CONVADD_OP ON) set(FOUND_MATCH ON) endif()