Function tvm::runtime::function::ffi::TVMModFree[][src]

pub unsafe extern "C" fn TVMModFree(mod_: *mut c_void) -> i32
Expand description

\brief Free the Module \param mod The module to be freed.

\note This may not free up the module’s resources. If there is active TVMFunctionHandle uses the module Or if this module is imported by another active module.

The all functions remains valid until TVMFuncFree is called. \return 0 when success, nonzero when failure happens