functional_mu_law_decoding: Mu Law Decoding (functional)

Description Usage Arguments Details Value

Description

Decode mu-law encoded signal. For more info see the Wikipedia Entry

Usage

1
functional_mu_law_decoding(x_mu, quantization_channels)

Arguments

x_mu

(Tensor): Input tensor

quantization_channels

(int): Number of channels

Details

This expects an input with values between 0 and quantization_channels - 1 and returns a signal scaled between -1 and 1.

Value

tensor: Input after mu-law decoding


torchaudio documentation built on May 5, 2021, 5:06 p.m.