"examples/git@developer.sourcefind.cn:OpenDAS/dgl.git" did not exist on "92bff4d2bb2308d18f969829a74fc1efe9d5bd91"
Unverified Commit 152760f6 authored by NiklasBeierl's avatar NiklasBeierl Committed by GitHub
Browse files

[Doc] Note for HeteroGraphConv / Doc build problems (#3149)



* Doc: HetGConv note for `edge_type_subgraph`

For the rational behind this note see the discussion in #3003.

* WIP: Requirements for building the docs.

Had to install all these packages to get further with building the docs.

Didn't successfully build them yet, tho.

* Test

* Update

* Update hetero.py

* Update hetero.py
Co-authored-by: default avatarUbuntu <ubuntu@ip-172-31-13-32.us-west-2.compute.internal>
Co-authored-by: default avatarMufei Li <mufeili1996@gmail.com>
parent 4fb50be4
...@@ -6,7 +6,12 @@ Requirements ...@@ -6,7 +6,12 @@ Requirements
* sphinx * sphinx
* sphinx-gallery * sphinx-gallery
* sphinx_rtd_theme * sphinx_rtd_theme
* Both pytorch and mxnet installed. * sphinx_copybutton
* torch
* mxnet
* pillow
* matplotlib
Build documents Build documents
--------------- ---------------
......
...@@ -88,6 +88,13 @@ class HeteroGraphConv(layers.Layer): ...@@ -88,6 +88,13 @@ class HeteroGraphConv(layers.Layer):
>>> print(y_dst.keys()) >>> print(y_dst.keys())
dict_keys(['user', 'game']) dict_keys(['user', 'game'])
Notes
-----
HeteroGraphConv requires that there is a module for every ``'etype'`` in an input graph.
If you want to apply HeteroGraphConv to a subset of a graph's ``'etypes'``, you must
create a new graph using for example :func:`~dgl.edge_type_subgraph()`.
Parameters Parameters
---------- ----------
mods : dict[str, nn.Module] mods : dict[str, nn.Module]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment