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
fa5f4d6a
Unverified
Commit
fa5f4d6a
authored
Jan 06, 2021
by
Zihao Ye
Committed by
GitHub
Jan 06, 2021
Browse files
[Doc] Hotfix on docstring of set_batch_num_edges (#2498)
parent
2caac086
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
6 deletions
+7
-6
docs/source/api/python/dgl.DGLGraph.rst
docs/source/api/python/dgl.DGLGraph.rst
+6
-3
docs/source/api/python/dgl.rst
docs/source/api/python/dgl.rst
+0
-2
python/dgl/heterograph.py
python/dgl/heterograph.py
+1
-1
No files found.
docs/source/api/python/dgl.DGLGraph.rst
View file @
fa5f4d6a
...
...
@@ -164,10 +164,10 @@ Methods for performing message passing, applying functions on node/edge features
DGLGraph.filter_nodes
DGLGraph.filter_edges
Querying
batch summary
---------------------------------
Querying
and manipulating batch information
---------------------------------
-------------
Methods for getting the batching information if the current graph is a batched
Methods for getting
/setting
the batching information if the current graph is a batched
graph generated from :func:`dgl.batch`. They are also widely used in the
:ref:`api-batch`.
...
...
@@ -177,6 +177,9 @@ graph generated from :func:`dgl.batch`. They are also widely used in the
DGLGraph.batch_size
DGLGraph.batch_num_nodes
DGLGraph.batch_num_edges
DGLGraph.set_batch_num_nodes
DGLGraph.set_batch_num_edges
Mutating topology
-----------------
...
...
docs/source/api/python/dgl.rst
View file @
fa5f4d6a
...
...
@@ -86,8 +86,6 @@ operators for computing graph-level representation for both single and batched g
batch
unbatch
set_batch_num_nodes
set_batch_num_edges
readout_nodes
readout_edges
sum_nodes
...
...
python/dgl/heterograph.py
View file @
fa5f4d6a
...
...
@@ -1419,7 +1419,7 @@ class DGLHeteroGraph(object):
Notes
-----
This API is always used together with ``set_batch_num_
edg
es`` to specify batching
This API is always used together with ``set_batch_num_
nod
es`` to specify batching
information of a graph, it also do not check the correspondance between the graph structure
and batching information and user must guarantee there will be no cross-graph edges in the
batch.
...
...
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