Knowledge_Graph_based_Intent_Network icon indicating copy to clipboard operation
Knowledge_Graph_based_Intent_Network copied to clipboard

公式7的实现

Open JasonvicHunt opened this issue 1 year ago • 0 comments

作者您好,感谢您的团队提供的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里面有人提到,但是我还是没有理解到您说的自连接的意思。 希望得到您的解答与纠正,谢谢!

JasonvicHunt avatar Jan 08 '23 07:01 JasonvicHunt