Q1: Yes. This is one important purpose of introducing BYOC. All existing graph 
optimizations can be directly leveraged for custom codegens.

Q2: It's up to you. In general most BYOC developers wish to generate compilable 
code directly from the graph level IR, because it is easier for them to 
integrate their tool chains. On the other hand, if your codegen accepts TIR, 
you could still lower the partitioned Relay function to TIR and feed to your 
codegen.





---
[Visit 
Topic](https://discuss.tvm.apache.org/t/if-target-c-how-to-execute-the-c-program/11519/14)
 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/bb948f01d8d0ce7e18a34e39dd99a4b1d26d55aebebbd5856d627fe857923164).

Reply via email to