We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 248e10b commit e4d2673Copy full SHA for e4d2673
core/iwasm/libraries/wasi-nn/src/wasi_nn.c
@@ -780,6 +780,12 @@ static NativeSymbol native_symbols_wasi_nn[] = {
780
#if WASM_ENABLE_WASI_EPHEMERAL_NN != 0
781
REG_NATIVE_FUNC(load, "(*iii*)i"),
782
REG_NATIVE_FUNC(load_by_name, "(*i*)i"),
783
+
784
+ /* load_by_name_with_config is intented to be compatible with
785
+ * a wasmedge extension.
786
+ * https://github.com/second-state/wasmedge-wasi-nn/pull/2
787
+ * https://github.com/WasmEdge/WasmEdge/blob/5553924e8cdccdc2cbd2a6a6d0ed9b11250c353e/plugins/wasi_nn/wasinnmodule.cpp#L13-L14
788
+ */
789
REG_NATIVE_FUNC(load_by_name_with_config, "(*i*i*)i"),
790
REG_NATIVE_FUNC(init_execution_context, "(i*)i"),
791
REG_NATIVE_FUNC(set_input, "(ii*)i"),
0 commit comments