dgl.distributed.load_partition_book๏ƒ

dgl.distributed.load_partition_book(part_config, part_id)[source]๏ƒ

Load a graph partition book from the partition config file.

Parameters:
  • part_config (str) โ€“ The path of the partition config file.

  • part_id (int) โ€“ The partition ID.

Returns:

  • GraphPartitionBook โ€“ The global partition information.

  • str โ€“ The graph name

  • dict โ€“ The node types

  • dict โ€“ The edge types