Skip to content

Commit

Permalink
Fix reshape usage in ARM Winograd (apache#5732)
Browse files Browse the repository at this point in the history
  • Loading branch information
comaniac authored and Trevor Morris committed Jun 18, 2020
1 parent d4d1581 commit 162fcf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion topi/python/topi/arm_cpu/conv2d_alter_op.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def _alter_conv2d_layout(attrs, inputs, tinfos, out_type):
weight_expr = relay.reshape(weight_expr,
newshape=(KH + tile_size - 1,
KW + tile_size - 1,
idxd(CO, VC), VC, CI))
CO // VC, VC, CI))
weight_expr = relay.transpose(weight_expr, axes=[0, 1, 2, 4, 3])

new_attrs['tile_size'] = tile_size
Expand Down

0 comments on commit 162fcf9

Please sign in to comment.