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
6d3610c4
"graphbolt/src/git@developer.sourcefind.cn:OpenDAS/dgl.git" did not exist on "74d88bf832a52b7f37b0b9383a9fdb0b91eda346"
Unverified
Commit
6d3610c4
authored
Dec 28, 2023
by
Rhett Ying
Committed by
GitHub
Dec 28, 2023
Browse files
[dev] fix typo in docstring
parent
fd4ce7cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
python/dgl/graphbolt/internal/sample_utils.py
python/dgl/graphbolt/internal/sample_utils.py
+1
-1
No files found.
python/dgl/graphbolt/internal/sample_utils.py
View file @
6d3610c4
...
@@ -338,7 +338,7 @@ def compact_csc_format(
...
@@ -338,7 +338,7 @@ def compact_csc_format(
Examples
Examples
--------
--------
>>> import dgl.graphbolt as gb
>>> import dgl.graphbolt as gb
>>> N1 = torch.LongTe
c
nsor([1, 2, 2])
>>> N1 = torch.LongTensor([1, 2, 2])
>>> N2 = torch.LongTensor([5, 6, 5])
>>> N2 = torch.LongTensor([5, 6, 5])
>>> csc_formats = {"n2:e2:n1": CSCFormatBase(indptr=torch.tensor([0, 1]),
>>> csc_formats = {"n2:e2:n1": CSCFormatBase(indptr=torch.tensor([0, 1]),
... indices=torch.tensor([5]))}
... indices=torch.tensor([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