-
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.
[WIP] [NN] Refactor NN package (dmlc#406)
* refactor graph conv * docs & tests * fix lint * fix lint * fix lint * fix lint script * fix lint * Update * Style fix * Fix style * Fix style * Fix gpu case * Fix for gpu case * Hotfix edgesoftmax docs * Handle repeated features * Add docstring * Set default arguments * Remove dropout from nn.conv * Fix * add util fn for renaming * revert gcn_spmv.py * mx folder * fix wierd bug * fix mx * fix lint
- Loading branch information
1 parent
8c75017
commit 565f0c8
Showing
30 changed files
with
1,258 additions
and
780 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,3 +14,4 @@ API Reference | |
sampler | ||
data | ||
transform | ||
nn |
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,13 @@ | ||
.. _apinn-mxnet: | ||
|
||
dgl.nn.mxnet | ||
============ | ||
|
||
dgl.nn.mxnet.conv | ||
----------------- | ||
|
||
.. automodule:: dgl.nn.mxnet.conv | ||
|
||
.. autoclass:: dgl.nn.mxnet.conv.GraphConv | ||
:members: weight, bias, forward | ||
:show-inheritance: |
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 @@ | ||
.. _apinn-pytorch: | ||
|
||
dgl.nn.pytorch | ||
============== | ||
|
||
dgl.nn.pytorch.conv | ||
------------------- | ||
|
||
.. automodule:: dgl.nn.pytorch.conv | ||
|
||
.. autoclass:: dgl.nn.pytorch.conv.GraphConv | ||
:members: weight, bias, forward, reset_parameters | ||
:show-inheritance: | ||
|
||
dgl.nn.pytorch.softmax | ||
---------------------- | ||
|
||
.. automodule:: dgl.nn.pytorch.softmax | ||
|
||
.. autoclass:: dgl.nn.pytorch.softmax.EdgeSoftmax | ||
:members: forward | ||
:show-inheritance: |
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,9 @@ | ||
.. _apinn: | ||
|
||
dgl.nn | ||
====== | ||
|
||
.. toctree:: | ||
|
||
nn.pytorch | ||
nn.mxnet |
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
Oops, something went wrong.