functional_db_to_amplitude {torchaudio} | R Documentation |
DB to Amplitude (functional)
Description
Turn a tensor from the decibel scale to the power/amplitude scale.
Usage
functional_db_to_amplitude(x, ref, power)
Arguments
x |
(Tensor): Input tensor before being converted to power/amplitude scale. |
ref |
(float): Reference which the output will be scaled by. (Default: |
power |
(float): If power equals 1, will compute DB to power. If 0.5, will compute
DB to amplitude. (Default: |
Value
tensor
: Output tensor in power/amplitude scale.
[Package torchaudio version 0.3.1 Index]