Skip to content
Discussion options

You must be logged in to vote

Yes, it can already handle this. For example, the linked test case already operates on node features of different size, see https://github.com/pyg-team/pytorch_geometric/blob/master/test/nn/test_to_hetero_with_bases_transformer.py#L117. The in_channels attribute in to_hetero_with_bases is just used to specify the shared embedding dim you want different node types to map to (that should be the dimension your GNN expects as input).

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@rusty1s
Comment options

@Xurorx
Comment options

@Xurorx
Comment options

@rusty1s
Comment options

Answer selected by Xurorx
@Xurorx
Comment options

@Xurorx
Comment options

@rusty1s
Comment options

@Xurorx
Comment options

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