From cf489f59e844bc943792a17574fd53b7ce980b64 Mon Sep 17 00:00:00 2001 From: wangchaochaohu Date: Tue, 24 Mar 2020 12:50:51 +0800 Subject: [PATCH] fix typo test=develop (#1939) --- doc/fluid/user_guides/cv_case/gan/network.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/fluid/user_guides/cv_case/gan/network.py b/doc/fluid/user_guides/cv_case/gan/network.py index b030e1190..6f0e85f4a 100644 --- a/doc/fluid/user_guides/cv_case/gan/network.py +++ b/doc/fluid/user_guides/cv_case/gan/network.py @@ -91,7 +91,7 @@ def conv_cond_concat(x, y): """Concatenate conditioning vector on feature map axis.""" x_shape = fluid.layers.shape(x) ones = fluid.layers.fill_constant( - x, [x_shape[0], y.shape[1], x.shape[2], x.shape[3]], "float32", 1.0) + [x_shape[0], y.shape[1], x.shape[2], x.shape[3]], "float32", 1.0) return fluid.layers.concat([x, ones * y], 1) -- GitLab