Question: BYOC : replace nn.conv2d() to our nucfpga_conv2d()

From your example it’s hard to judge whether nuc_fpga_conv2d is invoked correctly. You may first check the partitioned graph to see if nn.conv2d is partitioned to a function with kCompiler=“nuc_fpga”.