mlx.core.fft.fftshift

目錄

mlx.core.fft.fftshift#

fftshift(a: array, axes: Sequence[int] | None = None, stream: Stream | Device | None = None) array#

將零頻率成分移到頻譜中心。

參數:
  • a (array) -- The input array.

  • axes (list(int), optional) -- Axes over which to perform the shift. If None, shift all axes.

回傳:

The shifted array with the same shape as the input.

回傳型別:

array