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
17229352
Commit
17229352
authored
Feb 14, 2022
by
RhettYing
Browse files
add link for blitz
parent
8d861d94
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
tutorials/blitz/6_load_data.py
tutorials/blitz/6_load_data.py
+12
-0
No files found.
tutorials/blitz/6_load_data.py
View file @
17229352
...
@@ -222,6 +222,18 @@ dataset = SyntheticDataset()
...
@@ -222,6 +222,18 @@ dataset = SyntheticDataset()
graph
,
label
=
dataset
[
0
]
graph
,
label
=
dataset
[
0
]
print
(
graph
,
label
)
print
(
graph
,
label
)
######################################################################
# Creating Dataset from CSV via :class:`~dgl.data.DGLCSVDataset`
# ------------------------------------------------------------
#
# In the previous examples, dataset is created directly from raw CSV
# files via :class:`~dgl.data.DGLDataset`. DGL provides utility class
# :class:`~dgl.data.DGLCSVDataset` to read data from CSV files and
# construct :class:`~dgl.DGLGraph` more flexibly. Please refer to
# :ref:`guide-data-pipeline-loadcsv` and see if this utility is more
# suitable for your case.
#
# Thumbnail credits: (Un)common Use Cases for Graph Databases, Michal Bachman
# Thumbnail credits: (Un)common Use Cases for Graph Databases, Michal Bachman
# sphinx_gallery_thumbnail_path = '_static/blitz_6_load_data.png'
# sphinx_gallery_thumbnail_path = '_static/blitz_6_load_data.png'
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