From a9d9d5f9616a2a62caae7773ef98263dd24a5c11 Mon Sep 17 00:00:00 2001 From: zxcd <228587199@qq.com> Date: Wed, 16 Apr 2025 19:25:29 +0800 Subject: [PATCH] fix (#4061) --- paddlespeech/audiotools/core/_julius.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/paddlespeech/audiotools/core/_julius.py b/paddlespeech/audiotools/core/_julius.py index f33f6724a..c4f986086 100644 --- a/paddlespeech/audiotools/core/_julius.py +++ b/paddlespeech/audiotools/core/_julius.py @@ -63,9 +63,6 @@ def sinc(x: paddle.Tensor): __Warning__: the input is not multiplied by `pi`! """ - if satisfy_paddle_version("3.0"): - return paddle.sinc(x) - return paddle.where( x == 0, paddle.to_tensor(1.0, dtype=x.dtype, place=x.place),