雾聪
2024-04-17 200bba87f0060cfbc92c6ff45026313c188b6452
funasr/models/normalize/global_mvn.py
@@ -6,8 +6,9 @@
import torch
from funasr.models.transformer.utils.nets_utils import make_pad_mask
from funasr.register import tables
@tables.register("normalize_classes", "GlobalMVN")
class GlobalMVN(torch.nn.Module):
    """Apply global mean and variance normalization
    TODO(kamo): Make this class portable somehow