mlx.core.fft.ifftshift

目录

mlx.core.fft.ifftshift#

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

The inverse of fftshift(). While identical to fftshift() for even-length axes, the behavior differs for odd-length axes.

参数:
  • a (array) -- The input array.

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

返回:

The inverse-shifted array with the same shape as the input.

返回类型:

array