transform_mu_law_encoding | R Documentation |
Encode signal based on mu-law companding. For more info see the Wikipedia Entry
transform_mu_law_encoding(quantization_channels = 256)
quantization_channels |
(int, optional): Number of channels. (Default: |
forward param: x (Tensor): A signal to be encoded.
This algorithm assumes the signal has been scaled to between -1 and 1 and returns a signal encoded with values from 0 to quantization_channels - 1.
x_mu (Tensor): An encoded signal.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.