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
290e1e9d
Unverified
Commit
290e1e9d
authored
Jun 06, 2023
by
Rhett Ying
Committed by
GitHub
Jun 06, 2023
Browse files
fix indent typo in docstring
parent
02025989
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
python/dgl/graphbolt/graph_storage/csc_sampling_graph.py
python/dgl/graphbolt/graph_storage/csc_sampling_graph.py
+4
-4
No files found.
python/dgl/graphbolt/graph_storage/csc_sampling_graph.py
View file @
290e1e9d
...
@@ -239,12 +239,12 @@ class CSCSamplingGraph:
...
@@ -239,12 +239,12 @@ class CSCSamplingGraph:
floating-point or boolean tensor with the number of elements equal
floating-point or boolean tensor with the number of elements equal
to the number of edges.
to the number of edges.
Returns
Returns
-------
-------
SampledSubgraph
SampledSubgraph
The sampled subgraph.
The sampled subgraph.
Examples
Examples
--------
--------
>>> indptr = torch.LongTensor([0, 3, 5, 7])
>>> indptr = torch.LongTensor([0, 3, 5, 7])
>>> indices = torch.LongTensor([0, 1, 4, 2, 3, 0, 1])
>>> indices = torch.LongTensor([0, 1, 4, 2, 3, 0, 1])
>>> type_per_edge = torch.LongTensor([0, 0, 1, 0, 1, 0, 1])
>>> type_per_edge = torch.LongTensor([0, 0, 1, 0, 1, 0, 1])
...
...
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