In the long term, we probably want to improve FoldConstant to hint that for 
some op such as shapeof, we just need its input shape to be constant. In the 
short term, I'm not very sure about whether we need a pass specifically for it. 
Another way is we just modify the frontend to infer_value for the second input 
of slice_like.





---
[Visit 
Topic](https://discuss.tvm.ai/t/slice-like-cant-be-constant-folded/6206/3) 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/c1418c057990fe625220ee91a608c09054e99c00ca384f34550c8b4490030301).

Reply via email to