deepof.utils.edges_to_weighted_adj
- deepof.utils.edges_to_weighted_adj(adj: ndarray, edges: ndarray)
Convert an edge feature matrix to a weighted adjacency matrix.
- Parameters:
adj (-) – binary adjacency matrix of the current graph.
edges (-) – edge feature matrix. Last two axes should be of shape nodes x features.