未验证 提交 a70288de 编写于 作者: C ceci3 提交者: GitHub

Fix concat (#4755)

* fix init

* update

* fix cgan
上级 131a3156
......@@ -42,7 +42,7 @@ class CGAN_model(object):
def network_G(self, input, label, name="generator"):
# concat noise and label
y = fluid.layers.reshape(label, shape=[-1, self.y_dim, 1, 1])
y = fluid.layers.reshape(label, shape=[-1, self.y_dim])
xy = fluid.layers.concat([input, y], 1)
o_l1 = linear(
input=xy,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册