code: def load_emb(entity_emb, path):
      entity_num = 87143637
      paths = glob(args.data_path + "/*")
      with Pool(20) as p:
          rets = p.map(process_func, paths)
      data = np.zeros((entity_num, 768), dtype=np.float16)
      for ret in rets:
          for idx, value in ret:
              data[idx] = value
      np.save(path, data)
      return data
  
file_path: PGL/examples/kddcup2021/WikiKG90M/post_smoothing/dump_npy.py
imports: import numpy
  from glob import glob
  from tqdm import tqdm
  import sys
  import argparse
  import logging
  from multiprocessing import Pool
label_desc: Use image node_id 2 for calling a global function with example usage: load_emb(entity_emb, path) and returns: data