After this all layers will have the following forward methods
(l::GraphConv)(fg::FeaturedGraph) = FeaturedGraph(fg.graph, nf = l(fg, node_feature(fg)))
(l::GraphConv)(x::AbstractMatrix) = l(l.fg, x)
function (gc::GraphConv)(fg::FeaturedGraph, x::AbstractMatrix)
...
return x
end
Also, drop MetaGraph and AbstractGraph support in favour of explicit conversion to FeaturedGraph (see #201).
Gpu support is currently very broken, lot's of methods here and in other packages (e.g. GraphLaplaciancs) are not gpu friendly.
I'd like to redesign the interface before tackling the gpu problem though.
After this all layers will have the following forward methods
Also, drop MetaGraph and AbstractGraph support in favour of explicit conversion to FeaturedGraph (see #201).
Gpu support is currently very broken, lot's of methods here and in other packages (e.g. GraphLaplaciancs) are not gpu friendly. I'd like to redesign the interface before tackling the gpu problem though.
Fix #201