tqchen commented on PR #18289:
URL: https://github.com/apache/tvm/pull/18289#issuecomment-3270297565

   ## Upgrade Guide
   
   - Use TVM_FFI_DECLARE_OBJECT_INFO(TypeKey, TypeName, Parent);
       - Note that type key decl folded into this one
   - TVM_FFI_DECLARE_OBJECT_INFO_PREDEFINED_TYPE_KEY(TypeName, Parent); is the 
previous TVM_FFI_DECLARE_BASE_OBJECT_INFO, need to add _type_final = true; 
explicitly if done this way
   - TVM_FFI_DECLARE_OBJECT_INFO_FINAL(TypeKey, TypeName, Parent);
   
   - TVM_FFI_DEFINE_NOTNULLABLE_OBJECT_REF_METHODS => 
TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE
   -TVM_FFI_DEFINE_NULLABLE_OBJECT_REF_METHODS  => 
TVM_FFI_DEFINE_OBJECT_REF_METHODS_NULLABLE
   
   For macros that contains _MUTABLE, instead declare _type_mutable=true in the 
object static field
   
    
    


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