Skip to content

Commit 69cf0a5

Browse files
committed
dynamic gni fix
1 parent d2fe1d2 commit 69cf0a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

chebai_graph/models/dynamic_gni.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ def forward(self, batch: dict[str, Any]) -> Tensor:
6161
)
6262

6363
out = self.resgated(
64-
x=graph_data.x.float(),
64+
x=random_x.float(),
6565
edge_index=graph_data.edge_index.long(),
66-
edge_attr=graph_data.edge_attr,
66+
edge_attr=random_edge_attr.float(),
6767
)
6868

6969
return self.activation(out)

0 commit comments

Comments
 (0)