feat(models): GAT encoder with multi-head attention and residual connections #20
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Implement
solver/models/gat.pywith aGATEncoder(nn.Module)using GATv2Conv.Depends on #18.
Architecture
[n, 22], edge_index[2, E], edge_attr[E, 22]num_layersGATv2Conv layers withnum_headsattention headsresidualconfig flag)edge_dimparameter[n, hidden_dim]and graph-level embedding[hidden_dim]Config (from
configs/model/gat.yaml)Registration
Register with
@register_encoder("gat").Files
solver/models/gat.pytests/models/test_gat.pyAcceptance criteria
build_model