espnet2.layers.utterance_mvn.UtteranceMVN
Less than 1 minute
espnet2.layers.utterance_mvn.UtteranceMVN
class espnet2.layers.utterance_mvn.UtteranceMVN(norm_means: bool = True, norm_vars: bool = False, eps: float = 1e-20)
Bases: AbsNormalize
Initializes internal Module state, shared by both nn.Module and ScriptModule.
extra_repr()
Set the extra representation of the module
To print customized extra information, you should re-implement this method in your own modules. Both single-line and multi-line strings are acceptable.
forward(x: Tensor, ilens: Tensor | None = None) → Tuple[Tensor, Tensor]
Forward function
- Parameters:
- x – (B, L, …)
- ilens – (B,)