PaulPalomeroBernardo commented on PR #60:
URL: https://github.com/apache/tvm-rfcs/pull/60#issuecomment-1128673299

   > This aligns with A2.2 -- directly registering each attribute.
   
   @manupa-arm Then just for clarification a few questions because I might have 
misunderstood your initial idea. For A2.1 you were thinking about registering 
an attribute preprocessor to the target 
`Target().add_attrs_preprocessor(Preprocessor)` that would operate on a 
predefined attribute (e.g., `-uma_attrs=<string>`) by processing the `<string>` 
and creating a Dict/Map from it?
   
   So a user would only write `tvm.target.Target("ultra_trail -uma_attrs=<my 
custom attr string>")` and in code you would access the target via 
`target.attrs["uma_attrs"]["attr1"]`, `target.attrs["uma_attrs"]["attr2"]`, 
ect.?


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