diff --git a/ml.md b/ml.md index f230010..dc9139e 100644 --- a/ml.md +++ b/ml.md @@ -9,14 +9,14 @@ Then, the user passes tensor inputs to the graph, computes the -

Import interface wasi:nn/tensor@0.2.0-rc-2024-06-25

+

Import interface wasi:nn/tensor@0.2.0-rc-2024-08-19

All inputs and outputs to an ML inference are represented as tensors.


Types

@@ -90,7 +90,7 @@ containing a single value, use [1] for the tensor dimensions.

-

Import interface wasi:nn/errors@0.2.0-rc-2024-06-25

+

Import interface wasi:nn/errors@0.2.0-rc-2024-08-19

TODO: create function-specific errors (https://github.com/WebAssembly/wasi-nn/issues/42)


Types

@@ -158,7 +158,7 @@ e.g., cannot access a hardware feature requested -

Import interface wasi:nn/inference@0.2.0-rc-2024-06-25

+

Import interface wasi:nn/inference@0.2.0-rc-2024-08-19

An inference "session" is encapsulated by a graph-execution-context. This structure binds a graph to input tensors before compute-ing an inference:


@@ -213,7 +213,7 @@ https://github.com/WebAssembly/wasi-nn/issues/43.

-

Import interface wasi:nn/graph@0.2.0-rc-2024-06-25

+

Import interface wasi:nn/graph@0.2.0-rc-2024-08-19

A graph is a loaded instance of a specific ML model (e.g., MobileNet) for a specific ML framework (e.g., TensorFlow):


diff --git a/wit/wasi-nn.wit b/wit/wasi-nn.wit index cb891a7..2ae5015 100644 --- a/wit/wasi-nn.wit +++ b/wit/wasi-nn.wit @@ -1,4 +1,4 @@ -package wasi:nn@0.2.0-rc-2024-06-25; +package wasi:nn@0.2.0-rc-2024-08-19; /// `wasi-nn` is a WASI API for performing machine learning (ML) inference. The API is not (yet) /// capable of performing ML training. WebAssembly programs that want to use a host's ML