Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

公式7的实现 #31

Open
JasonvicHunt opened this issue Jan 8, 2023 · 0 comments
Open

公式7的实现 #31

JasonvicHunt opened this issue Jan 8, 2023 · 0 comments

Comments

@JasonvicHunt
Copy link

作者您好,感谢您的团队提供的KGIN代码!现在有一个问题想请教:在KGIN代码实现公式7的时候,
user_agg = torch.sparse.mm(interact_mat, entity_agg)
user_agg = user_agg * (disen_weight * score).sum(dim=1) + user_agg
我理解的上面一行得到的user_agg是公式7的ei,那么下面一行+user_agg对应到原公式7中,是不是公式最后+ei,这让我有些难以理解为什么这样做。
我看到之前的issue里面有人提到,但是我还是没有理解到您说的自连接的意思。
希望得到您的解答与纠正,谢谢!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant