Skip to content

Commit c557b2e

Browse files
authored
feat: add ONNX to the graph encoding enum (#16)
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 <[email protected]>
1 parent d681fa2 commit c557b2e

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

phases/ephemeral/docs.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1328,6 +1328,8 @@ TODO document buffer order
13281328

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

1331+
- <a href="#graph_encoding.onnx" name="graph_encoding.onnx"></a> `onnx`
1332+
13311333
## <a href="#execution_target" name="execution_target"></a> `execution_target`: `Variant`
13321334
Define where the graph should be executed.
13331335

phases/ephemeral/witx/wasi_ephemeral_nn.witx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@
8282
;;; TODO document buffer order
8383
$openvino
8484
$tensorflow
85+
$onnx
8586
)
8687
)
8788

0 commit comments

Comments
 (0)