Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Functionality to convert a [N, M] adjacency matrix to a [2, num_messages] edge_index #9655

Closed
kleingeo opened this issue Sep 12, 2024 · 1 comment
Labels

Comments

@kleingeo
Copy link

🚀 The feature, motivation and pitch

Simple functionality, or even documentation, to convert a (dense) [N, M] adjacency matrix to a (dense) edge_index.

Alternatives

No response

Additional context

No response

@rachitk
Copy link
Contributor

rachitk commented Sep 17, 2024

Does the dense_to_sparse function meet the criteria of what you need?

https://pytorch-geometric.readthedocs.io/en/latest/modules/utils.html#torch_geometric.utils.dense_to_sparse

@akihironitta akihironitta closed this as not planned Won't fix, can't repro, duplicate, stale Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants