The replacement happens in the codegen, which is launched during the build 
process, so it hasn't happend yet at the line you printed `extern_mod`.

In addition, you should not see `nuc_fpga_conv2d` in Relay graph anyways, 
because `nuc_fpga_conv2d` is not a Relay op. The implementation of 
`nuc_fpga_conv2d` in your codegen is not registering an op to Relay. Instead, 
it just tells Relay when the op is offloaded to nuc_fpga, it should use the 
function you implemented (i.e., `nuc_fpga_conv2d`) to perform `nn.conv2d`.





---
[Visit 
Topic](https://discuss.tvm.apache.org/t/question-byoc-replace-nn-conv2d-to-our-nucfpga-conv2d/9950/2)
 to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click 
here](https://discuss.tvm.apache.org/email/unsubscribe/ab745d1642486aa920b452e756f14bf56cb04d62d313e7f546ae04c7495989a6).

Reply via email to