I want to handle weighted undirected graphs in Pytorch Geometric.
The node features are 50 dimensional. I found that this can be handled by the x
attribute of the torch_geometric.data.data
class.
The weights of the edges are scalar values.
We found out that edge_attr
and edge_weight
are the attributes to handle edges.
I think I should probably use edge_weight
, is this correct?
Also, what is the difference between edge_attr
and edge_weight
?
I'm not very good at English, so I apologize for that. I hope I can get a good answer.
Thank you.