I wrote some ops with te and topi, and found that when using te.var to 
represent op input shape,it became much slower than constant shape,when with 
the same schedule.

When I look into the generated cuda code, there are lots of if sentences about 
the var,which make it much slower.So I wonder if there is a way to get rid of 
those if sentences,because I think most of them are useless.Maybe some 
assertion? But how to add assertion in TE?


Thank you for any advice!





---
[Visit 
Topic](https://discuss.tvm.apache.org/t/ops-become-slow-when-using-te-var/11486/1)
 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/aebe336b11fd42bb918cf68d79a7f93e8840bd4b8cf049a6b9be0b5f0789f6a1).

Reply via email to