Skip to content

Commit 68cb535

Browse files
committed
fix code style
1 parent 33f65b4 commit 68cb535

File tree

5 files changed

+6
-53
lines changed

5 files changed

+6
-53
lines changed

docs/api/paddle/bartlett_window_cn.rst

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,8 @@
33
bartlett_window
44
-------------------------------
55

6-
.. py:function:: paddle.bartlett_window(
7-
window_length: int,
8-
periodic: bool = True,
9-
*,
10-
dtype: str = 'float32',
11-
layout: str | None = None,
12-
device: PlaceLike | None = None,
13-
pin_memory: bool = False,
14-
requires_grad: bool = False,
15-
)
6+
.. py:function:: paddle.bartlett_window(window_length, periodic=True, dtype='float32', layout=None, device=None, pin_memory=False, requires_grad=False)
7+
168
179
计算一个 Bartlett 窗。
1810

docs/api/paddle/blackman_window_cn.rst

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,7 @@
33
blackman_window
44
-------------------------------
55

6-
.. py:function:: paddle.blackman_window(
7-
window_length: int,
8-
periodic: bool = True,
9-
*,
10-
dtype: str = 'float32',
11-
layout: str | None = None,
12-
device: PlaceLike | None = None,
13-
pin_memory: bool = False,
14-
requires_grad: bool = False,
15-
)
6+
.. py:function:: paddle.blackman_window(window_length, periodic=True, dtype='float32', layout=None, device=None, pin_memory=False, requires_grad=False)
167
178
计算一个 Blackman 窗。
189

docs/api/paddle/hamming_window_cn.rst

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,7 @@
33
hamming_window
44
-------------------------------
55

6-
.. py:function:: paddle.hamming_window(
7-
window_length: int,
8-
periodic: bool = True,
9-
alpha: float = 0.54,
10-
beta: float = 0.46,
11-
*,
12-
dtype: str = 'float32',
13-
layout: str | None = None,
14-
device: PlaceLike | None = None,
15-
pin_memory: bool = False,
16-
requires_grad: bool = False,
17-
)
6+
.. py:function:: paddle.hamming_window(window_length, periodic=True, alpha=0.54, beta=0.46, dtype='float32', layout=None, device=None, pin_memory=False, requires_grad=False)
187
198
计算一个广义的汉明窗。
209

docs/api/paddle/hann_window_cn.rst

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,7 @@
33
hann_window
44
-------------------------------
55

6-
.. py:function:: paddle.hann_window(
7-
window_length: int,
8-
periodic: bool = True,
9-
*,
10-
dtype: str = 'float32',
11-
layout: str | None = None,
12-
device: PlaceLike | None = None,
13-
pin_memory: bool = False,
14-
requires_grad: bool = False,
15-
)
6+
.. py:function:: paddle.hann_window(window_length, periodic=True, dtype='float32', layout=None, device=None, pin_memory=False, requires_grad=False)
167
178
计算一个 Hann 窗。
189

docs/api/paddle/kaiser_window_cn.rst

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,7 @@
33
kaiser_window
44
-------------------------------
55

6-
.. py:function:: paddle.kaiser_window(
7-
window_length: int,
8-
periodic: bool = True,
9-
beta: float = 12.0,
10-
*,
11-
dtype: str = 'float32',
12-
layout: str | None = None,
13-
device: PlaceLike | None = None,
14-
pin_memory: bool = False,
15-
requires_grad: bool = False,
16-
)
6+
.. py:function:: paddle.kaiser_window(window_length, periodic=True, beta=12.0, dtype='float32', layout=None, device=None, pin_memory=False, requires_grad=False)
177
188
计算一个 Kaiser 窗。
199

0 commit comments

Comments
 (0)