Skip to content

Commit

Permalink
feat: add ONNX to the graph encoding enum (#16)
Browse files Browse the repository at this point in the history
This commit adds ONNX to the graph encoding enum, preparing
the addition of an ONNX implementation for WASI NN.
(see https://github.com/deislabs/wasi-nn-onnx for an implementation).

Signed-off-by: Radu Matei <radu.matei@fermyon.com>
  • Loading branch information
radu-matei authored Apr 6, 2022
1 parent d681fa2 commit c557b2e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions phases/ephemeral/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -1328,6 +1328,8 @@ TODO document buffer order

- <a href="#graph_encoding.tensorflow" name="graph_encoding.tensorflow"></a> `tensorflow`

- <a href="#graph_encoding.onnx" name="graph_encoding.onnx"></a> `onnx`

## <a href="#execution_target" name="execution_target"></a> `execution_target`: `Variant`
Define where the graph should be executed.

Expand Down
1 change: 1 addition & 0 deletions phases/ephemeral/witx/wasi_ephemeral_nn.witx
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@
;;; TODO document buffer order
$openvino
$tensorflow
$onnx
)
)

Expand Down

0 comments on commit c557b2e

Please sign in to comment.