Closed Brown-yang closed 1 day ago
Yes, get_metapath_g
is the function used to construct metapath contexts.
The constructed structures are a bit different from the paper. Since MECCH adopts mean graph pooling to encode metapath contexts, get_metapath_g
only needs to extract metapath neighbor graphs for all (sub-)metapaths.
In your code, i want to ask u where are your metapath context construction part?
def get_metapath_g(g, args):
Generate the metapath neighbor graphs of all possible metapaths
get_metapath_g is the metapath context construction?