Hzfengsy opened a new pull request, #18079: URL: https://github.com/apache/tvm/pull/18079
This commit introduces functionality to merge block annotations in TVM script. The implementation includes: - MergeAnnotations function that recursively merges annotation dictionaries - Support for nested dictionary merging with new values overriding old ones - Error handling for conflicting annotation values - BlockAttrs function that uses the merging logic to combine multiple T.block_attr() calls within the same block The feature allows users to specify block attributes incrementally using multiple T.block_attr() calls, which will be automatically merged together. -- 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]
