SAGEConv

GraphSAGE convolution layer (Hamilton et al., 2017). xi=W1xi+W2meanjN(i)xj\mathbf{x}_i' = \mathbf{W}_1 \mathbf{x}_i + \mathbf{W}_2 \cdot \text{mean}_{j \in \mathcal{N}(i)} \mathbf{x}_j

Record fields

NameDescription
Bias
WeightNeighbor
WeightSelf

Instance members

NameDescription
this.forward (x, edgeIndex)