Merge pull request #792 from yt605155624/fix_glu

Fix glu
pull/794/head
Jackwaterveg 3 years ago committed by GitHub
commit 1f53d54fdd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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'):

Loading…
Cancel
Save