edge_index in function get_kg_edges_for_each()
RongchuanTang opened this issue · comments
RongchuanTang commented
For a triple (h, r, t), it seems an inverse triple (t, r, h) is added to the generated edge_index in function get_kg_edges_for_each(). What does this do?
ZijieH commented
This is to put the relations between head and tail entities bidirectional, so in the message passing part they can both influence each other.
RongchuanTang commented
Thanks, Zijie! I re-read the paper and have saw your explanation.