Skip to content

Commit a9d9d5f

Browse files
authored
fix (#4061)
1 parent 2da5175 commit a9d9d5f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

paddlespeech/audiotools/core/_julius.py

-3
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,6 @@ def sinc(x: paddle.Tensor):
6363
6464
__Warning__: the input is not multiplied by `pi`!
6565
"""
66-
if satisfy_paddle_version("3.0"):
67-
return paddle.sinc(x)
68-
6966
return paddle.where(
7067
x == 0,
7168
paddle.to_tensor(1.0, dtype=x.dtype, place=x.place),

0 commit comments

Comments
 (0)