瀏覽代碼

fix padding docstring

will-jl944 4 年之前
父節點
當前提交
59aed54e12
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      dygraph/paddlex/cv/transforms/operators.py

+ 1 - 1
dygraph/paddlex/cv/transforms/operators.py

@@ -917,7 +917,7 @@ class Padding(Transform):
                  label_padding_value=255,
                  label_padding_value=255,
                  coarsest_stride=32):
                  coarsest_stride=32):
         """
         """
-        Pad image to a specified size or multiple of size_divisor.
+        Pad image to a specified size or multiple of coarsest_stride.
 
 
         Args:
         Args:
             target_size(int, Sequence, optional): Image target size, if None, pad to multiple of size_divisor. Defaults to None.
             target_size(int, Sequence, optional): Image target size, if None, pad to multiple of size_divisor. Defaults to None.