espnet2.asr.encoder.beats_encoder.GLU_Linear
Less than 1 minute
espnet2.asr.encoder.beats_encoder.GLU_Linear
class espnet2.asr.encoder.beats_encoder.GLU_Linear(input_dim, output_dim, glu_type='sigmoid', bias_in_glu=True)
Bases: Module
GLU Linear layer
Initializes internal Module state, shared by both nn.Module and ScriptModule.
forward(x)
Forward pass