Function tvm::ffi::reflection::RegisterAutoInit

Function tvm::ffi::reflection::RegisterAutoInit#

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.