bytecodealliance / bytecodealliance/wasi-nn

Wrap Rust bindings in higher-level API

Open
#32 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
CSS
Stars
55
Forks
36
PR merge metrics
No merged PRs in 30d

Description

As I was working on https://github.com/bytecodealliance/wasmtime/pull/2831, I realized that the wasi-nn Rust bindings are still relatively low level: the example is still forced to [use `unsafe`](https://github.com/bytecodealliance/wasmtime/blob/8387bc0d76896bd724a0db85a28437c5465540b0/crates/wasi-nn/examples/classification-example/src/main.rs#L12) and [jump through memory hoops](https://github.com/bytecodealliance/wasmtime/blob/8387bc0d76896bd724a0db85a28437c5465540b0/crates/wasi-nn/examples/classification-example/src/main.rs#L50-L51) to retrieve the output tensor.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.