diff --git a/imperative/python/megengine/functional/nn.py b/imperative/python/megengine/functional/nn.py index 684dcdaffcf28d9e3ba5a82d689655b7900751b7..58a60b4d543c68243419d8e964a24c9c909373b2 100644 --- a/imperative/python/megengine/functional/nn.py +++ b/imperative/python/megengine/functional/nn.py @@ -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: