From b64cdaf6dc138c45d8aa0996c7b83091257f3611 Mon Sep 17 00:00:00 2001 From: tink2123 Date: Fri, 25 Jan 2019 00:45:56 -0800 Subject: [PATCH] modified default parameters test=develop --- python/paddle/fluid/layers/nn.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/paddle/fluid/layers/nn.py b/python/paddle/fluid/layers/nn.py index 77545d60021..a5a3aa2f3a5 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 -- GitLab