Skip to content

Commit

Permalink
Make GNNWrapper forward call to backbone compatible with **kwargs
Browse files Browse the repository at this point in the history
  • Loading branch information
abertics committed Dec 10, 2024
1 parent 9271ec4 commit 47eefe1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion topobenchmark/nn/wrappers/graph/gnn_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def forward(self, batch):
x_0 = self.backbone(
batch.x_0,
batch.edge_index,
batch.get("edge_weight", None),
edge_weight=batch.get("edge_weight", None),
)

model_out = {"labels": batch.y, "batch_0": batch.batch_0}
Expand Down

0 comments on commit 47eefe1

Please sign in to comment.