[Apache TVM Discuss] [Development/pre-RFC] [RFC] TVMScript Metaprogramming

2022-06-18 Thread Lite Ye via Apache TVM Discuss
That's a good idea. I cross posted the Q&A above to the RFC PR. --- [Visit Topic](https://discuss.tvm.apache.org/t/rfc-tvmscript-metaprogramming/12969/5) to respond. You are receiving this because you enabled mailing list mode. To unsubscribe from these emails, [click here](https://disc

[Apache TVM Discuss] [Development/pre-RFC] [RFC] TVMScript Metaprogramming

2022-06-17 Thread Lite Ye via Apache TVM Discuss
Yes, that's right. Actually you can write imperative code to construct IR graph now, by calling IR node constructors from `tvm.tir.stmt|expr` manually. The new things behind F4 are: 1. IRBuilder API, which can be used to construct IR nodes in a more concise way compared to calling node constru

[Apache TVM Discuss] [Development/pre-RFC] [RFC] TVMScript Metaprogramming

2022-06-16 Thread Lite Ye via Apache TVM Discuss
Hi all, we sent out an RFC for TVMScript Metaprogramming at https://github.com/apache/tvm-rfcs/pull/79. Below is a section quoted from the RFC for better visibility, describing what metaprogramming features we want to support in this RFC. Would love to hear about your thoughts and feedback! [