mirror of
https://github.com/dmlc/dgl.git
synced 2026-06-04 19:44:23 +08:00
* auto-reformat * lintrunner --------- Co-authored-by: Ubuntu <ubuntu@ip-172-31-28-63.ap-northeast-1.compute.internal>
.. _tutorials1-index: Graph neural networks and its variants -------------------------------------------- * **Graph convolutional network (GCN)** `[research paper] <https://arxiv.org/abs/1609.02907>`__ `[tutorial] <1_gnn/1_gcn.html>`__ `[Pytorch code] <https://github.com/dmlc/dgl/blob/master/examples/pytorch/gcn>`__ `[MXNet code] <https://github.com/dmlc/dgl/tree/master/examples/mxnet/gcn>`__: * **Graph attention network (GAT)** `[research paper] <https://arxiv.org/abs/1710.10903>`__ `[tutorial] <1_gnn/9_gat.html>`__ `[Pytorch code] <https://github.com/dmlc/dgl/blob/master/examples/pytorch/gat>`__ `[MXNet code] <https://github.com/dmlc/dgl/tree/master/examples/mxnet/gat>`__: GAT extends the GCN functionality by deploying multi-head attention among neighborhood of a node. This greatly enhances the capacity and expressiveness of the model. * **Relational-GCN** `[research paper] <https://arxiv.org/abs/1703.06103>`__ `[tutorial] <1_gnn/4_rgcn.html>`__ `[Pytorch code] <https://github.com/dmlc/dgl/tree/master/examples/pytorch/rgcn>`__ `[MXNet code] <https://github.com/dmlc/dgl/tree/master/examples/mxnet/rgcn>`__: Relational-GCN allows multiple edges among two entities of a graph. Edges with distinct relationships are encoded differently. * **Line graph neural network (LGNN)** `[research paper] <https://openreview.net/pdf?id=H1g0Z3A9Fm>`__ `[tutorial] <1_gnn/6_line_graph.html>`__ `[Pytorch code] <https://github.com/dmlc/dgl/tree/master/examples/pytorch/line_graph>`__: This network focuses on community detection by inspecting graph structures. It uses representations of both the original graph and its line-graph companion. In addition to demonstrating how an algorithm can harness multiple graphs, this implementation shows how you can judiciously mix simple tensor operations and sparse-matrix tensor operations, along with message-passing with DGL.