Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
rusty1s committed Feb 15, 2023
1 parent ad121a9 commit 6b4c2db
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 54 deletions.
52 changes: 0 additions & 52 deletions examples/jit/linkx.py

This file was deleted.

2 changes: 1 addition & 1 deletion torch_geometric/nn/models/linkx.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def __init__(

if self.num_edge_layers > 1:
self.edge_norm = BatchNorm1d(hidden_channels)
channels = [hidden_channels] * self.num_edge_layers
channels = [hidden_channels] * num_edge_layers
self.edge_mlp = MLP(channels, dropout=0., act_first=True)
else:
self.edge_norm = None
Expand Down
2 changes: 1 addition & 1 deletion torch_geometric/nn/models/mlp.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ def forward(
self,
x: Tensor,
return_emb: NoneType = None,
):
) -> Tensor:
r"""
Args:
x (torch.Tensor): The source tensor.
Expand Down

0 comments on commit 6b4c2db

Please sign in to comment.