Skip to content

Commit

Permalink
set default
Browse files Browse the repository at this point in the history
  • Loading branch information
fantes committed Dec 8, 2024
1 parent 8ea34a1 commit e744a24
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions generic/gcongat.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def __init__(
self.radius_list.sort()
self.combine_fn = combine_fn
self.num_heads = num_heads
self.skip = False
self.skip = skip
self.add_self_loops = True
self.norm = norm
self.filter_norm_dim = filter_norm_dim
Expand Down Expand Up @@ -329,21 +329,6 @@ def __repr__(self) -> str:
)


class HybridConvLayer(nn.Module):
"""HybridConv layer"""

def __init__(self, in_dim, out_dim, num_heads):
super().__init__()
self.model = HybridConv_v2(
in_dim,
out_dim,
num_heads=num_heads,
)

def forward(self, g, node_feats, edge_feats):
return self.model(node_feats, g.edge_index, edge_feats)


def rw_norm(
edge_index,
edge_weight=None,
Expand Down

0 comments on commit e744a24

Please sign in to comment.