Skip to content

GraphFormatConvertor cause a little bug on dataset loader #212

Answered by a-r-j
1511878618 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @1511878618 ! So, there are a few reasons for this particular implementation.

  1. To maintain consistency with other GDL frameworks (eg DGL, Jraph etc). DGL doesn't support certain datatypes (e.g. strings) as attributes on its data objects. Therefore, we thought it best for users to specify exactly which attributes they wish to include in the processed Data object to avoid errors.

  2. I think explicit is always better than implicit for readability

  3. There can be a lot of metadata that users may not wish to keep. Eg Distance matrices can be quite large.

You do raise a good point about the documentation. I think this should be made more clear

With respect to your point about the InMemoryPr…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@1511878618
Comment options

Answer selected by a-r-j
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants