Open SsnAgo opened 2 years ago
作者您好! 在阅读本文代码时,看到这句代码 graph.update_all(fn.u_add_e('h', 'h', 'msg'), self.reduce_func)。是使用src和e相加。而我看文中的这一部分代码(如下),应当是使用 dst和e相减。不知道是我哪里有误解,期待您的回复。
graph.update_all(fn.u_add_e('h', 'h', 'msg'), self.reduce_func)
作者您好! 在阅读本文代码时,看到这句代码
graph.update_all(fn.u_add_e('h', 'h', 'msg'), self.reduce_func)
。是使用src和e相加。而我看文中的这一部分代码(如下),应当是使用 dst和e相减。不知道是我哪里有误解,期待您的回复。