tir.const should be used when we want to represent a constant immediate. We do 
not recommend `alloc_const` was used to create an allocation that associates 
with some constant array. 

Although we do not recommend using it, since it is not compatible with many tir 
schedules. Instead, we encourage passing the relevant constant in as a buffer 
when possible. Then do allocation at graph level





---
[Visit 
Topic](https://discuss.tvm.apache.org/t/what-is-the-difference-between-tvm-tir-const-and-ir-builder-allocate-const-in-tvm-graph-construction-using-tir/15199/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/544ed4f562ba42780889ec24eb1c7efcaa0bd954f7e560da956fd2c5e18eb282).

Reply via email to