From c7876e8c46b6fd6fe7f52248234191d28d144a9e Mon Sep 17 00:00:00 2001 From: dengkaipeng Date: Tue, 2 Apr 2019 19:54:01 +0800 Subject: [PATCH] fix format. test=develop --- python/paddle/fluid/layers/nn.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python/paddle/fluid/layers/nn.py b/python/paddle/fluid/layers/nn.py index c9e9dfd3c8..7ccb34c24a 100644 --- a/python/paddle/fluid/layers/nn.py +++ b/python/paddle/fluid/layers/nn.py @@ -7146,7 +7146,8 @@ def image_resize(input, inputs['OutSize'] = out_shape else: if not (_is_list_or_turple_(out_shape)): - raise TypeError("out_shape should be a list or tuple or Variable.") + raise TypeError( + "out_shape should be a list or tuple or Variable.") if len(out_shape) != 2: raise ValueError("out_shape length should be 2.") -- GitLab