hanzz2007 commented on issue #6093:
URL: https://github.com/apache/incubator-tvm/issues/6093#issuecomment-660596761


   for example 
   ```C++
   struct LoopPartitionConfigNode : public 
tvm::AttrsNode<LoopPartitionConfigNode> {
     bool partition_const_loop;
   
     TVM_DECLARE_ATTRS(LoopPartitionConfigNode, 
"tir.transform.LoopPartitionConfig") {
       //macro expanded:  __fvisitor__(xxx, xxx)   /*note here, __fvisitor__ 
return a AttrInitEntry<T> object by value, an copy constructor and destructor 
will be called */
       //     .describe().set_default()
       TVM_ATTR_FIELD(partition_const_loop).describe("Split constant 
loop").set_default(false);
     }
   };
   
   
   ```


----------------------------------------------------------------
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:
[email protected]


Reply via email to