openhgnn.models.RSHN¶
- class RSHN(dim, out_dim, num_node_layer, num_edge_layer, dropout)[source]¶
Relation structure-aware heterogeneous graph neural network (RSHN) builds coarsened line graph to obtain edge features first, then uses a novel Message Passing Neural Network (MPNN) to propagate node and edge features.
We implement a API build a coarsened line graph.
- edge_layers¶
Applied in Edge Layer.
- Type:
AGNNConv
- coarsened line graph
Propagate edge features.
- Type:
dgl.DGLGraph