Skip to content

Commit

Permalink
fix: match torch frontend unflatten signature with native torch
Browse files Browse the repository at this point in the history
  • Loading branch information
Ishticode committed Feb 12, 2024
1 parent 036875b commit 280ce0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ivy/functional/frontends/torch/miscellaneous_ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ def triu_indices(row, col, offset=0, dtype="int64", device="cpu", layout=None):


@to_ivy_arrays_and_back
def unflatten(input, /, *, dim, sizes):
def unflatten(input, dim, sizes):
return ivy.unflatten(input, dim=dim, shape=sizes, out=None)


Expand Down

0 comments on commit 280ce0f

Please sign in to comment.