Function tvm_rt::function::ffi::TVMFuncRegisterGlobal [−][src]
pub unsafe extern "C" fn TVMFuncRegisterGlobal(
name: *const i8,
f: *mut c_void,
override_: i32
) -> i32Expand description
\brief Register the function to runtime’s global table.
The registered function then can be pulled by the backend by the name.
\param name The name of the function. \param f The function to be registered. \param override Whether allow override already registered function.
