diff --git a/python/paddle/fluid/layers/nn.py b/python/paddle/fluid/layers/nn.py index 77545d600217d258f52363913fdb11f7f2009025..a5a3aa2f3a5905cac8a876a16a64a9b2c1cfe688 100644 --- a/python/paddle/fluid/layers/nn.py +++ b/python/paddle/fluid/layers/nn.py @@ -6529,7 +6529,7 @@ def image_resize(input, resample='BILINEAR', actual_shape=None, align_corners=True, - align_mode=0): + align_mode=1): """ **Resize a Batch of Images** @@ -6743,7 +6743,7 @@ def resize_bilinear(input, name=None, actual_shape=None, align_corners=True, - align_mode=0): + align_mode=1): """ Resize input by performing bilinear interpolation based on given output shape which specified by actual_shape, out_shape and scale