code: def load_graph(self, graph_data_path):
      self.graph = pgl.graph.MemmapGraph(graph_data_path)
      self.alias = np.load(
          os.path.join(graph_data_path, "alias.npy"), mmap_mode="r"
      )
      self.events = np.load(
          os.path.join(graph_data_path, "events.npy"), mmap_mode="r"
      )
      # self.term_ids = np.load(os.path.join(graph_data_path, "term_ids.npy"), mmap_mode="r")
      self.term_ids = self.graph.node_feat["term_ids"]
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  from __future__ import absolute_import
  import os
  import pgl
  import sys
  import numpy
  from pgl.utils.logger import log
  from dataset.base_dataset import BaseDataGenerator
  from pgl.sample import alias_sample
  from pgl.sample import pinsage_sample
  from pgl.sample import graphsage_sample
  from pgl.sample import edge_hash
label_desc: Use image node_id 2 for calling the GraphGenerator obj's underlying member method code with example usage: obj.load_graph(graph_data_path) without return types