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
7735473b
Unverified
Commit
7735473b
authored
Jun 30, 2022
by
Quan (Andy) Gan
Committed by
GitHub
Jun 30, 2022
Browse files
[Doc] fix typo (#4193)
Co-authored-by:
Xin Yao
<
xiny@nvidia.com
>
parent
d2a22984
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
python/dgl/dataloading/dataloader.py
python/dgl/dataloading/dataloader.py
+2
-1
No files found.
python/dgl/dataloading/dataloader.py
View file @
7735473b
...
...
@@ -631,7 +631,8 @@ class DataLoader(torch.utils.data.DataLoader):
Examples
--------
To train a 3-layer GNN for node classification on a set of nodes ``train_nid`` on
a homogeneous graph where each node takes messages from all neighbors (assume
a homogeneous graph where each node takes messages from 15 neighbors on the
first layer, 10 neighbors on the second, and 5 neighbors on the third (assume
the backend is PyTorch):
>>> sampler = dgl.dataloading.MultiLayerNeighborSampler([15, 10, 5])
...
...
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