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
80f36134
Unverified
Commit
80f36134
authored
Jan 16, 2024
by
Mingbang Wang
Committed by
GitHub
Jan 16, 2024
Browse files
[GraphBolt] Update the docstring of `ItemSet` (#6943)
parent
40816f6e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
python/dgl/graphbolt/itemset.py
python/dgl/graphbolt/itemset.py
+4
-1
No files found.
python/dgl/graphbolt/itemset.py
View file @
80f36134
...
@@ -25,7 +25,10 @@ class ItemSet:
...
@@ -25,7 +25,10 @@ class ItemSet:
items.
items.
names: Union[str, Tuple[str]], optional
names: Union[str, Tuple[str]], optional
The names of the items. If it is a tuple, each name corresponds to an
The names of the items. If it is a tuple, each name corresponds to an
item in the tuple.
item in the tuple. The naming is arbitrary, but in general practice,
the names should be chosen from ['seed_nodes', 'node_pairs', 'labels',
'negative_srcs', 'negative_dsts'] to align with the attributes of
class `dgl.graphbolt.MiniBatch`.
Examples
Examples
--------
--------
...
...
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