快捷方式

torchaudio.functional.mu_law_decoding

torchaudio.functional.mu_law_decoding(x_mu: Tensor, quantization_channels: int) Tensor[source]

解碼 mu-law 編碼訊號。

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

更多資訊請參見 Wikipedia 條目

輸入值應在 0 到 quantization_channels - 1 之間,返回訊號的值範圍在 -1 到 1 之間。

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

  • quantization_channels (int) – 通道數量

返回:

mu-law 解碼後的輸入

返回型別:

Tensor

文件

訪問 PyTorch 的完整開發者文件

檢視文件

教程

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

檢視教程

資源

查詢開發資源並獲得解答

檢視資源