espnet2.enh.layers.bsrnn.ChannelwiseLayerNorm
Less than 1 minute
espnet2.enh.layers.bsrnn.ChannelwiseLayerNorm
class espnet2.enh.layers.bsrnn.ChannelwiseLayerNorm(channel_size, shape='BDTF')
Bases: Module
Channel-wise Layer Normalization (cLN).
Initializes internal Module state, shared by both nn.Module and ScriptModule.
forward(y)
Forward.
- Parameters:y – [M, N, T, K], M is batch size, N is channel size, T and K are lengths
- Returns: [M, N, T, K]
- Return type: cLN_y
reset_parameters()