From 55170b27af4b3ec04a76fe05d2028f4e598524d2 Mon Sep 17 00:00:00 2001 From: Radu Matei Date: Wed, 6 Apr 2022 15:34:09 +0200 Subject: [PATCH] feat: add ONNX to the graph encoding enum 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 --- phases/ephemeral/docs.md | 2 ++ phases/ephemeral/witx/wasi_ephemeral_nn.witx | 1 + 2 files changed, 3 insertions(+) diff --git a/phases/ephemeral/docs.md b/phases/ephemeral/docs.md index 0448638..c0e350b 100644 --- a/phases/ephemeral/docs.md +++ b/phases/ephemeral/docs.md @@ -1328,6 +1328,8 @@ TODO document buffer order - `tensorflow` +- `onnx` + ## `execution_target`: `Variant` Define where the graph should be executed. diff --git a/phases/ephemeral/witx/wasi_ephemeral_nn.witx b/phases/ephemeral/witx/wasi_ephemeral_nn.witx index 2792113..ec7c7b2 100644 --- a/phases/ephemeral/witx/wasi_ephemeral_nn.witx +++ b/phases/ephemeral/witx/wasi_ephemeral_nn.witx @@ -82,6 +82,7 @@ ;;; TODO document buffer order $openvino $tensorflow + $onnx ) )