"git@developer.sourcefind.cn:OpenDAS/vision.git" did not exist on "73de9abe23189e5ee61e9093398db97f99f9afcb"
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): ...@@ -4230,7 +4230,7 @@ class DGLHeteroGraph(object):
""" """
# parse argument # parse argument
if is_all(edges): if is_all(edges):
return dict(self._edge_frames[etid]) return self._edge_frames[etid]
else: else:
eid = utils.parse_edges_arg_to_eid(self, edges, etid, 'edges') eid = utils.parse_edges_arg_to_eid(self, edges, etid, 'edges')
return self._edge_frames[etid].subframe(eid) 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