未验证 提交 cf489f59 编写于 作者: W wangchaochaohu 提交者: GitHub

fix typo test=develop (#1939)

上级 8f8eebbc
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册