Skip to content

Commit

Permalink
fix: Fix transpiling numpy.transpose signature
Browse files Browse the repository at this point in the history
  • Loading branch information
hmahmood24 committed Jul 30, 2024
1 parent 4e0e14c commit 1d55e1d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def swapaxes(a, axis1, axis2):


@to_ivy_arrays_and_back
def transpose(array, /, *, axes=None):
def transpose(array, axes=None):
if not axes:
axes = list(range(len(array.shape)))[::-1]
if isinstance(axes, int):
Expand Down

0 comments on commit 1d55e1d

Please sign in to comment.