junrushao opened a new pull request, #13971: URL: https://github.com/apache/tvm/pull/13971
Previously there are two equivalent ways of declaring a buffer in TVMScript: ```python buffer = T.buffer_decl(...) buffer = T.Buffer(...) ``` The two approaches are aliases to each other and are essentially the same in implementation. Therefore, this PR encourages to use `T.Buffer` as the recommended approach as it's a bit shorter. Meanwhile, `T.buffer_decl` will continue to be valid in TVMScript, but a deprecation warning will be emitted if its used. -- 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]
