From 164c2e4adfa25cf12141bc7a965eb3d6a75e7732 Mon Sep 17 00:00:00 2001 From: inisis Date: Sat, 22 Jun 2024 12:01:44 +0000 Subject: [PATCH] update graph rewriter --- onnxslim/core/graph_rewriter.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/onnxslim/core/graph_rewriter.py b/onnxslim/core/graph_rewriter.py index bef1413..eb2b16f 100644 --- a/onnxslim/core/graph_rewriter.py +++ b/onnxslim/core/graph_rewriter.py @@ -147,9 +147,7 @@ def match_(node, pattern_node): else: if len(node_feeds) != len(pattern_node.input_names): logger.debug( - "len(node_feeds) != len(pattern_node.input_names)", - len(node_feeds), - len(pattern_node.input_names), + f"len(node_feeds) != len(pattern_node.input_names) {len(node_feeds)} != {len(pattern_node.input_names)}", ) return False