The edge id(s).
// sanity check
if isinstance(eid, str) and eid == ALL:
num_edges = self.number_of_edges()
else:
eid = utils.convert_to_id_tensor(eid, self.context)
num_edges = len(eid)
if isinstance(h_uv, dict):
for key, val in h_uv.items():
assert F.shape(val)[0] == num_edges
else:
assert F.shape(h_uv)[0] == num_edges
// set
if isinstance(eid, str) and eid == ALL:
if isinstance(h_uv, dict):
for key, val in h_uv.items():
self._edge_frame[key] = val
else:
After Change
else:
assert F.shape(h_uv)[0] == num_edges
// set
if is_all(eid):
if isinstance(h_uv, dict):
for key, val in h_uv.items():
self._edge_frame[key] = val