Function tvm_sys::ffi::TVMModGetFunction[][src]

pub unsafe extern "C" fn TVMModGetFunction(
    mod_: TVMModuleHandle,
    func_name: *const c_char,
    query_imports: c_int,
    out: *mut TVMFunctionHandle
) -> c_int
Expand description

\brief Get function from the module. \param mod The module handle. \param func_name The name of the function. \param query_imports Whether to query imported modules \param out The result function, can be NULL if it is not available. \return 0 when no error is thrown, nonzero when failure happens