From a4beddbe757ff34d90591c79d9ed8462752ee47c Mon Sep 17 00:00:00 2001
From: wucong.lyb <wucong.lyb@alibaba-inc.com>
Date: 星期四, 29 六月 2023 17:14:17 +0800
Subject: [PATCH] Merge branch 'main' of https://github.com/alibaba-damo-academy/FunASR
---
funasr/layers/sinc_conv.py | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/funasr/layers/sinc_conv.py b/funasr/layers/sinc_conv.py
index 33df97f..ab16a73 100644
--- a/funasr/layers/sinc_conv.py
+++ b/funasr/layers/sinc_conv.py
@@ -5,7 +5,6 @@
"""Sinc convolutions."""
import math
import torch
-from typeguard import check_argument_types
from typing import Union
@@ -71,7 +70,6 @@
window_func: Window function on the filter, one of ["hamming", "none"].
fs (str, int, float): Sample rate of the input data
"""
- assert check_argument_types()
super().__init__()
window_funcs = {
"none": self.none_window,
@@ -208,7 +206,6 @@
torch.Tensor: Filter start frequenc铆es.
torch.Tensor: Filter stop frequencies.
"""
- assert check_argument_types()
# min and max bandpass edge frequencies
min_frequency = torch.tensor(30.0)
max_frequency = torch.tensor(fs * 0.5)
@@ -257,7 +254,6 @@
torch.Tensor: Filter start frequenc铆es.
torch.Tensor: Filter stop frequenc铆es.
"""
- assert check_argument_types()
# min and max BARK center frequencies by approximation
min_center_frequency = torch.tensor(70.0)
max_center_frequency = torch.tensor(fs * 0.45)
--
Gitblit v1.9.1