Unverified Commit 79940695 authored by Quan (Andy) Gan's avatar Quan (Andy) Gan Committed by GitHub
Browse files

[Examples][Bug] fix a silly typo in JTNN (#2505)

parent e2e524df
......@@ -8,7 +8,7 @@ def cuda(x):
if torch.cuda.is_available() and not os.getenv('NOCUDA', None):
return x.to(torch.device('cuda')) # works for both DGLGraph and tensor
else:
return tensor
return x
class GRUUpdate(nn.Module):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment