GraphShard

class GraphShard(shard_edges_features: ShardEdgesAndFeatures, src_range: Tuple[int, int], tgt_range: Tuple[int, int], edge_type_names)

Encapsulates information for all edges incoming from one partition to the local partition.

Parameters:
  • shard_edges_features (ShardEdgesAndFeatures) – Edges with global node ids and edge features for all edges incoming from one remote partition

  • src_range (Tuple[int, int]) – The global start and end indices for nodes in the source partition from which the edges originate

  • tgt_range (Tuple[int, int]) – The global start and end indices for the nodes in the local partition

  • edge_type_names – List of edge type names