bytecodealliance / wasi-nn

High-level bindings for wasi-nn system calls
Apache License 2.0
45 stars 35 forks source link

Changing getOutput bindings to require passing an array. #40

Closed brianjjones closed 3 years ago

brianjjones commented 3 years ago

The user can now allocate the size of the array they want to use for the output buffer. This will allow users to use different buffer sizes based on their needs, and make it more obvious what is going wrong if they run out of memory.