Turn a tensor from the decibel scale to the power/amplitude scale.

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: 1.0)

power

(float): If power equals 1, will compute DB to power. If 0.5, will compute DB to amplitude. (Default: 1.0)

Value

tensor: Output tensor in power/amplitude scale.