Function wasmedge_sys::ffi::WasmEdge_PluginInitWASINN
source · pub unsafe extern "C" fn WasmEdge_PluginInitWASINN(
NNPreloads: *const *const c_char,
PreloadsLen: u32
)
Expand description
Initialize the wasi_nn plug-in.
This function will initialize the wasi_nn plug-in with the preloads string list. Only available after loading the wasi_nn plug-in and before creating the module instance from the plug-in.
\param NNPreloads the preload string list. NULL if the length is 0. \param PreloadsLen the length of the preload list.