提交 6f7649e9 编写于 作者: M Megvii Engine Team

docs(docstring): fix pad docstring

GitOrigin-RevId: 698d2f1c0de8d739993db6598286c43482ceafdc
上级 bf32d1e0
......@@ -1721,8 +1721,8 @@ def pad(
mode: One of the following string values. Default: ``'constant'``
* ``'constant'``: Pads with a constant value.
* ``'reflect'``: Pads with the edge values of tensor.
* ``'replicate'``: Pads with the reflection of the tensor mirrored on the first and last values of the tensor along each axis.
* ``'reflect'``: Pads with the reflection of the tensor mirrored on the first and last values of the tensor along each axis.
* ``'replicate'``: Pads with the edge values of tensor.
constant_val: Fill value for ``'constant'`` padding. Default: 0
Examples:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册