From c5a8a4cb78f98e6facfcc1cdf366de7229f29758 Mon Sep 17 00:00:00 2001
From: Julien Girard-Satabin <julien.girard2@cea.fr>
Date: Fri, 24 May 2024 13:08:09 +0000
Subject: [PATCH] Set exported opset to 13

---
 lib/onnx/writer.ml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/onnx/writer.ml b/lib/onnx/writer.ml
index 60c8d19..6b8d6f3 100644
--- a/lib/onnx/writer.ml
+++ b/lib/onnx/writer.ml
@@ -58,7 +58,7 @@ let convert_into_tensor ?name (t : Nir.Gentensor.t) =
 let default_opset_import =
   let open Oproto.Onnx in
   let onnx_domain = "" in
-  OperatorSetIdProto.make ~domain:onnx_domain ~version:22L ()
+  OperatorSetIdProto.make ~domain:onnx_domain ~version:13L ()
 
 let nir_to_onnx_protoc (nir : Nir.Ngraph.t) =
   let open Oproto.Onnx in
-- 
GitLab