While adding an operator in Topi, most of the time we need to put certain 
checks on dynamic input data values for which values are known at runtime only. 
Is there a way in the form of tensor expression, to assert values in compute 
definition?

For ex.  An operator accepts indices as dynamic inputs and we want to check if 
they are out of bound. How to add such a kind of checks in the compute 
definition which will throw an error at the runtime.





---
[Visit 
Topic](https://discuss.tvm.ai/t/how-to-add-assertion-checks-in-tensor-compute-definition/6773/1)
 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/0ede5edfa29ca0a423344dc4ec2aed99017aa21df25808734ab2d4dcab984043).

Reply via email to