Repository navigation
feat: Add NNConv support for HeteroGraphConv - #654
Merged
Merged
Conversation
CarloLucibello
force-pushed
the
AKS/NNConv
branch
2 times, most recently
from
November 29, 2026 10:22
4b5edad to
57021b1
Compare
…t it `@error` only logs and returns `nothing`; throw an `ArgumentError` instead when the graph has several edge types or several edge feature arrays. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…test values - `(l::NNConv)(g, x, e = edge_features(g))` throws an `ArgumentError` when no edge features are given nor stored in `g`. - Document the `(xj, xi)` tuple input and the default `e` in the NNConv docstring, and how HeteroGraphConv layers get their edge features. - Check the hetero NNConv output and its Zygote gradients against the homogeneous NNConv on graphs whose nodes are the union of src and dst nodes (also in GNNLux, for the tuple input), instead of only sizes. - Revert a stray whitespace change in the GCNConv hetero test. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Flux NNConv falls back to `edge_features(::GNNHeteroGraph)`, new in GNNGraphs 1.7. (The GraphNeuralNetworks 1.2.0-DEV bump and the GNNlib 1.5 compat in both frontends already came with JuliaGraphs#697.) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
CarloLucibello
force-pushed
the
AKS/NNConv
branch
from
November 29, 2026 12:34
57021b1 to
cd68cff
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.
This PR adds NNConv support for HeteroGraphConv.
This is related to issue #311.