code: def __init__(self, path):
      self._num_nodes = np.load(os.path.join(path, "num_nodes.npy"))
      self._node_types = np.load(
          os.path.join(path, "node_types.npy"), allow_pickle=True
      )
  
      with open(os.path.join(path, "edge_types.pkl"), "rb") as f:
          self._edge_types = pkl.load(f)
  
      with open(os.path.join(path, "nodes_type_dict.pkl"), "rb") as f:
          self._nodes_type_dict = pkl.load(f)
  
      self._multi_graph = {}
      for e_type in self._edge_types:
          sub_path = os.path.join(path, e_type)
          self._multi_graph[e_type] = MemmapGraph(sub_path)
  
imports: import os
  import time
  import numpy
  import pickle
  import time
  import pgl.graph_kernel
  from pgl.graph import Graph, MemmapGraph
label_desc: Use image node_id 1 to create a new MemmapHeterGraph object from inherited base classes: HeterGraph with example: obj = MemmapHeterGraph(path)