快捷方式

torchaudio.functional.create_dct

torchaudio.functional.create_dct(n_mfcc: int, n_mels: int, norm: Optional[str]) Tensor[source]

创建一个 DCT 转换矩阵,形状为 (n_mels, n_mfcc),根据 norm 进行归一化。

This feature supports the following devices: CPU This API supports the following properties: TorchScript
参数:
  • n_mfcc (int) – 要保留的 mfc 系数数量

  • n_mels (int) – Mel 滤波器组的数量

  • norm (strNone) – 要使用的范数(“ortho” 或 None)

返回:

转换矩阵,将右乘大小为 (n_mels, n_mfcc) 的行式数据。

返回类型:

Tensor

文档

访问 PyTorch 的全面开发者文档

查看文档

教程

获取面向初学者和高级开发者的深入教程

查看教程

资源

查找开发资源并获得解答

查看资源