@tqchen,  Just to be on same page. Could you please confirm below?
We need NOT to register ONNXModule as "target.build.onnx". If registered this 
way, it will get invoked from here when we specify target as "onnx".
https://github.com/apache/incubator-tvm/blob/2cd987d92724be0f859bfb624ce797f9c70167bb/src/target/codegen.cc#L49

But we need to register as external codegen as "relay.ext.onnx". If registered 
this way, it will get invoked from here when graph is annotated as "onnx".
https://github.com/apache/incubator-tvm/blob/2cd987d92724be0f859bfb624ce797f9c70167bb/src/relay/backend/compile_engine.cc#L591





---
[Visit Topic](https://discuss.tvm.ai/t/rfc-relay-to-onnx/6101/24) to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click 
here](https://discuss.tvm.ai/email/unsubscribe/9d28ba662e5e8346ff1a2a96d42fb6a9b03464c4099e3823324a49d36cee8073).

Reply via email to