Skip to content

Commit

Permalink
Merge pull request #201 from robertknight/transpose-missing-perm
Browse files Browse the repository at this point in the history
Fix conversion of `Transpose` operator with missing `perm` attr
  • Loading branch information
robertknight authored May 21, 2024
2 parents 5a5e2e4 + 83b56d2 commit c7dbdc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rten-convert/rten_convert/converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -921,7 +921,7 @@ def op_node_from_onnx_operator(

case "Transpose":
attrs = sg.TransposeAttrsT()
attrs.perm = op_reader.get_attr("perm", "ints", [])
attrs.perm = op_reader.get_attr("perm", "ints", None)

case "Trilu":
attrs = sg.TriluAttrsT()
Expand Down

0 comments on commit c7dbdc2

Please sign in to comment.