espnet2.enh.separator.tfgridnet_separator.GridNetBlock
Less than 1 minute
espnet2.enh.separator.tfgridnet_separator.GridNetBlock
class espnet2.enh.separator.tfgridnet_separator.GridNetBlock(emb_dim, emb_ks, emb_hs, n_freqs, hidden_channels, n_head=4, approx_qk_dim=512, activation='prelu', eps=1e-05)
Bases: Module
Initializes internal Module state, shared by both nn.Module and ScriptModule.
forward(x)
GridNetBlock Forward.
- Parameters:
- x – [B, C, T, Q]
- out – [B, C, T, Q]