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:

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

.. automodule:: dgl.nn.mxnet.glob
VoVAllen's avatar
VoVAllen committed
45
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

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
71
    :members:
Zihao Ye's avatar
Zihao Ye committed
72
    :show-inheritance:
73

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

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

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

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


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

Edge Softmax
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
94
95

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