espnet2.layers.sinc_conv.LogCompression
Less than 1 minute
espnet2.layers.sinc_conv.LogCompression
class espnet2.layers.sinc_conv.LogCompression
Bases: Module
Log Compression Activation.
Activation function log(abs(x) + 1).
Initialize.
forward(x: Tensor) → Tensor
Forward.
Applies the Log Compression function elementwise on tensor x.