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 committed Feb 13, 2023
1 parent cb0d344 commit eaaae4f
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 eaaae4f

Please sign in to comment.