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

20 lines
1.5 KiB
ReStructuredText
Raw 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.dataset.audio.InverseMelScale
=======================================
.. py:class:: mindspore.dataset.audio.InverseMelScale(n_stft, n_mels=128, sample_rate=16000, f_min=0.0, f_max=None, max_iter=100000, tolerance_loss=1e-5, tolerance_change=1e-8, sgdargs=None, norm=NormType.NONE, mel_type=MelType.HTK)
使用转换矩阵求解STFT形成梅尔频率的STFT。
参数:
- **n_stft** (int) - STFT中的滤波器的组数。
- **n_mels** (int, 可选) - mel滤波器的数量默认值128。
- **sample_rate** (int, 可选) - 音频信号采样频率默认值16000。
- **f_min** (float, 可选) - 最小频率默认值0.0。
- **f_max** (float, 可选) - 最大频率默认值None将设置为 `sample_rate//2`
- **max_iter** (int, 可选) - 最大优化迭代次数默认值100000。
- **tolerance_loss** (float, 可选) - 当达到损失值时停止优化默认值1e-5。
- **tolerance_change** (float, 可选) - 指定损失差异当达到损失差异时停止优化默认值1e-8。
- **sgdargs** (dict, 可选) - SGD优化器的参数默认值None将设置为{'sgd_lr': 0.1, 'sgd_momentum': 0.9}。
- **norm** (NormType, 可选) - 标准化方法可以是NormType.SLANEY或NormType.NONE。默认值NormType.NONE。
- **mel_type** (MelType, 可选) - 要使用的Mel比例可以是MelType.SLAN或MelType.HTK。默认值MelType.HTK。