code: def __init__(self, num_clusters, graph, shuffle=True):
      self.subgs = list(
          random_partition_v2(num_clusters, graph, shuffle)
      )
      self.shuffle = shuffle
  
file_path: PGL/ogb_examples/nodeproppred/ogbn-proteins/unimp_cross_feat/partition.py
imports: import numpy
  import math
  from pgl.sample import extract_edges_from_nodes
label_desc: Use image node_id 1 to create a new RandomPartition object from inherited base classes: object with example: obj = RandomPartition(num_clusters, graph, shuffle)