You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The new EdgeIndex object is a edge_index Tensor with lots of useful metadata. It is a drop in replacement to the usual edge_index Tensor.
The goal of this issue is to refactor pyg to utilise EdgeIndex across all modules. This should make our code more readable, and efficient in many cases.
Updates to code where edge_index as sparse matrices are used. Instead leverage the EdgeIndex s matrix multiply operations.
Updates to utils. Example sort_edge_index doesn't need to sort EdgeIndex if it is already sorted.
Updates to transforms. Example update metadata like is_sorted when using transforms like AddSelfLoops.
The text was updated successfully, but these errors were encountered:
🛠 Proposed Refactor
The new EdgeIndex object is a
edge_index
Tensor with lots of useful metadata. It is a drop in replacement to the usualedge_index
Tensor.The goal of this issue is to refactor pyg to utilise
EdgeIndex
across all modules. This should make our code more readable, and efficient in many cases.edge_index
as sparse matrices are used. Instead leverage theEdgeIndex
s matrix multiply operations.utils
. Examplesort_edge_index
doesn't need to sortEdgeIndex
if it is already sorted.transforms
. Example update metadata likeis_sorted
when using transforms likeAddSelfLoops
.The text was updated successfully, but these errors were encountered: