Skip to content

Commit

Permalink
Fix naming transpose nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
kunal-vaishnavi authored Apr 29, 2024
1 parent e55b976 commit a220b1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/python/py/models/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ def make_mul(self, name, inputs, dtype, shape):

def make_transpose(self, name, root_input, dtype, shape, perm):
output = f"{name}/output_0"
self.make_node("Transpose", inputs=[root_input], outputs=[output], perm=perm)
self.make_node("Transpose", inputs=[root_input], outputs=[output], name=name, perm=perm)
self.make_value_info(output, dtype, shape=shape)

def make_matmul(self, matmul, name, root_input, **kwargs):
Expand Down

0 comments on commit a220b1b

Please sign in to comment.