espnet2.asr.state_spaces.base.SequenceIdentity
Less than 1 minute
espnet2.asr.state_spaces.base.SequenceIdentity
class espnet2.asr.state_spaces.base.SequenceIdentity(*args, transposed=False, **kwargs)
Bases: SequenceIdentity
Simple SequenceModule for testing purposes.
Initialize SequenceModule.
d_model: input dimension (sometimes denoted H for hidden dimension) transposed: if True, inputs have axis ordering (B, H, L) instead of (B, H, L)
forward(x, state=None, **kwargs)
Forward pass.