espnet2.layers.utterance_mvn.utterance_mvn
Less than 1 minute
espnet2.layers.utterance_mvn.utterance_mvn
espnet2.layers.utterance_mvn.utterance_mvn(x: Tensor, ilens: Tensor | None = None, norm_means: bool = True, norm_vars: bool = False, eps: float = 1e-20) → Tuple[Tensor, Tensor]
Apply utterance mean and variance normalization
- Parameters:
- x – (B, T, D), assumed zero padded
- ilens – (B,)
- norm_means
- norm_vars
- eps