I'm using torch_geometric.
The adjacency matrix is in numpy format like:
adj = np.array([[0, 1, 0],[1, 0, 0],[0, 0, 0]])
How can I get the parameter edge_attr
from the adjacency matrix?
I'm using torch_geometric.
The adjacency matrix is in numpy format like:
adj = np.array([[0, 1, 0],[1, 0, 0],[0, 0, 0]])
How can I get the parameter edge_attr
from the adjacency matrix?