|
|
@@ -16,7 +16,6 @@ from typing import List, Optional, Tuple, Union
|
|
|
|
|
|
import numpy
|
|
|
import torch
|
|
|
-from typeguard import check_argument_types
|
|
|
|
|
|
from funasr.models.encoder.abs_encoder import AbsEncoder
|
|
|
from funasr.modules.cgmlp import ConvolutionalGatingMLP
|
|
|
@@ -321,7 +320,6 @@ class BranchformerEncoder(AbsEncoder):
|
|
|
padding_idx: int = -1,
|
|
|
stochastic_depth_rate: Union[float, List[float]] = 0.0,
|
|
|
):
|
|
|
- assert check_argument_types()
|
|
|
super().__init__()
|
|
|
self._output_size = output_size
|
|
|
|