espnet2.enh.decoder.null_decoder.NullDecoder
Less than 1 minute
espnet2.enh.decoder.null_decoder.NullDecoder
class espnet2.enh.decoder.null_decoder.NullDecoder
Bases: AbsDecoder
Null decoder, return the same args.
Initializes internal Module state, shared by both nn.Module and ScriptModule.
forward(input: Tensor, ilens: Tensor, fs: int | None = None)
Forward. The input should be the waveform already.
- Parameters:
- input (torch.Tensor) – wav [Batch, sample]
- ilens (torch.Tensor) – input lengths [Batch]
- fs (int) – sampling rate in Hz (Not used)