tqchen opened a new pull request, #808: URL: https://github.com/apache/tvm-ffi/pull/808
Add reusable object construction helpers and class/field extension points to TVM FFI. - Support field-based reconstruction and checked named tuples using FFI type conversion. - Run callbacks after field resolution, with isolated decorator state and deferred parent resolution. - Register additional type attributes through `__ffi_type_attr_names__` and select parent values with `__ffi_inherit_type_attrs__`. - Expose opaque field metadata, callback-consumed keyword options, and annotation positions through `__ffi_field_markers__`. - Allow fields named `self` and propagate invalid field/default conversions through construction and deserialization. Validation: 1,421 Python tests passed; C++ CTest suite and changed-file formatting/lint checks passed. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
