Function tvm::ffi::reflection::RegisterAutoInit#
Defined in File init.h
Function Documentation#
-
inline void tvm::ffi::reflection::RegisterAutoInit(int32_t type_index)#
Auto-generate, register a packed
__ffi_init__method for the given type.Calls MakeInit and registers the result as the type’s
__ffi_init__method with appropriate metadata.- Parameters:
type_index – The runtime type index.