Repository navigation
feat: Add GMMConv support for HeteroGraphConv - #657
Merged
Merged
Conversation
CarloLucibello
force-pushed
the
AKS/GMMConv
branch
2 times, most recently
from
November 29, 2026 10:22
8bd183e to
0dd706f
Compare
Use check_num_nodes/check_num_edges, which handle both GNNGraph and single-relation heterographs, and throw an ArgumentError when no edge pseudo-coordinates are available. Revert whitespace-only edits. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add the activation and bias to the GMMConv formula, document the `(xj, xi)` input and the edge-feature default, tick the Heterograph column for GMMConv, and fix `show` erroring for a non-identity activation. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Compare HeteroGraphConv with GMMConv layers to a hand-written MoNet forward pass, with a residual on target features of a different size, check the input gradient and the error without edge features. In GNNLux, compare a bipartite subgraph to the homogeneous graph on the union of nodes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
GMMConv reads heterograph edge features through the new edge_features(::GNNHeteroGraph). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
CarloLucibello
force-pushed
the
AKS/GMMConv
branch
from
November 29, 2026 12:38
0dd706f to
4c5a797
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
GMMConvsupport forHeteroGraphConv(part of #311).GMMConvaccepts a tuple(xj, xi)of source and target node features; the residual is added to the target features.edefault to the graph's edge features (l(g, x), also in GNNLux), soHeteroGraphConvreads each relation'sedatathroughedge_features. Without edge features anArgumentErroris thrown.showfor aGMMConvwith a non-identity activation, and correct the docstring formula (σ, bias, optional residual).🧔♂️🤖 Assisted by Claude Opus 5.5