google-deepmind/jraph

Cannot store other graph information in graphTuple

Closed this issue · 1 comments

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

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