Skip to content

Commit

Permalink
Updated message handling
Browse files Browse the repository at this point in the history
  • Loading branch information
darrylong committed Oct 13, 2023
1 parent 8797bc5 commit 1ae4584
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cornac/models/lightgcn2/lightgcn.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def forward(self, g, feat_dict):
src, dst = g.edges(etype=(srctype, etype, dsttype))
norm = self.norm_dict[(srctype, etype, dsttype)]
# TODO: CHECK HERE
messages = norm * feat_dict[srctype][src] * feat_dict[dsttype][dst] # compute messages
messages = norm * feat_dict[srctype][src] # compute messages
g.edges[(srctype, etype, dsttype)].data[
etype
] = messages # store in edata
Expand Down

0 comments on commit 1ae4584

Please sign in to comment.