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
ad1b9269
Unverified
Commit
ad1b9269
authored
Dec 13, 2023
by
Rhett Ying
Committed by
GitHub
Dec 13, 2023
Browse files
[doc] update docstring typo
parent
1f15e3bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
python/dgl/graphbolt/impl/neighbor_sampler.py
python/dgl/graphbolt/impl/neighbor_sampler.py
+1
-1
No files found.
python/dgl/graphbolt/impl/neighbor_sampler.py
View file @
ad1b9269
...
@@ -60,8 +60,8 @@ class NeighborSampler(SubgraphSampler):
...
@@ -60,8 +60,8 @@ class NeighborSampler(SubgraphSampler):
Examples
Examples
-------
-------
>>> import torch
>>> import dgl.graphbolt as gb
>>> import dgl.graphbolt as gb
>>> from dgl import graphbolt as gb
>>> indptr = torch.LongTensor([0, 2, 4, 5, 6, 7 ,8])
>>> indptr = torch.LongTensor([0, 2, 4, 5, 6, 7 ,8])
>>> indices = torch.LongTensor([1, 2, 0, 3, 5, 4, 3, 5])
>>> indices = torch.LongTensor([1, 2, 0, 3, 5, 4, 3, 5])
>>> graph = gb.fused_csc_sampling_graph(indptr, indices)
>>> graph = gb.fused_csc_sampling_graph(indptr, indices)
...
...
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