From 8745f62dffa207bfbd4bcbb670e5e74fb58dbf9b Mon Sep 17 00:00:00 2001 From: Thierry Moreau Date: Sun, 5 Aug 2018 19:00:51 -0700 Subject: [PATCH] typo fix (#10) --- vta/python/vta/top/vta_conv2d.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vta/python/vta/top/vta_conv2d.py b/vta/python/vta/top/vta_conv2d.py index 91bb8d2ef19f..4e1a676f95dd 100644 --- a/vta/python/vta/top/vta_conv2d.py +++ b/vta/python/vta/top/vta_conv2d.py @@ -415,7 +415,7 @@ def _traverse(op): pad_data = None wrkld = _get_workload(data, pad_data, kernel, output) if planStr: - matchObj = re.match( r'b(\d+)_oc(\d+)_ic(\d+)_h(\d+)_w(\d+)_oct(\d+)_ht(\d+)', sched_str) + matchObj = re.match( r'b(\d+)_oc(\d+)_ic(\d+)_h(\d+)_w(\d+)_oct(\d+)_ht(\d+)', planStr) b_factor = int(matchObj.group(1)) oc_factor = int(matchObj.group(2)) ic_factor = int(matchObj.group(3))