Skip to content

Topology

Function Description
is_undirected() Determines whether a graph is undirected based on the given edge index and optional edge features.
is_directed() Determines whether a graph is directed based on the given edge index and optional edge features.
get_num_hops() Returns the number of hops the model is aggregating information from.