Function TVMFFITypeRegisterAttr#
Defined in File c_api.h
Function Documentation#
-
int TVMFFITypeRegisterAttr(int32_t type_index, const TVMFFIByteArray *attr_name, const TVMFFIAny *attr_value)#
Register extra type attributes that can be looked up during runtime.
- Returns:
0 on success, nonzero on failure.