From partition id to global edge IDs Parameters ---------- partid : int partition id etype : str or (str, str, str) The edge type Returns ------- tensor edge IDs
(self, partid, etype)
| 379 | """ |
| 380 | |
| 381 | def partid2eids(self, partid, etype): |
| 382 | """From partition id to global edge IDs |
| 383 | |
| 384 | Parameters |
| 385 | ---------- |
| 386 | partid : int |
| 387 | partition id |
| 388 | etype : str or (str, str, str) |
| 389 | The edge type |
| 390 | |
| 391 | Returns |
| 392 | ------- |
| 393 | tensor |
| 394 | edge IDs |
| 395 | """ |
| 396 | |
| 397 | def nid2localnid(self, nids, partid, ntype): |
| 398 | """Get local node IDs within the given partition. |
no outgoing calls