快捷方式

torchaudio.functional.create_dct

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

建立一個 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 的全面開發者文件

檢視文件

教程

獲取面向初學者和高階開發者的深度教程

檢視教程

資源

查詢開發資源並獲得問題解答

檢視資源