Skip to content

Commit

Permalink
Update onnx_frontend.py
Browse files Browse the repository at this point in the history
  • Loading branch information
HongHongHongL authored Nov 20, 2024
1 parent 72e24ad commit 6ea1f68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/tvm/relax/frontend/onnx/onnx_frontend.py
Original file line number Diff line number Diff line change
Expand Up @@ -1233,7 +1233,7 @@ def _impl_v11(cls, bb, inputs, attr, params):
kernel_layout = "OIDHW"
else:
raise NotImplementedError("Ndim > 5 not supported for convolution.")

if "auto_pad" in attr:
attr["auto_pad"] = attr["auto_pad"].decode("utf-8")
if attr["auto_pad"] in ("SAME_UPPER", "SAME_LOWER"):
Expand Down

0 comments on commit 6ea1f68

Please sign in to comment.