Function TVMFFIEnvRegisterCAPI#
Defined in File c_env_api.h
Function Documentation#
-
int TVMFFIEnvRegisterCAPI(const char *name, void *symbol)#
Register a symbol into the from the surrounding env such as python.
- Parameters:
name – The name of the symbol.
symbol – The symbol to register.
- Returns:
0 when success, nonzero when failure happens