espnet2.enh.encoder.null_encoder.NullEncoder
Less than 1 minute
espnet2.enh.encoder.null_encoder.NullEncoder
class espnet2.enh.encoder.null_encoder.NullEncoder
Bases: AbsEncoder
Null encoder.
Initializes internal Module state, shared by both nn.Module and ScriptModule.
forward(input: Tensor, ilens: Tensor, fs: int | None = None)
Forward.
- Parameters:
- input (torch.Tensor) – mixed speech [Batch, sample]
- ilens (torch.Tensor) – input lengths [Batch]
- fs (int) – sampling rate in Hz (Not used)
property output_dim : int