InductiveNodePieceGNN
- class InductiveNodePieceGNN(*, gnn_encoder: Iterable[Module] | None = None, **kwargs)[source]
Bases:
InductiveNodePiece
Inductive NodePiece with a GNN encoder on top.
Overall, it’s a 3-step procedure:
Featurizing nodes via NodePiece
Message passing over the active graph using NodePiece features
Scoring function for a given batch of triples
As of now, message passing is expected to be over the full graph
Initialize the model.
- Parameters:
Methods Summary
Reset the GNN encoder explicitly in addition to other params.
Methods Documentation