Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dgl
Commits
56682040
Unverified
Commit
56682040
authored
Jan 18, 2023
by
Rhett Ying
Committed by
GitHub
Jan 18, 2023
Browse files
[Doc] specify pytorch backend for tutorials
parent
2331feac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
tutorials/blitz/4_link_predict.py
tutorials/blitz/4_link_predict.py
+2
-0
No files found.
tutorials/blitz/4_link_predict.py
View file @
56682040
...
...
@@ -18,6 +18,8 @@ By the end of this tutorial you will be able to
"""
import
itertools
import
os
os
.
environ
[
'DGLBACKEND'
]
=
'pytorch'
import
numpy
as
np
import
scipy.sparse
as
sp
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment