Skip to content

Commit

Permalink
handle when axes is list for rot90 in jax backend (ivy-llc#10513)
Browse files Browse the repository at this point in the history
  • Loading branch information
fnhirwa authored Feb 13, 2023
1 parent 26b57e0 commit 29a0d3d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ivy/functional/backends/jax/experimental/manipulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ def rot90(
axes: Optional[Tuple[int, int]] = (0, 1),
out: Optional[JaxArray] = None,
) -> JaxArray:
if isinstance(axes, list):
axes = tuple(axes)
return jnp.rot90(m, k, axes)


Expand Down

0 comments on commit 29a0d3d

Please sign in to comment.