Skip to content

Commit

Permalink
correct copy pasted comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
mfbalin committed Aug 22, 2024
1 parent 8f2f9f6 commit 5e467bc
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions examples/graphbolt/pyg/hetero/node_classification.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,14 +117,9 @@ def __init__(
self.out_size = out_size
self.activation = activation

########################################################################
# (HIGHLIGHT) HeteroGraphConv is a graph convolution operator over
# heterogeneous graphs. A dictionary is passed where the key is the
# relation name and the value is the instance of GraphConv. norm="right"
# is to divide the aggregated messages by each node’s in-degrees, which
# is equivalent to averaging the received messages. weight=False and
# bias=False as we will use our own weight matrices defined later.
########################################################################
# Create a separate convolution layer for each relationship. PyG's
# SimpleConv does not have any weights and only performs message passing
# and aggregation.
self.convs = nn.ModuleDict(
{etype: SimpleConv(aggr="mean") for etype in etypes}
)
Expand Down

0 comments on commit 5e467bc

Please sign in to comment.