Skip to content

Fix GATConv and GATv2Conv layer display - #754

Open
sanketpatel32 wants to merge 1 commit into
JuliaGraphs:masterfrom
sanketpatel32:devin/1795969847-gat-show
Open

sanketpatel32 wants to merge 1 commit into
JuliaGraphs:masterfrom
sanketpatel32:devin/1795969847-gat-show

Conversation

@sanketpatel32

@sanketpatel32 sanketpatel32 commented Nov 29, 2026 •

Copy link
Copy Markdown

Fixes #749.

Summary

  • GATConv and GATv2Conv now print the per-head output dimension stored in channel instead of dividing it by heads in both the Flux and Lux frontends.
  • The printed form includes heads= and concat= only when they differ from their constructor defaults, so non-default layers read like constructor calls, e.g. GATConv(6 => 8, heads=2, negative_slope=0.2).
  • Added exact-string @testitem coverage for default and non-default heads/concat in both frontends.

Tests

  • GNN_TEST_CPU=true julia --project=GraphNeuralNetworks -e 'using Pkg; Pkg.test("GraphNeuralNetworks")' — passed (997 tests)
  • GNN_TEST_CPU=true julia --project=GNNLux -e 'using Pkg; Pkg.test("GNNLux")' — passed (213 passed, 35 broken)
  • git diff --check — passed

Assisted by Devin:claude-opus-5.5

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GATConv/GATv2Conv show prints out ÷ heads as output size and omits heads

1 participant