bytecodealliance / wasi-nn

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

Fix hardcoded value in AssemblyScript's getOutput #39

Closed abrown closed 3 years ago

abrown commented 3 years ago

Ideally we could figure out a way to grow the buffer to the right size or something like that; worst case we need to pass in the max buffer size, the expected tensor dimensions, or a zero-initialized tensor of the right size.

abrown commented 3 years ago

Fixed in #40.