Skip to content

Commit b38525f

Browse files
committed
update docs
1 parent e41244b commit b38525f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/paddle/nn/functional/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1737,7 +1737,7 @@ def pad(
17371737
pad_from_first_axis (bool, optional): When mode is ``'constant'`` and the input ``'pad'`` is a list or tuple and the
17381738
length of ``'pad'`` is not ``2*(x.ndim - 2)``, the order of padding can be customized. If True, the padding will be started from
17391739
the first axis of ``'x'``; if False, it will be started from the last axis of ``'x'``. Default: True.
1740-
name (str | None, optional): For details, please refer to :ref:`api_guide_Name`. Generally, no setting is required. Default: ``'None'``.
1740+
name (str|None, optional): For details, please refer to :ref:`api_guide_Name`. Generally, no setting is required. Default: ``'None'``.
17411741
17421742
Returns:
17431743
Tensor, a Tensor padded according to pad and mode and data type is same as input.

0 commit comments

Comments
 (0)