Skip to content
Snippets Groups Projects
Commit b8f898a4 authored by Julien Girard-Satabin's avatar Julien Girard-Satabin
Browse files

Clarified opset import and supported onnx versions

parent 0480aae4
No related branches found
No related tags found
No related merge requests found
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
- a node description of type [descr] - a node description of type [descr]
[descr] describes several operations. Most of them are direct transcription [descr] describes several operations. Most of them are direct transcription
of the ONNX v13 standard, which a description is available here: of the ONNX IR v8 standard, which a description is available here:
https://onnx.ai/onnx/operators/index.html. https://onnx.ai/onnx/operators/index.html.
Nodes only require their inputs: it is assumed that a node only returns one Nodes only require their inputs: it is assumed that a node only returns one
......
...@@ -58,7 +58,7 @@ let convert_into_tensor ?name (t : Nir.Gentensor.t) = ...@@ -58,7 +58,7 @@ let convert_into_tensor ?name (t : Nir.Gentensor.t) =
let default_opset_import = let default_opset_import =
let open Oproto.Onnx in let open Oproto.Onnx in
let onnx_domain = "" in let onnx_domain = "" in
OperatorSetIdProto.make ~domain:onnx_domain ~version:8L () OperatorSetIdProto.make ~domain:onnx_domain ~version:22L ()
let nier_simple_to_onnx_protoc (nier_simple : Nir.Ngraph.t) = let nier_simple_to_onnx_protoc (nier_simple : Nir.Ngraph.t) =
let open Oproto.Onnx in let open Oproto.Onnx in
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment