-
Notifications
You must be signed in to change notification settings - Fork 876
update paddle.nn.Pad1D/2D/3D cn docs #5136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
3061b83
b2ff037
68b1879
81224e1
85aeaa7
77f6b75
798415a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -11,13 +11,13 @@ Pad1D | |
| 参数 | ||
| :::::::::::: | ||
|
|
||
| - **padding** (Tensor | List[int] | int) - 填充大小。如果是 int,则在所有待填充边界使用相同的填充, | ||
| - **padding** (Tensor|list[int]|int) - 填充大小。如果是 int,则在所有待填充边界使用相同的填充, | ||
| 否则填充的格式为[pad_left, pad_right]。 | ||
| - **mode** (str) - padding 的四种模式,分别为 ``'constant'``, ``'reflect'``, ``'replicate'`` 和 ``'circular'``。 | ||
| - **mode** (str,可选) - padding 的四种模式,分别为 ``'constant'``, ``'reflect'``, ``'replicate'`` 和 ``'circular'``。 | ||
|
||
| ``'constant'`` 表示填充常数 ``value`` ; ``'reflect'`` 表示填充以输入边界值为轴的映射;``'replicate'`` 表示 | ||
| 填充输入边界值;``'circular'`` 为循环填充输入。默认值为 ``'constant'``。 | ||
|
||
| - **value** (float32) - 以 ``'constant'`` 模式填充区域时填充的值。默认值为 0.0。 | ||
| - **data_format** (str) - 指定输入的 format,可为 ``'NCL'`` 或者 ``'NLC'``,默认值为 ``'NCL'``。 | ||
| - **value** (float,可选) - 以 ``'constant'`` 模式填充区域时填充的值。默认值为 0.0。 | ||
|
||
| - **data_format** (str,可选) - 指定输入的 format,可为 ``'NCL'`` 或者 ``'NLC'``,默认值为 ``'NCL'``。 | ||
|
||
| - **name** (str,可选) - 具体用法请参见 :ref:`api_guide_Name`,一般无需设置,默认值为 None。 | ||
|
|
||
| 返回 | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
中文里同一个参数不建议折行,直接把下一行放在
,后面即可