Lunderberg opened a new pull request, #11454: URL: https://github.com/apache/tvm/pull/11454
Both the function `tvm.tir.decl_buffer` and the TVMScript `T.match_buffer` expression allow a `PrimExpr` to be passed as the buffer shape, which is interpreted as a 1-d buffer of that size. This allows the same behavior to be used in the `T.Buffer` syntactic sugar. (e.g. `A: T.Buffer[16, "float32"]` instead of `A: T.Buffer[(16,), "float32"`) -- 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]
