hnluo
2023-07-28 c64d4b25e2d60981953dc4b2e984cb90410d5c7b
funasr/models/e2e_sv.py
@@ -1,4 +1,3 @@
"""
Author: Speech Lab, Alibaba Group, China
"""
@@ -13,7 +12,6 @@
from typing import Union
import torch
from typeguard import check_argument_types
from funasr.layers.abs_normalize import AbsNormalize
from funasr.losses.label_smoothing_loss import (
@@ -57,7 +55,6 @@
            pooling_layer: torch.nn.Module,
            decoder: AbsDecoder,
    ):
        assert check_argument_types()
        super().__init__()
        # note that eos is the same as sos (equivalent ID)