"tests/python/common/test_heterograph.py" did not exist on "d3c1645550a3e4e524a1a51de1f360e73fbd87f4"
nn.mxnet.rst 2.04 KB
Newer Older
1
2
.. _apinn-mxnet:

VoVAllen's avatar
VoVAllen committed
3
4
NN Modules (MXNet)
===================
5

VoVAllen's avatar
VoVAllen committed
6
7
8
9
10
11
12
13
14
15
16
.. contents:: Contents
    :local:

We welcome your contribution! If you want a model to be implemented in DGL as a NN module,
please `create an issue <https://github.com/dmlc/dgl/issues>`_ started with "[Feature Request] NN Module XXXModel".

If you want to contribute a NN module, please `create a pull request <https://github.com/dmlc/dgl/pulls>`_ started
with "[NN] XXXModel in MXNet NN Modules" and our team member would review this PR.

Conv Layers 
----------------------------------------
17
18
19

.. automodule:: dgl.nn.mxnet.conv

VoVAllen's avatar
VoVAllen committed
20
21
22
GraphConv
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

23
24
25
.. autoclass:: dgl.nn.mxnet.conv.GraphConv
    :members: weight, bias, forward
    :show-inheritance:
26

VoVAllen's avatar
VoVAllen committed
27
28
29
RelGraphConv
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Minjie Wang's avatar
Minjie Wang committed
30
31
32
33
.. autoclass:: dgl.nn.mxnet.conv.RelGraphConv
    :members: forward
    :show-inheritance:

VoVAllen's avatar
VoVAllen committed
34
35
36
TAGConv
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

37
38
39
40
.. autoclass:: dgl.nn.mxnet.conv.TAGConv
    :members: forward
    :show-inheritance:

41

42
Global Pooling Layers
VoVAllen's avatar
VoVAllen committed
43
----------------------------------------
44
45

.. automodule:: dgl.nn.mxnet.glob
VoVAllen's avatar
VoVAllen committed
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71

SumPooling
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. autoclass:: dgl.nn.mxnet.glob.SumPooling
    :members:
    :show-inheritance:

AvgPooling
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. autoclass:: dgl.nn.mxnet.glob.AvgPooling
    :members:
    :show-inheritance:

MaxPooling
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. autoclass:: dgl.nn.mxnet.glob.MaxPooling
    :members:
    :show-inheritance:

SortPooling
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. autoclass:: dgl.nn.mxnet.glob.SortPooling
72
    :members:
Zihao Ye's avatar
Zihao Ye committed
73
    :show-inheritance:
74

VoVAllen's avatar
VoVAllen committed
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
GlobalAttentionPooling
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. autoclass:: dgl.nn.mxnet.glob.GlobalAttentionPooling
    :members:
    :show-inheritance:

Set2Set
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. autoclass:: dgl.nn.mxnet.glob.Set2Set
    :members:
    :show-inheritance:


Utility Modules
----------------------------------------

Edge Softmax
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
95
96

.. automodule:: dgl.nn.mxnet.softmax
Zihao Ye's avatar
Zihao Ye committed
97
    :members: edge_softmax