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

13 lines
413 B
ReStructuredText
Raw Normal View History

mindspore.dataset.audio.Magphase
================================
.. py:class:: mindspore.dataset.audio.Magphase(power=1.0)
将具有(..., 2形状的复值光谱图分离输出幅度和相位。
参数:
- **power** (float) - 范数的功率必须是非负的默认值1.0。
异常:
- **RuntimeError** - 当输入音频的shape不为<..., 2>。