From 555333c425f9a23fd3498af505c24525a2df0895 Mon Sep 17 00:00:00 2001 From: Hagen Wierstorf Date: Tue, 10 Oct 2023 14:16:22 +0200 Subject: [PATCH] Fix docstring test --- audonnx/core/testing.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/audonnx/core/testing.py b/audonnx/core/testing.py index 3ae16a6..c2b9fef 100644 --- a/audonnx/core/testing.py +++ b/audonnx/core/testing.py @@ -136,7 +136,10 @@ def create_model_proto( Examples: >>> create_model_proto([[2]]) - ir_version: 8 + ir_version: 9 + opset_import { + version: 14 + } producer_name: "test" graph { node { @@ -172,9 +175,6 @@ def create_model_proto( } } } - opset_import { - version: 14 - } .. _`supported data types`: https://onnxruntime.ai/docs/reference/operators/custom-python-operator.html#supported-data-types