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

Cannot store other graph information in graphTuple #40

Closed
engmubarak48 opened this issue Jun 23, 2022 · 1 comment
Closed

Cannot store other graph information in graphTuple #40

engmubarak48 opened this issue Jun 23, 2022 · 1 comment

Comments

@engmubarak48
Copy link

I thought we could store anything in graphTuple just like PyTorch geometric data or dgl, but that is not the case. I get the following error when storing node degrees:

TypeError: __new__() got an unexpected keyword argument 'in_degree'

is it the intended behavior, if so why, if not how can we store anything in there?

thanks

@engmubarak48
Copy link
Author

engmubarak48 commented Jun 26, 2022

Sorry for the vague question, just saw that you can use "globals" to store any extra info about the graph.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant