未验证 提交 1f53d54f 编写于 作者: J Jackwaterveg 提交者: GitHub

Merge pull request #792 from yt605155624/fix_glu

Fix glu
......@@ -362,7 +362,7 @@ class GLU(nn.Layer):
self.dim = dim
def forward(self, xs):
return F.glu(xs, dim=self.dim)
return F.glu(xs, axis=self.dim)
if not hasattr(paddle.nn, 'GLU'):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册