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
63aed582
Unverified
Commit
63aed582
authored
Jun 15, 2021
by
Leonardo Castorina
Committed by
GitHub
Jun 15, 2021
Browse files
[Doc] Fix typo in DGL base dataset class (#2977) #3017
Co-authored-by:
Minjie Wang
<
wmjlyjemaine@gmail.com
>
parent
64d0f3f3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
python/dgl/data/dgl_dataset.py
python/dgl/data/dgl_dataset.py
+5
-5
No files found.
python/dgl/data/dgl_dataset.py
View file @
63aed582
...
...
@@ -12,7 +12,7 @@ from ..utils import retry_method_with_fix
class
DGLDataset
(
object
):
r
"""The basic DGL dataset for creating graph datasets.
This class defines a basic template class for DGL Dataset.
The following steps will
ar
e executed automatically:
The following steps will
b
e executed automatically:
1. Check whether there is a dataset cache on disk
(already processed and stored on the disk) by
...
...
@@ -105,9 +105,9 @@ class DGLDataset(object):
r
"""Overwite to realize your own logic of
saving the processed dataset into files.
It is recommended to use ``dgl.utils
.data
.save_graphs``
It is recommended to use ``dgl.
data.
utils.save_graphs``
to save dgl graph into files and use
``dgl.utils
.data
.save_info`` to save extra
``dgl.
data.
utils.save_info`` to save extra
information into files.
"""
pass
...
...
@@ -116,9 +116,9 @@ class DGLDataset(object):
r
"""Overwite to realize your own logic of
loading the saved dataset from files.
It is recommended to use ``dgl.utils
.data
.load_graphs``
It is recommended to use ``dgl.
data.
utils.load_graphs``
to load dgl graph from files and use
``dgl.utils
.data
.load_info`` to load extra information
``dgl.
data.
utils.load_info`` to load extra information
into python dict object.
"""
pass
...
...
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