spektral icon indicating copy to clipboard operation
spektral copied to clipboard

How import the egde features tensor into GCNConv layer?

Open Lance729 opened this issue 2 years ago • 1 comments

the GCNConv layer gets two inputs that node with features and weighted adjacency matrix, but how we import the egde features?

Lance729 avatar Sep 28 '21 07:09 Lance729

Hi,

to consider edge features, you have to use a layer that supports them. Spektral has ECCConv, CrystalConv and XENetConv that support edge features as input (XENetConv also learns a representation of the edge features themselves).

Here is an example of how to use ECCConv.

Cheers

danielegrattarola avatar Sep 28 '21 12:09 danielegrattarola