Why does `GatedGraphConv`require the graph to be homogeneous?

GatedGraphConv can accept graphs with multiple types of edges, and isn’t this type of graph heterogeneous? Why does the source code of GatedGraphConv specify that the graph must be homogeneous? In other words, how should I apply GGNN to a heterogeneous graph?

Hi, I don’t recall GG-NN is originally designed for heterogenous graphs so our implementation tries to stick with its native design. One way to apply GGNN to a heterogeneous graph without drastically re-writing the entire NN module is to provide node/edge types as input node/edge features.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.