code: def get_top10(val_hr):
      buf_size = 1000
      rets = []
      args_arr = [
          start for start in range(0, val_hr.shape[0], buf_size)
      ]
      with Pool(20) as p:
          rets = p.map(func, args_arr)
      return np.concatenate(rets, 0)
  
file_path: PGL/examples/kddcup2021/WikiKG90M/post_smoothing/get_score.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 5 for calling a global function with example usage: get_top10(val_hr) and returns: np