Lunderberg commented on PR #11097:
URL: https://github.com/apache/tvm/pull/11097#issuecomment-1106907278

   I put together [a gist with some meta-parameter 
tests](https://gist.github.com/Lunderberg/dd38f82810e4e06c0834087d4a96bda9).  
The convolution at the start is the sort of thing I'd like to be able to 
express.  The later tests were me experimenting with things that felt like they 
should work, but not all of them do.  The main categories of the failures I 
made were:
   
   * Couldn't get the `T.Buffer` type annotation to work with a meta-parameter 
for shape/dtype.
   * Some Dtype meta-parameters work, but must be passed through as strings 
when used in `T.alloc_buffer` or `T.match_buffer`.  Type annotations require 
`tir_prefix.name` types, and do not work with strings.  I'd like to have a 
definitive dtype that could be used as a meta-parameter.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to