Unverified Commit 02880e9f authored by Jinjing Zhou's avatar Jinjing Zhou Committed by GitHub
Browse files

Fix unnecessary trigger of lazy copy (#3585)


Co-authored-by: default avatarMufei Li <mufeili1996@gmail.com>
parent 7273a166
......@@ -4230,7 +4230,7 @@ class DGLHeteroGraph(object):
"""
# parse argument
if is_all(edges):
return dict(self._edge_frames[etid])
return self._edge_frames[etid]
else:
eid = utils.parse_edges_arg_to_eid(self, edges, etid, 'edges')
return self._edge_frames[etid].subframe(eid)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment