Commit 04bfac7
authored
The PR proposes to align `dpnp.fft.fftfreq` and `dpnp.fft.rfftfreq`
functions with
[2024.12](https://data-apis.org/array-api/2024.12/extensions/generated/array_api.fft.fftfreq.html)
revision of Python array API spec where `dtype` keyword was specified
for the functions.
Additionally, implementation of `dpnp.fft.fftfreq` was reworked a bit to
consume less memory and to avoid allocating temporary arrays.
Also docstrings of FFT functions were improved to add blank lines prior
defaults values.
1 parent 395c896 commit 04bfac7
File tree
4 files changed
+178
-50
lines changed- dpnp
- fft
- tests
4 files changed
+178
-50
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
0 commit comments