"git@developer.sourcefind.cn:OpenDAS/vision.git" did not exist on "d62c1df3540a7b3393971ae96fbbe05ff680b495"
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): ...@@ -8,7 +8,7 @@ def cuda(x):
if torch.cuda.is_available() and not os.getenv('NOCUDA', None): if torch.cuda.is_available() and not os.getenv('NOCUDA', None):
return x.to(torch.device('cuda')) # works for both DGLGraph and tensor return x.to(torch.device('cuda')) # works for both DGLGraph and tensor
else: else:
return tensor return x
class GRUUpdate(nn.Module): 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