electriclilies opened a new pull request #8750:
URL: https://github.com/apache/tvm/pull/8750


   This PR is part of some work I am doing to remove LoweredModule. We need to 
have attributes on the IRModules as well as on BaseFuncs to be able to remove 
it. Adding DictAttrs to IRModule required refactoring some of the attribute 
utility functions. 
   
   Previously, GetAttr and HasNonzerAttr were members of BaseFunc. I moved them 
to be members of DictAttr so that they can also be used for the DictAttr in the 
IRModule. Finally, I changed WithAttrs so that it can also work for IRModules.
   
   cc @jroesch @mbs-octoml @tkonolige @michalpiszczek 


-- 
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