forked from dmlc/dgl
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Doc] Add DGLSubGraph, and DGLGraph.readonly() interface to docs (dml…
…c#421) * fix rgcn tutorial * small fix * upd * findedge/s * upd * upd * upd * upd * add test * remove redundancy * upd * upd * upd * upd * add edge_subgraph * explicit cast * add test immutable subg * reformat * reformat * fix bug * upd * hotfix * subgraph docs
- Loading branch information
1 parent
bea07b4
commit dba2a5b
Showing
2 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
.. _apigraph: | ||
|
||
DGLSubGraph -- Class for subgraph data structure | ||
========================================= | ||
|
||
.. currentmodule:: dgl | ||
.. autoclass:: DGLSubGraph | ||
|
||
Mapping between subgraph and parent graph | ||
------------------------------------- | ||
:toctree: ../../generated/ | ||
|
||
DGLSubGraph.parent_nid | ||
DGLSubGraph.parent_eid | ||
DGLSubGraph.map_to_subgraph_nid | ||
|
||
Synchronize features between subgraph and parent graph | ||
------------------------------------------------------ | ||
:toctree: ../../generated/ | ||
|
||
DGLSubGraph.copy_from_parent | ||
DGLSubGraph.copy_to_parent |