From e6fdc573f0307d18bbc37c2248659f48e3e36ce4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20KUBLER?= <gregoire.kubler@proton.me> Date: Tue, 2 Apr 2024 16:15:29 +0200 Subject: [PATCH] chore : renamed function --- aidge_onnx/onnx_import.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aidge_onnx/onnx_import.py b/aidge_onnx/onnx_import.py index 9e920cc..a8de870 100644 --- a/aidge_onnx/onnx_import.py +++ b/aidge_onnx/onnx_import.py @@ -15,7 +15,7 @@ import colorama from onnx import numpy_helper import onnx from .node_import import ONNX_NODE_CONVERTER_, generic -from .utils import onnx_to_aidge_convert_model_names +from .utils import onnx_to_aidge_model_names def load_onnx(filename: str, verbose: bool = False): """Load an ONNX file and convert it into a :py:class:`aidge_core.GraphView`. @@ -107,7 +107,7 @@ def _load_onnx2graphview(model:onnx.ModelProto, verbose:bool = False): # Clean model if some issues in the model # might affect Aidge in the next steps - model = onnx_to_aidge_convert_model_names(model) + model = onnx_to_aidge_model_names(model) if verbose : print(f"\nGetting Initializers\n====================") # Get the initializers for i in model.graph.initializer: -- GitLab