Skip to content

Commit

Permalink
new string format for schedule for legibility (apache#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
tmoreau89 committed Jan 2, 2019
1 parent 56c57e5 commit 1fd2a7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vta/python/vta/top/vta_conv2d.py
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,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+)oc_t(\d+)h_t(\d+)', sched_str)
matchObj = re.match( r'b(\d+)_oc(\d+)_ic(\d+)_h(\d+)_w(\d+)_oct(\d+)_ht(\d+)', sched_str)
b_factor = int(matchObj.group(1))
oc_factor = int(matchObj.group(2))
ic_factor = int(matchObj.group(3))
Expand Down

0 comments on commit 1fd2a7e

Please sign in to comment.