From 9b3b01622a896ff2b70a84ac934dc9521eb7d8c2 Mon Sep 17 00:00:00 2001
From: Yaman Umuroglu <yamanu@xilinx.com>
Date: Wed, 1 Jul 2020 14:02:23 +0100
Subject: [PATCH] [Core] remove duplicate line in exception

---
 src/finn/core/onnx_exec.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/finn/core/onnx_exec.py b/src/finn/core/onnx_exec.py
index 61c5f2619..7c3123cd5 100644
--- a/src/finn/core/onnx_exec.py
+++ b/src/finn/core/onnx_exec.py
@@ -103,7 +103,6 @@ def execute_node(node, context, graph):
                     raise Exception(
                         """Output shapes disagree after node execution:
                         found %s vs expected %s"""
-                        % (str(output_list[list_ind].shape), str(context[outp].shape),)
                         % (str(output_list[list_ind].shape), str(context[outp].shape))
                     )
                 context[outp] = output_list[list_ind]
-- 
GitLab