Take the example in the documentation.
If we replace
l = GATv2Conv((in_channel, ein) => out_channel, add_self_loops = false)
with
l = GNNChain(GATv2Conv((in_channel, ein) => out_channel, add_self_loops = false))
then we will get a MethodError in the forward pass call y = l(g, x, e).
Versions
- GraphNeuralNetworks.jl: v1.0.0