espnet.nets.pytorch_backend.frontends.feature_transform.UtteranceMVN
espnet.nets.pytorch_backend.frontends.feature_transform.UtteranceMVN
class espnet.nets.pytorch_backend.frontends.feature_transform.UtteranceMVN(norm_means: bool = True, norm_vars: bool = False, eps: float = 1e-20)
Bases: Module
Initialize 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: LongTensor) → Tuple[Tensor, LongTensor]
Define the computation performed at every call.
Should be overridden by all subclasses.
NOTE
Although the recipe for forward pass needs to be defined within this function, one should call the Module
instance afterwards instead of this since the former takes care of running the registered hooks while the latter silently ignores them.