Ubospica commented on code in PR #16039:
URL: https://github.com/apache/tvm/pull/16039#discussion_r1384204233
##########
include/tvm/target/tag.h:
##########
@@ -104,6 +104,12 @@ class TargetTagRegEntry {
* \param config The config dict for target creation
*/
inline TargetTagRegEntry& set_config(Map<String, ObjectRef> config);
+ /*!
+ * \brief Add a key-value pair to the config dict
+ * \param key The attribute name
+ * \param value The attribute value
+ */
+ inline TargetTagRegEntry& add_config(String key, ObjectRef value);
Review Comment:
Make sense. Will change the name into with_config.
--
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]