masahi edited a comment on pull request #6395: URL: https://github.com/apache/incubator-tvm/pull/6395#issuecomment-686768783
> 1. Currently, I'm using environment variables to pass these from python to the codegen in C++. I wonder if there is a better way to do this? How about using Config mechanism? I learned about this from ethos integration (thanks @mbaret) and it cleaned up my code as well. See the definition of ConfigNode below and its usage. https://github.com/apache/incubator-tvm/blob/30cd2302e4078b3a8787e30d70fd79e5b729ec82/src/relay/backend/contrib/ethosn/codegen_ethosn.h#L219 ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org