捷徑

torchaudio.functional.mu_law_decoding

torchaudio.functional.mu_law_decoding(x_mu: Tensor, quantization_channels: int) Tensor[原始碼]

解碼 mu-law 編碼訊號。

This feature supports the following devices: CPU, CUDA This API supports the following properties: TorchScript

如需更多資訊,請參閱維基百科條目

此函數預期輸入值介於 0 和 quantization_channels - 1 之間,並傳回縮放介於 -1 和 1 之間的訊號。

參數:
  • x_mu (Tensor) – 輸入張量

  • quantization_channels (int) – 通道數量

傳回:

mu-law 解碼後的輸入

傳回類型:

Tensor

文件

存取 PyTorch 的完整開發者文件

檢視文件

教學

取得初學者和進階開發者的深入教學

檢視教學

資源

尋找開發資源並獲得問題解答

檢視資源