PyG Heterogeneous Graph Practice
Homogeneous Graph and Heterogeneous Graph
Homogeneous graph
Without distinguishing between node and edge types, there is only one type of node and one type of edge.
Node Type + Edge Type = 2
For example, in a social network, it can be imagined that nodes only have one category 'person', and edges only have one type of connection 'knows'. And people either know each other or they do not.
Less than 1 minute