Why does the get_repr function only projects the first subgraph’s source nodes and last subgraphs destination nodes here?
def get_repr(self, blocks):
h_item = self.proj(blocks[0].srcdata)
h_item_dst = self.proj(blocks[-1].dstdata)
return h_item_dst + self.sage(blocks, h_item)