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
7823ae2d
Unverified
Commit
7823ae2d
authored
Jun 30, 2021
by
Quan (Andy) Gan
Committed by
GitHub
Jun 30, 2021
Browse files
add TUDataset notice (#3075)
Co-authored-by:
Jinjing Zhou
<
VoVAllen@users.noreply.github.com
>
parent
4307fe88
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
python/dgl/data/tu.py
python/dgl/data/tu.py
+7
-0
No files found.
python/dgl/data/tu.py
View file @
7823ae2d
...
...
@@ -252,6 +252,13 @@ class TUDataset(DGLBuiltinDataset):
num_labels : int
Number of classes
Notes
-----
**IMPORTANT:** Some of the datasets have duplicate edges exist in the graphs, e.g.
the edges in ``IMDB-BINARY`` are all duplicated. DGL faithfully keeps the duplicates
as per the original data. Other frameworks such as PyTorch Geometric removes the
duplicates by default. You can remove the duplicate edges with :func:`dgl.to_simple`.
Examples
--------
>>> data = TUDataset('DD')
...
...
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