espnet2.enh.layers.tcn.TemporalBlock
Less than 1 minute
espnet2.enh.layers.tcn.TemporalBlock
class espnet2.enh.layers.tcn.TemporalBlock(in_channels, out_channels, skip_channels, kernel_size, stride, padding, dilation, norm_type='gLN', causal=False)
Bases: Module
Initializes internal Module state, shared by both nn.Module and ScriptModule.
forward(x)
Forward.
- Parameters:x – [M, B, K]
- Returns: [M, B, K]