mindspore/docs/api/api_python/numpy/mindspore.numpy.fft.fftshif...

15 lines
589 B
ReStructuredText
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

mindspore.numpy.fft.fftshift
============================
.. py:function:: mindspore.numpy.fft.fftshift(x, axes=None)
将零频率分量移到频谱中心。
参见 :func:`mindspore.ops.fftshift` 获取更多详情。 不同之处在于 `x` 对应 `input` , `axes` 对应 `dim`
参数:
- **x** (Tensor) - 输入Tensor。
- **axes** (Union[int, list(int), tuple(int)], 可选) - 操作所沿的轴。 默认值: ``None`` ,表示对所有轴进行操作。
返回:
Tensor进行移动后的Tensor`x` 的shape和dtype相同。