espnet2.enh.layers.tcn.ChannelwiseLayerNorm
Less than 1 minute
espnet2.enh.layers.tcn.ChannelwiseLayerNorm
class espnet2.enh.layers.tcn.ChannelwiseLayerNorm(channel_size, shape='BDT')
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, K], M is batch size, N is channel size, K is length
- Returns: [M, N, K]
- Return type: cLN_y
reset_parameters()