google-deepmind/jraph

Adjacency matrix to GraphsTuple

salfaris opened this issue · 5 comments

I couldn't find any function in the jraph API that allows me to convert an arbitrary adjacency matrix to a GraphsTuple object. I assume we are expected to do this manually?

Just curious if there is any potential future work on this feature? I would be happy to explore something down this road.

Hey Salfaris,

We don't currently have a function that does this, but we would be very happy to receive pull requests :)

Hey @jg8610, that's great :)

I already implemented the function, but now wondering how to run the tests? It seems from the abseil documentation I have to download bazel?

Update: nevermind I found out how to run the tests :)

Hi @jg8610, do you mind checking this PR for me please?

@jg8610 PR is merged (many thanks for the support!), so should we close this issue?