快捷方式

torchaudio.functional.create_dct

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

创建具有形状(n_mels, n_mfcc)的 DCT 变换矩阵,根据 norm 进行归一化。

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

  • n_mels () – Мел 滤波器组的数量

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

返回

变换矩阵,将右乘形状为(n_mels, n_mfcc)的逐行数据。

返回类型

张量

文档

访问全面的 PyTorch 开发者文档

查看文档

教程

为初学者和高级开发者提供深入的教程

查看教程

资源

查找开发资源并让您的问题得到解答

查看资源