Skip to content

Commit

Permalink
Update fft.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jaskiratsingh2000 authored Sep 15, 2023
1 parent 6ff9a15 commit 9f5fdba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ivy/functional/frontends/paddle/fft.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ def fft2(x, s=None, axes=(-2, -1), norm="backward", name=None):
(0, max(0, length - x.shape[ax])) if i == ax else (0, 0)
for i in range(x.ndim)
],
)
)

# Apply FFT along the first axis
fft_first_axis = fft(x, n=s[0] if s else None, axis=axes[0], norm=norm)

Expand Down

0 comments on commit 9f5fdba

Please sign in to comment.