MCPcopy Create free account
hub / github.com/dask/dask / _fft_out_chunks

Function _fft_out_chunks

dask/array/fft.py:39–46  ·  view source on GitHub ↗

For computing the output chunks of [i]fft*

(a, s, axes)

Source from the content-addressed store, hash-verified

37
38
39def _fft_out_chunks(a, s, axes):
40 """For computing the output chunks of [i]fft*"""
41 if s is None:
42 return a.chunks
43 chunks = list(a.chunks)
44 for i, axis in enumerate(axes):
45 chunks[axis] = (s[i],)
46 return chunks
47
48
49def _rfft_out_chunks(a, s, axes):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected