mindspore/docs/api/api_python/dataset_audio/mindspore.dataset.audio.Mag...

13 lines
402 B
ReStructuredText
Raw Normal View History

mindspore.dataset.audio.Magphase
================================
.. py:class:: mindspore.dataset.audio.Magphase(power=1.0)
2022-11-02 22:20:14 +08:00
将shape为(..., 2)的复值光谱图分离,输出幅度和相位。
参数:
2022-11-02 22:20:14 +08:00
- **power** (float) - 范数的幂必须是非负的。默认值1.0。
异常:
2022-11-02 22:20:14 +08:00
- **RuntimeError** - 当输入音频的shape不为(..., 2)。